2008/12/17 Steve McIntyre <st...@einval.com>:
> Luca wrote:
>>2008/12/16 Luca Niccoli <lultimou...@gmail.com>:
>>
>>++file_filter(const struct dirent *dir)
>>++{
>>++      return (DT_REG == (DT_REG & dir->d_type)) ||
>>++             (DT_LNK == (DT_LNK & dir->d_type)) ;
>>++}
>>
>>But I use XFS, which seems to have some problems with d_type [1]
>>I'm not really sure this is the source of the problem, but I thought
>>it was worth giving a try...
>
> I don't know about the exact state today, but at least in the past
> many filesystems have not filled in d_type in readdir() calls. If you
> want to see the type of a filesystem object safely and portably,
> you'll need to call stat() or similar on each file.

I have uploaded libpam-ssh_1.92-4 to experimental which stat's the SSH
keys directly.  Unfortunately I have not had the time to test it on an
actual XFS system.
-- 
                                                    Jens Peter Secher.
_DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_.
A. Because it breaks the logical sequence of discussion.
Q. Why is top posting bad?


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to