+2012-05-21 Paolo Bonzini <bonzini@gnu.org>
+ Bruno Haible <bruno@clisp.org>
+
+ error, strerror-override: Support mingw64 from Fedora 17.
+ * lib/errno.in.h (GNULIB_defined_ENOTRECOVERABLE): Use a different
+ indicator for ENOTRECOVERABLE, compared to EOWNERDEAD.
+ * lib/strerror-override.h (strerror_override): Test it.
+ * lib/strerror-override.c (strerror_override): Likewise.
+
2012-06-03 Bruno Haible <bruno@clisp.org>
error, strerror-override: Support new errno values from POSIX:2008.
# endif
# ifndef EOWNERDEAD
-# define EOWNERDEAD 133
-# define ENOTRECOVERABLE 127
+# define EOWNERDEAD 133
# define GNULIB_defined_EOWNERDEAD 1
# endif
+# ifndef ENOTRECOVERABLE
+# define ENOTRECOVERABLE 127
+# define GNULIB_defined_ENOTRECOVERABLE 1
+# endif
+
# ifndef EINPROGRESS
# define EINPROGRESS 112
# define EALREADY 103
# define ENOTRECOVERABLE 2014
# endif
# define GNULIB_defined_EOWNERDEAD 1
+# define GNULIB_defined_ENOTRECOVERABLE 1
# endif
#endif /* _@GUARD_PREFIX@_ERRNO_H */
#if GNULIB_defined_EOWNERDEAD
case EOWNERDEAD:
return "Owner died";
+#endif
+
+#if GNULIB_defined_ENOTRECOVERABLE
case ENOTRECOVERABLE:
return "State not recoverable";
#endif
|| GNULIB_defined_ESTALE \
|| GNULIB_defined_EDQUOT \
|| GNULIB_defined_ECANCELED \
- || GNULIB_defined_EOWNERDEAD
+ || GNULIB_defined_EOWNERDEAD \
+ || GNULIB_defined_ENOTRECOVERABLE
extern const char *strerror_override (int errnum);
# else
# define strerror_override(ignored) NULL