X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Sat, 08 Dec 2001 10:00:21 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: mghidella AT mail DOT abaconet DOT com DOT ar Message-Id: <2950-Sat08Dec2001100020+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3C117177.76B87214@mail.abaconet.com.ar> (message from Marta Ghidella on Fri, 07 Dec 2001 22:48:39 -0300) Subject: Re: fortran References: <3C0FB699 DOT 5BB2543 AT dna DOT gov DOT ar> <2110-Thu06Dec2001213938+0200-eliz AT is DOT elta DOT co DOT il> <3C117177 DOT 76B87214 AT mail DOT abaconet DOT com DOT ar> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Fri, 07 Dec 2001 22:48:39 -0300 > From: Marta Ghidella > > The program creates an unformatted sequential file, apparently without > problems, but I see it has 4137 bytes instead of 4136 as it should. Does the extra character have the code of the CR character, 0Dh, and does it follow a character whose code is 0Ah? If so, this would mean that there's some bug in the g77 library, which causes it to fail to open files in binary mode when you use 'unformatted'. You could use some hex-dump utility, such as `od' (from GNU Textutils) to find out the answer to the question I asked.