[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MS-Windows build of Grep [2/4]
From: |
Eli Zaretskii |
Subject: |
Re: MS-Windows build of Grep [2/4] |
Date: |
Fri, 30 Dec 2011 17:22:52 +0200 |
> From: Jim Meyering <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Date: Fri, 30 Dec 2011 13:38:17 +0100
>
> This is about changing code that everyone uses, in order to
> make it accommodate a system that is so fundamentally deficient
> that imho it is not a reasonable portability target.
Well, gnulib does support this "fundamentally deficient" system.
Personally, I think that a utility macro such as SAME_INODE should
uphold its contract on all supported systems. But that's me; I'm not
a gnulib maintainer, so feel free to ignore me.
In any case, as I already wrote, the change I suggested in SAME_INODE
is only a bonus: if no one cares about the code in Grep's main.c that
I think belongs to SAME_INODE, then no change is necessary, because
the code works as it is.
> As long as its *stat functions (or wrappers) do not provide usable
> stat.st_ino, trying to accommodate such systems is a waste of time.
How is the problem with st_ino on Windows different from what
SAME_REGULAR_FILE in src/system.h is trying to do to cope with all
kinds of very similar breakage in `struct stat' on Posix hosts?
- Re: MS-Windows build of Grep [2/4], (continued)
- Re: MS-Windows build of Grep [2/4], Jim Meyering, 2011/12/30
- Re: MS-Windows build of Grep [2/4], Jim Meyering, 2011/12/30
- Re: MS-Windows build of Grep [2/4], Eli Zaretskii, 2011/12/30
- Re: MS-Windows build of Grep [2/4], Jim Meyering, 2011/12/30
- Re: MS-Windows build of Grep [2/4], Eli Zaretskii, 2011/12/30
- Re: MS-Windows build of Grep [2/4], Jim Meyering, 2011/12/30
- Re: MS-Windows build of Grep [2/4],
Eli Zaretskii <=
- Re: MS-Windows build of Grep [2/4], Jim Meyering, 2011/12/30
- Re: MS-Windows build of Grep [2/4], Paul Eggert, 2011/12/30
- Re: MS-Windows build of Grep [2/4], Paul Eggert, 2011/12/30
- Re: MS-Windows build of Grep [2/4], Eli Zaretskii, 2011/12/31
- Re: MS-Windows build of Grep [2/4], Jim Meyering, 2011/12/31
- Re: MS-Windows build of Grep [2/4], Jim Meyering, 2011/12/28