mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 06:50:07 +00:00
1999-01-23 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/gnu/errlist.awk: Add comment.
This commit is contained in:
parent
d26bda6b53
commit
c0d9fffd58
@ -25,9 +25,17 @@
|
|||||||
# @end deftypevr
|
# @end deftypevr
|
||||||
|
|
||||||
BEGIN {
|
BEGIN {
|
||||||
alias["EWOULDBLOCK"] = "EAGAIN";
|
|
||||||
alias["EDEADLOCK"] = "EDEADLK";
|
# Here we list the E* names that might be duplicate names for the
|
||||||
alias["ENOTSUP"] = "EOPNOTSUPP";
|
# same integer value on some systems. This causes the code below
|
||||||
|
# to generate ``#if defined (ALIAS) && ALIAS != ORIGINAL'' in the code,
|
||||||
|
# so the output does not presume that these are in fact aliases.
|
||||||
|
# We list here all the known potential cases on any system,
|
||||||
|
# so that the C source we produce will do the right thing based
|
||||||
|
# on the actual #define'd values it's compiled with.
|
||||||
|
alias["EWOULDBLOCK"]= "EAGAIN";
|
||||||
|
alias["EDEADLOCK"] = "EDEADLK";
|
||||||
|
alias["ENOTSUP"] = "EOPNOTSUPP";
|
||||||
|
|
||||||
print "/* This file is generated from errno.texi by errlist.awk. */"
|
print "/* This file is generated from errno.texi by errlist.awk. */"
|
||||||
print "";
|
print "";
|
||||||
|
Loading…
Reference in New Issue
Block a user