1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2016-02-27 18:13:23 +01:00
parent 4d1961783f
commit 85b11769ab
30 changed files with 26 additions and 1646 deletions

View File

@@ -1627,7 +1627,7 @@ set_input_buf(char_u *p)
#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 @@ fill_input_buf(int exit_on_error UNUSED)
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 @@ fill_input_buf(int exit_on_error UNUSED)
}
else
unconverted = 0;
#endif
# endif
len = 0; /* to avoid gcc warning */
for (try = 0; try < 100; ++try)