Kevin
The only difference in snprintf and sprintf is what happens when you
get a string that's too long. As long as you don't use filenames that
are 8000 characters long or other weird situations you should be fine.
Kevin
Anyway, I think for snprintf issue you should add to util.cpp:
#ifdef WIN32
#define snprintf _snprintf
#endif
For the isatty issue the easiest thing to do is to replace the trouble
line with:
b->yy_is_interactive = 0;
Both of these should be considered bugs. I don't know how to get at
the root of the second problem (since cygwin lex is generating the
problem code).
Kevin