Subject: Re: Strange open & f/stat behavior in 1.6Q
To: Steve Foster <steve@devidian.me.uk>
From: Robert Elz <kre@munnari.OZ.AU>
List: port-sparc
Date: 04/17/2003 15:55:54
Date: Thu, 17 Apr 2003 09:45:19 +0100
From: Steve Foster <steve@devidian.me.uk>
Message-ID: <20030417084519.GA11897@devidian.devidian.me.uk>
| OK so I'm probably going mad but I think that fstat and stat aren't
| working correctly within 1.6Q
But somehow ls & du are ? I doubt it...
| The following test code should return the size of /etc/hosts:
I bet that's on a big-endian host (of course, port-sparc...). You need
to check your data types and printf formats and make sure they're compatible
(and since there are only two printf formats in that code, that should be
pretty easy to do).
kre