emelfm doesn't display file sizes for files over 2GB in size correctly (it wraps into negative values). From a quick look at the source, the st_size member of struct stat is where the size is taken from. Defining _FILE_OFFSET_BITS=64 during compilation should cause the 64-bit version of the stat functions and structs to be used, which should fix the problem. I've checked this and it seems to work without breaking anything else. Reproducible: Always Steps to Reproduce: 1. emerge emelfm 2. View a directory containing a file of over 2GB in size, and check the filesize column. 3.
Created attachment 48680 [details, diff] Fixes display of filesize for >2GB files
Must have the wrong person :-) Sending to bug wranglers.
this is fixed upstream and can be closed
(In reply to comment #3) > this is fixed upstream and can be closed > ok then :)