bug-grep
[Top][All Lists]
Advanced

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

[patch #5316] cannot search for a file if output is redirected to that f


From: Paul Eggert
Subject: [patch #5316] cannot search for a file if output is redirected to that file
Date: Thu, 14 Jul 2011 20:40:59 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.6.18-1.fc14 Firefox/3.6.18

Follow-up Comment #2, patch #5316 (project grep):

Many parts of coreutils assume st_dev/st_ino are reliable, e.g., SAME_INODE.

With multiple mounts (e.g., NFS) it's possible for the same file to have
different st_dev values.

GNU tar, on occasion, also looks at st_birthtime, which is a win on systems
that support it, as st_birthtime disambiguates the case when inode numbers are
reused.  gnulib/fts/coreutils should probably use st_birthtime too, if
available.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?5316>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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