Follow-up Comment #2, bug #46815 (project findutils): Hi James,
Thanks for your quick response! Before I decided to submit this report I checked out the current version of GNU findutils as recommended on the project's website. The code for comparing file sizes, which I've quoted in the report, is nearly 16 years old. Hence I wasn't sure which version to choose from the drop-down list because the oldest selectable one (4.1.7) has been released one year after the commit and so *all* versions are affected. Sorry that I didn't read the description you've quoted from the manpage. The file has been changed only 5 days before my bug report - I didn't noticed the change. I still wonder about the way GNU find compares file sizes. Rounding up an one byte sized file to one gigabyte, for example, doesn't seem to be the way an average user expects. I discussed this topic with various persons before I opened the ticket. Everyone was very surprised that GNU find rounds up the size to the specified unit. I also tested the find implementations of FreeBSD and Busybox. As you can see both commands don't round up: * https://svnweb.freebsd.org/base/head/usr.bin/find/function.c?view=markup#l1457 * https://git.busybox.net/busybox/tree/findutils/find.c#n1326 I would be glad if someone could state a reasonable use-case where rounding up makes sense, because I can't find one. Kind regards & many thanks in advance, Sebastian _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46815> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.gnu.org/