bug-grep
[Top][All Lists]
Advanced

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

bug#32943: grep pattern < fifo fails on Cygwin (and MinGW), but not on L


From: Paul Eggert
Subject: bug#32943: grep pattern < fifo fails on Cygwin (and MinGW), but not on Linux
Date: Sat, 6 Oct 2018 13:12:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Houder wrote:
I applied strace to "grep . < fifo", and as far as I can tell "an lseek
is applied to the fifo", which obviously fails.

The "lseek" occurs on Cygwin (and MinGW?), but not on Linux

That's expected, as the code needs to run lseek in some places on Cygwin where it's not needed on GNU/Linux.

My guess is that you've got an old version of grep on Cygwin, and need to upgrade to the current version. If you still have problems with the latest version, please investigate via GDB and/or other means exactly why grep is failing for you. The strace output isn't enough, unfortunately.





reply via email to

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