GNU bug report logs - #36455
Question on reading from socket(pair) instead from pipe

Previous Next

Package: grep;

Reported by: "Dr. Werner Fink" <werner <at> suse.de>

Date: Mon, 1 Jul 2019 06:23:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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: "Dr. Werner Fink" <werner <at> suse.de>, 36455 <at> debbugs.gnu.org
Subject: bug#36455: Question on reading from socket(pair) instead from pipe
Date: Mon, 1 Jul 2019 01:17:41 -0700
Dr. Werner Fink wrote:
> IMHO reading data from a FIFO/pipe or from a FSOCK/socket(pair) should result
> in the same result.

Yes it should, but only if you invoke 'grep' with the same arguments both times, 
which I expect you didn't. Look at the two execve lines in the strace output.




This bug report was last modified 5 years and 328 days ago.

Previous Next


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