error, strerror-override: Support new errno values from POSIX:2008.
authorBruno Haible <bruno@clisp.org>
Sun, 3 Jun 2012 13:47:14 +0000 (15:47 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 3 Jun 2012 15:27:30 +0000 (17:27 +0200)
commit04a037691da648c27dd81b362e25d9a18c1485f5
tree5492f77f00c579fa24e4c998b7943fc3457f7c99
parent5b1ef1fd0197758898074b20a052b7bfee9a1b25
error, strerror-override: Support new errno values from POSIX:2008.

* m4/errno_h.m4 (gl_HEADER_ERRNO_H): Test also EOWNERDEAD and
ENOTRECOVERABLE.
* lib/errno.in.h (EOWNERDEAD, ENOTRECOVERABLE): Define on all
platforms.
* lib/strerror-override.c (strerror_override): Conditionalize the
EOWNERDEAD, ENOTRECOVERABLE handling on GNULIB_defined_EOWNERDEAD.
* lib/strerror-override.h (strerror_override): Declare also if
GNULIB_defined_EOWNERDEAD is defined.
* tests/test-errno.c (e130, e131): New variables.
* doc/posix-headers/errno.texi: Mention the status for EOWNERDEAD,
ENOTRECOVERABLE.
Reported by Paolo Bonzini.
ChangeLog
doc/posix-headers/errno.texi
lib/errno.in.h
lib/strerror-override.c
lib/strerror-override.h
m4/errno_h.m4
tests/test-errno.c