View Single Post
Old 09 April 2024, 14:28   #47
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,300
Quote:
Originally Posted by Don_Adan View Post
Sorry, but this long can be -1. It will break nothing.
How do you know? I don't. It is a negative file size. Whatever that will mean to some programs.



Quote:
Originally Posted by Don_Adan View Post
For old programs it can show wrong size and nothing else.
You seem to assume that this size is just used for display purposes, but that might be wrong. It could be used to estimate the amount of buffering required to copy a file, just to give one example - and that could be outright wrong. It could be outright confusing - -1 divided by the block size, well, probably rounded up - zero buffers required - boom.


Quote:
Originally Posted by Don_Adan View Post
Everything can be done.


But not everything can be done without breaking something. That is a design "based on assumptions", but whether that may be true or not ... who knows. I do not claim that I would know.
Thomas Richter is offline  
 
Page generated in 0.05714 seconds with 11 queries