Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Bug with really_input under cygwin
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Zidlicky <rz@l...>
Subject: Re: [Caml-list] Bug with really_input under cygwin
On Tue, Mar 09, 2004 at 08:10:09PM -0800, David Brown wrote:
> 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.

it was never true in DOS, it was in CP/M


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: