FIXED: File size in binary mode not always correct

Post bug reports when testing beta versions here.
Post Reply
User avatar
vha
Posts: 1080
Joined: 27 Jun 2007 21:34
Location: Belgium

FIXED: File size in binary mode not always correct

Post 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
destiny_child
Posts: 10
Joined: 06 Oct 2015 15:30
Location: Russia

Re: File size in binary mode not always correct

Post 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.
User avatar
vha
Posts: 1080
Joined: 27 Jun 2007 21:34
Location: Belgium

Re: File size in binary mode not always correct

Post 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
User avatar
Rickard Johansson
Site Admin
Posts: 6625
Joined: 19 Jul 2006 14:29

Re: File size in binary mode not always correct

Post by Rickard Johansson »

It's been fixed. Thanks!
Post Reply