[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep-dir test
From: |
Eli Zaretskii |
Subject: |
Re: grep-dir test |
Date: |
Mon, 19 Dec 2011 22:24:14 +0200 |
> Date: Mon, 19 Dec 2011 11:09:30 -0700
> From: Eric Blake <address@hidden>
> CC: address@hidden
>
> Gnulib is able to emulate fopen(".", "r") with sane semantics on mingw
> (by opening the null device under the hood, so that any actual fread()
> of the FILE* will return immediate EOF); but it looks like grep is not
> using that gnulib module.
Thanks. FWIW, it doesn't look like anyone cares about Grep working on
Windows as a native program, because the simplest commands, something
like "grep -R foo .", cause Grep to emit an error message and quit (I
already fixed this in my sandbox). But that's not due to the issue
being discussed, and opening the null device won't help here.
Anyway, opening the null device would simply emulate an empty file,
which is why I asked what was the purpose of using a directory for the
search pattern instead of using an empty file.
- grep-dir test, Eli Zaretskii, 2011/12/19
- Re: grep-dir test, Paul Eggert, 2011/12/19
- Re: grep-dir test, Eric Blake, 2011/12/19
- Re: grep-dir test,
Eli Zaretskii <=
- Re: grep-dir test, Eric Blake, 2011/12/19
- Re: grep-dir test, Eli Zaretskii, 2011/12/19
- Re: grep-dir test, Eli Zaretskii, 2011/12/20
- Re: grep-dir test, Paolo Bonzini, 2011/12/20
- Re: grep-dir test, Eli Zaretskii, 2011/12/20
- Re: grep-dir test, Paolo Bonzini, 2011/12/20
- Re: MS-Windows build of Grep (was: grep-dir test), Eli Zaretskii, 2011/12/24