Re: emelfm2 can't sort files bigger than 4GB

On Thu, 13 Nov 2008 23:53:05 +0900 (JST)
UTUMI Hirosi <utuhiro78@xxxxxxxxxxx> wrote:

> emelfm2-0.5.0 can't sort files bigger than 4GB.
> Check this movie please.
> $ wget http://www.geocities.jp/ep3797/snapshot/tmp/emelfm2_wrong_size_sort.ogg
> $ mplayer emelfm2_wrong_size_sort.ogg

Interesting. First examination suggests this might be a gtk issue.

Sort-order is determined by one of those functions that must return <0, 0 or >0 
depending on desired order, and the returned value is derived simply by 
subtracting the respective file-sizes provided by the stat() function. Both 
those sizes are 64-bit values.

If so, workaround is easy, though it slows the sorting a bit.

I don't have ready access to any such big file, to test. Are you able to apply 
and test a patch or two ?


> 
> And another small problem:
> $ tar jxf emelfm2-0.5.0.tar.bz2
> It generates "emelfm2-0.5".
> "emelfm2-0.5.0" is better for package maintainers.

Indeed. I'll ask tooar to update the release script.

Regards
Tom


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: