in reply to How do I get correct file size for huge file under Win32?
Update: please ignore, read BrowserUk's explanation below instead. In my humble opinion that's a bug in perl, so please file a bug report for that.
It sounds like a typical integer overflow.
Maybe a workaround is to add 2**31 to negative sizes, but it's not a nice "solution" at all.
|
|---|