GNU bug report logs - #19509
[PATCH] diff: treat fifos as identical

Previous Next

Package: diffutils;

Reported by: Ondřej Svoboda <ondrej <at> svobodasoft.cz>

Date: Sun, 4 Jan 2015 21:24:03 UTC

Severity: normal

Tags: notabug, patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Ondřej Svoboda <ondrej <at> svobodasoft.cz>,  19509 <at> debbugs.gnu.org
Subject: bug#19509: [bug-diffutils] bug#19509: [PATCH] diff: treat fifos as identical
Date: Wed, 11 Feb 2015 15:30:49 -0800
Ondřej Svoboda wrote:
>       }
> +      else if (S_ISFIFO (cmp.file[0].stat.st_mode)
> +               && S_ISFIFO (cmp.file[0].stat.st_mode))
> +    {
> +      /* Both are fifos.  */
> +    }

If they're the *same* fifo, they should compare the same (and already do, if I'm 
not mistaken).  But if they're *different* fifos?




This bug report was last modified 8 years and 15 days ago.

Previous Next


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