GNU bug report logs - #67541
diff -r reporting two fifos as somehow different

Previous Next

Package: diffutils;

Reported by: kevin dankwardt <kevin.dankwardt <at> gmail.com>

Date: Thu, 30 Nov 2023 03:15:02 UTC

Severity: normal

To reply to this bug, email your comments to 67541 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#67541; Package diffutils. (Thu, 30 Nov 2023 03:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to kevin dankwardt <kevin.dankwardt <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Thu, 30 Nov 2023 03:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: kevin dankwardt <kevin.dankwardt <at> gmail.com>
To: bug-diffutils <at> gnu.org
Subject: diff -r reporting two fifos as somehow different
Date: Wed, 29 Nov 2023 18:56:16 -0800
[Message part 1 (text/plain, inline)]
Reproduce:

$ mkdir /tmp/a.dir

$ mkdir /tmp/b.dir

$ mkfifo /tmp/a.dir/afifo

$ mkfifo /tmp/b.dir/afifo

$ diff -r /tmp/a.dir /tmp/b.dir

*File /tmp/a.dir/afifo is a fifo while file /tmp/b.dir/afifo is a fifo*
[Message part 2 (text/html, inline)]

Information forwarded to bug-diffutils <at> gnu.org:
bug#67541; Package diffutils. (Thu, 30 Nov 2023 04:33:01 GMT) Full text and rfc822 format available.

Message #8 received at 67541 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: kevin dankwardt <kevin.dankwardt <at> gmail.com>, 67541 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#67541: diff -r reporting two fifos as somehow
 different
Date: Wed, 29 Nov 2023 20:32:36 -0800
On 11/29/23 18:56, kevin dankwardt wrote:
> Reproduce:
> 
> $ mkdir /tmp/a.dir
> 
> $ mkdir /tmp/b.dir
> 
> $ mkfifo /tmp/a.dir/afifo
> 
> $ mkfifo /tmp/b.dir/afifo
> 
> $ diff -r /tmp/a.dir /tmp/b.dir
> 
> *File /tmp/a.dir/afifo is a fifo while file /tmp/b.dir/afifo is a fifo*

I'm not sure I see this as a bug, as they are different fifos. If they 
were opened and read they'd likely have different contents, though it 
wouldn't be a good idea for diff -r to open fifos.

Perhaps the diagnostic message could be improved, though I'm not sure 
what the improved wording would be.





This bug report was last modified 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.