Skip to contentSkip to conversation

weird bash autocomplete issue

DISCUSSION [email protected] 1 participant 1 message Dec 19, 2008 Btrfs file system

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

Sure, would be good to have that fixed. Cc: [email protected] in the bug, and I will move it directly to the right guy. :)

ok, just submitted.

https://bugzilla.novell.com/show_bug.cgi?id=3D460560

regards
roland

Quoted 5 lines

-----Urspr=FCngliche Nachricht-----
Von: "Kay Sievers" <[email protected]>
Gesendet: 19.12.08 02:27:34
An: [email protected]
CC: "Chris Mason" <[email protected]>, "[email protected]=

=2Eorg" <[email protected]>

Quoted 23 lines

Betreff: Re: weird bash autocomplete issue

Quoted 19 lines · On Fri, Dec 19, 2008 at 01:59, <[email protected]> wrote:
Quoted 3 lines

I see the same issue on x86 32 bit, with the additional __llseek() between the getdents64(), and the last entry returned by readdir ignored.

confirmed - it`s readdir which assumes 32bit.

attached is a sample program which shows the issue on my system.

if compiled with -D_FILE_OFFSET_BITS=3D64", the problem goes away.

old posting from around 2001:

Quoted 5 lines

http://sourceware.org/ml/libc-alpha/2001-01/msg00216.html

This is why everybody will have to compile programs with _FILE_OFFSET_BITS=3D64. Did you ever notice that all GNU programs already do this?

as 32bit systems can use 64bit filesystems, i think btrfs is correc=

t and bash is wrong,

Quoted 1 line
Quoted 1 line

as it isn`t LFS aware. i think all 32bit stuff should be LFS aware,=

nowadays.

Quoted 2 lines
Quoted 2 lines

to be exact, it`s not bash but readline library which comes with ba=

sh.

Quoted 1 line
Quoted 1 line

bash configure script correctly checks for _FILE_OFFSET_BITS value,=

but readline configure script doesn`t.

Quoted 1 line
Quoted 1 line

this explains why i could not reproduce the issue when i build bash=

without readline support.

Quoted 9 lines
Quoted 2 lines

does it make sense to file a ticket at novell bugzilla ?

=20
Sure, would be good to have that fixed. Cc: [email protected] in the bug, and I will move it directly to the right guy. :) =20
Thanks,
Kay
=20

_______________________________________________________________________
Sensationsangebot verl=E4ngert: WEB.DE FreeDSL - Telefonanschluss + DSL f=FCr nur 16,37 Euro/mtl.!* http://dsl.web.de/?ac=3DOM.AD.AD008K15039B7=
069a

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html