From: dalitz AT ulm DOT netsurf DOT de (dalitz) Newsgroups: comp.os.msdos.djgpp Subject: Re: Strange behavior of fread (Thanks) Date: Tue, 01 Dec 1998 19:36:49 GMT Organization: eXtension GmbH, Germany Lines: 9 Message-ID: <36644510.1049579@news.extension.net> References: <36630cd2 DOT 17414449 AT news DOT extension DOT net> NNTP-Posting-Host: news.extension.net X-Newsreader: Forte Free Agent 1.11/32.235 Cache-Post-Path: ns1.xtension.net!unknown AT dyn6 DOT ulm DOT netsurf DOT de X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thank you for your comments. You are absolutely right. I checked that simply by running the code on the HP/UX machine where it worked like expected. Sorry. I should have had that endian stuff in mind. Seems to me that I was a captured in the intel world far too long. Thanks again. I have to go and swap some bytes now. Dalitz.