[Slackbuilds-users] pdksh weirdness, very strange bug
thomas at beingboiled.info
Wed Feb 24 19:05:17 UTC 2010
Am Mittwoch 24 Februar 2010 19:14:47 schrieb LEVAI Daniel:
> If a file's size is exactly 2GiB or more, pdksh fails to complete its
> name during filename completion (eg.: hitting TAB or CTRL+e or
> whatever). If the file's size is just one byte short of the 2 gigs,
> then the completion works fine.
I can't really test it right now, but my guess is that the stat()-call
in edit.c line 595 fails and that you should add something like "-
D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" to the compiler flags when
you're compiling for i486.
More information about the SlackBuilds-users