patch 7.4.1433
Problem: The Sniff interface is no longer useful, the tool has not been
available for may years.
Solution: Delete the Sniff interface and related code.
diff --git a/src/ui.c b/src/ui.c
index 891da1b..be5d8c5 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1627,7 +1627,7 @@
#if defined(FEAT_GUI) \
|| defined(FEAT_MOUSE_GPM) || defined(FEAT_SYSMOUSE) \
|| defined(FEAT_XCLIPBOARD) || defined(VMS) \
- || defined(FEAT_SNIFF) || defined(FEAT_CLIENTSERVER) \
+ || defined(FEAT_CLIENTSERVER) \
|| defined(PROTO)
/*
* Add the given bytes to the input buffer
@@ -1772,17 +1772,7 @@
inbufcount = 0;
# else
-# ifdef FEAT_SNIFF
- if (sniff_request_waiting)
- {
- add_to_input_buf((char_u *)"\233sniff",6); /* results in K_SNIFF */
- sniff_request_waiting = 0;
- want_sniff_request = 0;
- return;
- }
-# endif
-
-# ifdef FEAT_MBYTE
+# ifdef FEAT_MBYTE
if (rest != NULL)
{
/* Use remainder of previous call, starts with an invalid character
@@ -1806,7 +1796,7 @@
}
else
unconverted = 0;
-#endif
+# endif
len = 0; /* to avoid gcc warning */
for (try = 0; try < 100; ++try)