Bram >>> The source archive >>> >>> ftp://ftp.vim.org/pub/vim/pc/vim70src.zip >>> >>> contains the file if_sniff.h but not the corresponding source file >>> if_sniff.c. Has this a specific reason or has if_sniff.c simply been >>> forgotten? >>> > The Sniff interface is something extra, you need to get it from the > extra archive. That's how it is. > Hmmm ...
1. The extra archive mainly consists on platform specific files and on sub projects like tee, xxd or testdir. Some of the sub projects are included in the pc archive (xxd, testdir), others are not (tee). Well, for my compilations, I use tee too, but get it from the gnuwin32 project. Now, sniff.c is whether platform specific nor a sub project, but is an optional component of Vim, probably similar to fold.c. I have no big knowledge about Vim and its source, but it's not easy to me to see why sniff.c logically belongs into the extra archive, while sniff.h is in the source archive. 2. But there is a practical reason too why this item keeps me busy: If I set SNIFF=yes within Make_mvc.mak, I get an error message from the linker that a certain module could not be found. For me as a silly Windows user it needs some time to find out - that this is due to a missing file - that this file can be found in the extra archive for unix - that this is a feature and not a bug, so I must not give up Besides of this, I can't refrain to summarise my experiences like that: With the unique exception of patch.exe from gnuwin32 where I needed to apply the switch --binary, all other build tools (e.g. from Microsoft VS2005) didn't have any problems with unix style line ends (LF) instead of dos style line ends (CRLF). So it is almost easier to work with the unix .tar.gz archives than with the .zip archives that are kindly supplied for Windows and Dos users. Best regards Mathias