I don't have this problem in 5.8.0, and unfortantly cannot upgrade the AIX box at this time... Are there any other ways to retreive the file size other then "-s" and stat ???
UPDATE: "stat" actually returns the same results as -s on 5.005_3
It's a strange environment you work in, if you can't replace
buggy software where to bug make your programs fail.
I wonder, if your monitor breaks, it won't be replaced either?
Anyway, if you can't use -s or stat, you could always open
the file, seek to the end, and use tell(). Of course, that
might be broken too.