-2008-10-18 Bruno Haible <bruno@clisp.org>
+2008-10-19 Bruno Haible <bruno@clisp.org>
+
+ * lib/openat-die.c (openat_save_fail, openat_restore_fail): Rename
+ the parameter from 'errno' to 'errnum'. Fixes a compilation error on
+ mingw.
+
+2008-10-19 Bruno Haible <bruno@clisp.org>
* lib/atanl.c: Don't include isnanl.h.
* lib/cosl.c: Likewise.
#define N_(msgid) msgid
void
-openat_save_fail (int errno)
+openat_save_fail (int errnum)
{
- error (exit_failure, errno,
+ error (exit_failure, errnum,
_("unable to record current working directory"));
/* The `noreturn' attribute cannot be applied to error, since it returns
}
void
-openat_restore_fail (int errno)
+openat_restore_fail (int errnum)
{
- error (exit_failure, errno,
+ error (exit_failure, errnum,
_("failed to return to initial working directory"));
/* As above. */