* Robert Edmonds <[EMAIL PROTECTED]> [070822 00:29]:
> Bernhard R. Link wrote:
> > I like this. Added. Though a bit differently implemented.
> > - no need to make things more complex and portable, when inotify is yet
> >  quite linux only, thus just using d_type in dirent instead of stat
> >  calls.
> 
> Hm, I did this to aid compatibility with etch, actually.  ISTM that
> etch's glibc, unlike the glibc in sid, puts DT_UNKNOWN rather than
> DT_REG in d_type.

Strange, I get DT_REG here (etch, i386).

|> /lib/libc.so.6
|GNU C Library stable release version 2.3.6, by Roland McGrath et al.
|Copyright (C) 2005 Free Software Foundation, Inc.
|This is free software; see the source for copying conditions.
|There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
|PARTICULAR PURPOSE.
|Compiled by GNU CC version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
|Compiled on a Linux 2.6.18 system on 2007-07-30.
|Available extensions:
|        GNU libio by Per Bothner
|        crypt add-on version 2.1 by Michael Glad and others
|        GNU Libidn by Simon Josefsson
|        linuxthreads-0.10 by Xavier Leroy
|        BIND-8.2.3-T5B
|        libthread_db work sponsored by Alpha Processor Inc
|        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
|Thread-local storage support included.
|For bug reporting instructions, please see:
|<http://www.gnu.org/software/libc/bugs.html>.

> E.g., the following very simple test...

This only outputs DT_REG and never DT_UNKNOWN here...
(both on nfs-mounted and on local filesystem, both ext3, I think)

Hochachtungsvoll,
        Bernhard R. Link


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to