Is there anyone who knows about how files are stored on disk in Windows?

At the moment, analog on Windows stops processing logfiles if a CTRL-Z
(ASCII 26) character is reached, because this signifies end-of-file for
a text file. Sometimes logfiles get some junk in and then the file can be
terminated prematurely.

Because of this, I am considering opening files as binary rather than as
text on Windows. I can cope with the CRLF -> LF conversion, but what I
don't know is whether this will have any other undesirable side effects.
In particular, will I miss some genuine ends-of-files and start reading past
the end?

Anyone know about this stuff, or know how I can find out?

Thanks,

-- 
Stephen Turner    [EMAIL PROTECTED]    http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Ad infinitum, if not ad nauseam." (Interviewee, BBC Radio 4)

--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Reply via email to