mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-11 13:01:28 +02:00
22042: handle the Hurd's errno.h.
This commit is contained in:
parent
582c6d2098
commit
d99218b63b
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ do
|
||||||
dnl Try to make sure it doesn't get confused by files that don't
|
dnl Try to make sure it doesn't get confused by files that don't
|
||||||
dnl have real error definitions in. Count definitions to make sure.
|
dnl have real error definitions in. Count definitions to make sure.
|
||||||
nerrs=`test -f $ERRNO_H && \
|
nerrs=`test -f $ERRNO_H && \
|
||||||
grep '#[ ]*define[ ][ ]*E[0-9A-Z]*[ ]*[0-9][0-9]*' $ERRNO_H | \
|
grep -E '#[ ]*define[ ][ ]*E[0-9A-Z]*[ ]*(_HURD_ERRNO \()?[0-9]+\)?' $ERRNO_H | \
|
||||||
wc -l | sed 's/[ ]//g'`
|
wc -l | sed 's/[ ]//g'`
|
||||||
test "x$nerrs" != x && test "$nerrs" -ge 7 && break
|
test "x$nerrs" != x && test "$nerrs" -ge 7 && break
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue