bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: On darwin, diff <(echo ab) <(echo cd) does nothing


From: Paul Eggert
Subject: Re: On darwin, diff <(echo ab) <(echo cd) does nothing
Date: Sun, 21 Aug 2005 15:05:10 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Vincent Lefevre <address@hidden> writes:

> If there could be a Mac OS X workaround, like disabling the same_files
> test when the files are in /dev/fd, then this would be fine.

Unfortunately that would not be reliable in general, since there
might be a symbolic link to /dev/fd, or something else like that.

This is clearly a bug in MacOS X.  POSIX says that if two file
descriptions have the same st_dev and st_ino, then they must be the
same file.  Can you please file a bug report with the MacOS X folks?

In the meantime, how about if diff looks at the st_mtime too
(including the nanoseconds component)?




reply via email to

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