Mercurial > vim
view src/if_sniff.h @ 2961:c21429d7768c v7.3.253
updated for version 7.3.253
Problem: "echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'.
Checks in mb_strnicmp() for illegal and truncated bytes are
wrong. Should not assume that byte length is equal before case
folding.
Solution: Add utf_safe_read_char_adv() and utf_strnicmp(). Add a test for
this. (Ivan Krasilnikov)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 15 Jul 2011 21:16:59 +0200 |
parents | 073ff46fe397 |
children | 1a5d34492798 |
line wrap: on
line source
/* * if_sniff.h Interface between Vim and SNiFF+ */ #ifndef __if_sniff_h__ #define __if_sniff_h__ extern int want_sniff_request; extern int sniff_request_waiting; extern int sniff_connected; extern int fd_from_sniff; extern void sniff_disconnect __ARGS((int immediately)); extern void ProcessSniffRequests __ARGS((void)); extern void ex_sniff __ARGS((exarg_T *eap)); #endif