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: Sat, 20 Aug 2005 23:07:22 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Vincent Lefevre <address@hidden> writes:

>  28804 diff     CALL  stat(0xbfffecf1,0xbfffe8d8)
>  28804 diff     NAMI  "/dev/fd/15"
>  28804 diff     RET   stat 0
>  28804 diff     CALL  stat(0xbfffecfc,0xbfffe98c)
>  28804 diff     NAMI  "/dev/fd/16"
>  28804 diff     RET   stat 0
>  28804 diff     CALL  close(0x1)
>  28804 diff     RET   close 0
>  28804 diff     CALL  exit(0)

This makes it look like "diff" invoked stat on /dev/fd/15 and
/dev/fd/16, discovered that they were the same device and inode
number, and then decided that they were the same file.  Or something
like that.  That would explain the behavior.  (It would also suggest a
kernel or filesystem bug....)

Can you ask for more details from kdump, so that we can see what
the struct stat values were here?




reply via email to

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