Browse thread
[Caml-list] Bug with really_input under cygwin
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | David Brown <caml-list@d...> |
| Subject: | Re: [Caml-list] Bug with really_input under cygwin |
On Wed, Mar 10, 2004 at 02:06:59PM +1100, skaller wrote: > In MS-DOS, files *always* consist of a number of 256 > byte blocks. It is impossible to have a file with > a non-256 byte multiple size. Of course, text files > uses an encoding with a Ctrl-Z at the end. So the length > of the file 'in bytes' is not the same as the length > of the file 'in Latin-1'. The number of lines in the > file isn't well defined: CR/LF marks end of line, > but what happens if the CR and LF are scattered randomly? Is this true with "modern" version of DOS? FAT has a length-in-bytes field in the directory entry. Dave Brown ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners