From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA10290; Wed, 10 Mar 2004 05:10:48 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA10843 for ; Wed, 10 Mar 2004 05:10:46 +0100 (MET) Received: from mail.davidb.org (adsl-64-172-240-129.dsl.sndg02.pacbell.net [64.172.240.129]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i2A4AjHd021018 for ; Wed, 10 Mar 2004 05:10:46 +0100 Received: from davidb by mail.davidb.org with local (Exim 3.36 #1 (Debian)) id 1B0v2n-0007Ey-00; Tue, 09 Mar 2004 20:10:09 -0800 Date: Tue, 9 Mar 2004 20:10:09 -0800 From: David Brown To: skaller Cc: Eric Dahlman , caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Bug with really_input under cygwin Message-ID: <20040310041009.GA27787@davidb.org> References: <51FE3429-7219-11D8-8BF5-000393914EAA@atcorp.com> <1078888018.2452.52.camel@pelican.wigram> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1078888018.2452.52.camel@pelican.wigram> User-Agent: Mutt/1.5.4i X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 caml-list:01 bug:01 cygwin:01 2004:99 1100,:01 latin-:01 scattered:01 byte:01 byte:01 dave:03 wrote:03 encoding:04 uses:06 blocks:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 103 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