Jari Salminen writes:
> 
> If the logfile is opened with just O_RDONLY, the multiline log message is
> stored correcly (I tested this with CVS 1.10.7):
> 
>       /* Handle logfile as normal text file without binary mode ... */
>       if ((logfd = CVS_OPEN (logfile, O_RDONLY)) < 0)

It's not that simple -- if the file is opened in text mode, there's no
guarantee that the following fstat will return the correct size, which
the following code depends on.  The whole thing needs to be rewritten
using standard C instead of Unix C.

-Larry Jones

That gives me a FABULOUS idea. -- Calvin

Reply via email to