Hi !

I found why the c.re scanner does not work properly
on win32.

If you open/process a file, with the low level i/io functions,
ie: open, read, ..., you must specify the _O_BINARY flag.

I did not verify this, but i think the cr/lf processing
on text files, does somewhat make the number of bytes 
read different with the number of bytes actualy 
available in the buffer.

But, i does correct the problem (tested).

SD




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Re2c-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/re2c-general

Reply via email to