|
![](/i/fill.gif) |
On Tue, 1 Feb 2000 20:33:49 -0500, Nathan Kopp wrote:
>Not much different. Part of it is to use ftell twice to determine the
>length of the macro. But the problem is that fread() reads a single byte
>for CR+LF (converts two to '\n'), but ftell()-ftell() will give two bytes
>for CR+LF. Unfortunately, this does not always happen and is not at all
>consistent across operating systems or even compilers on the same OS.
With all the problems CR/LF/CRLF cause us, why don't we just open the
scene files in binary mode?
--
These are my opinions. I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html
Post a reply to this message
|
![](/i/fill.gif) |