[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference
From: |
Voelker, Bernhard |
Subject: |
RE: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference |
Date: |
Mon, 11 Jan 2010 08:06:38 +0100 |
Jim Meyering wrote:
> Volker, you can diagnose this by stepping through ls.c's print_dir
> function, doing "print *next" for each entry.
see attached.
> One of those three will be the entry for d/s (others are usually
> "." and "..") and we care about the direct.d_type member.
Strangely, I got one for ".", "..", and one "" (d_name = '\0').
> You can see that 10 corresponds to DT_LNK:
>
> (gdb) p (int)DT_LNK
> $5 = 10
I got the same:
(gdb) print (int)DT_LNK
$7 = 10
> Since the code appears to work as intended with DT_DIR, perhaps
> your system (or file system) lacks DT_LNK support?
How can I check?
Thank you and have a nice day,
Berny
cu-8.3-ls-gdb.log
Description: cu-8.3-ls-gdb.log
- coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Voelker, Bernhard, 2010/01/08
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Eric Blake, 2010/01/08
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Jim Meyering, 2010/01/08
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Jim Meyering, 2010/01/09
- RE: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference,
Voelker, Bernhard <=
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Jim Meyering, 2010/01/11
- RE: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Voelker, Bernhard, 2010/01/11
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Jim Meyering, 2010/01/11
- RE: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Voelker, Bernhard, 2010/01/11
Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Pádraig Brady, 2010/01/08
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Eric Blake, 2010/01/08
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Pádraig Brady, 2010/01/08
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Eric Blake, 2010/01/12
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Pádraig Brady, 2010/01/12
- Re: coreutils-8.3: test failed: ls/stat-dtype and touch/no-dereference, Jim Meyering, 2010/01/12