bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: [bug #17877] Invalid "No such file or directory" error on files


From: Miklos Szeredi
Subject: Re: Fwd: [bug #17877] Invalid "No such file or directory" error on filesystem without stable inode numbers
Date: Fri, 06 Oct 2006 11:18:42 +0200

Looking at the strace there seems to be some other room for
optimization:

> open("a", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
> fstat64(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0

Seems unnecessary, unless find was given -exec argument.

> fstat64(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

Duplicate.

Miklos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]