[Slackbuilds-users] pdksh weirdness, very strange bug

LEVAI Daniel leva at ecentrum.hu
Wed Feb 24 19:13:54 UTC 2010


On Wed, Feb 24, 2010 at 08:05:17PM +0100, Thomas Morper wrote:
> 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.
Thanks you sir, that was exactly the problem; the -D_FILE_OFFSET_BITS=64
did the trick.


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1


More information about the SlackBuilds-users mailing list