in reply to Re: file size test on 5.005_3?
in thread file size test on 5.005_3?

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

Replies are listed 'Best First'.
Re: file size test on 5.005_3?
by Abigail-II (Bishop) on Oct 15, 2003 at 21:34 UTC
    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.

    Abigail