in reply to Re^5: Filesize (-s) is consistenly reporting too small of size in Win32
in thread Filesize (-s) is consistenly reporting too small of size in Win32

I agree. But the file wasn't being changed between filesize tests. If I were on the otherside of this, I'd assume the user is an idiot and that they made a dumb user error. I may have, but I haven't found it yet. If I do find such a thing, I'll come back and note it just in case some other poor sap does the same dumb thing. Until then, it's a mystery to me.

Just FYI: My WinXP environment is running on VMware Server using a virtual hard disk (not hosted on a remote share or anything) hosted on a Linux server. I doubt that it affects this... and I certainly hope it doesn't. I'd rather hope I'm just an idiot and that I missed something obvious. Time will tell.


Nature is not cruel, pitiless, indifferent. This is one of the hardest lessons for humans to learn. We cannot admit that things might be neither good nor evil, neither cruel nor kind, but simply callous — indifferent to all suffering, lacking all purpose.
- Richard Dawkins
  • Comment on Re^6: Filesize (-s) is consistenly reporting too small of size in Win32

Replies are listed 'Best First'.
Re^7: Filesize (-s) is consistenly reporting too small of size in Win32
by almut (Canon) on Jan 17, 2009 at 13:25 UTC

    It might also be a hardware problem. I once had all kinds of similar weirdnesses that eventually turned out to be a simple hardware issue. The entire case story would be too long to tell, but the upshot of it is just this: you wouldn't believe what weird effects a slowly dying power supply with the occasional associated bit errors in RAM may produce...  (and our minds are very good at trying to put meaning into the (sometimes random) coincidences we observe :)

Re^7: Filesize (-s) is consistenly reporting too small of size in Win32
by wilsond (Scribe) on Jan 17, 2009 at 12:35 UTC

    Maybe something to add to the conversation: I keep getting wperl.exe crashes randomly now. I think maybe my filesystem is dying or something equally terrible is going on. Either it's a coincidence or it's part of the cause.


    If you want to do evil, science provides the most powerful weapons to do evil; but equally, if you want to do good, science puts into your hands the most powerful tools to do so.
    - Richard Dawkins