Page 1 of 1

FIXED: File size in binary mode not always correct

Posted: 07 Oct 2015 14:25
by vha
Using 10.70 b2 64bit on Win10 64bit

I open an executable file of 508928 bytes

This end of file in hex in TextED however shows almost double that size


vha

Re: File size in binary mode not always correct

Posted: 10 Oct 2015 13:54
by destiny_child
i think it would be very nice and useful if you could attach this exe to this post. so all persons can test this behavior.

Re: File size in binary mode not always correct

Posted: 10 Oct 2015 14:11
by vha
Just took a random dll file in C:\Windows\System32 (C:\Windows\System32\AudioSes.dll):
- When putting the mouse cursor on the file tab, it told me the file was exactly 1.000.000 bytes
- dir C:\Windows\System32\AudioSes.dll gave me 527.952 bytes

Other files were also wrong:

- C:\Windows\System32\audioeng.dll: 1.000.000 instead of 501.008
- C:\Windows\System32\audiosrv.dll: 1.500.000 instead of 1.067.520
- C:\Windows\System32\audiosrv.dll: 1.500.000 instead of 1.067.520
...

Really easy to reproduce and looks like files bigger than 500.000 bytes cause the problem

vha

Re: File size in binary mode not always correct

Posted: 10 Oct 2015 20:44
by Rickard Johansson
It's been fixed. Thanks!