Bruno Haible <[EMAIL PROTECTED]> wrote:
> Jim Meyering wrote:
>> +2008-10-16  Jim Meyering  <[EMAIL PROTECTED]>
>> +
>> +    openat-die.c: avoid 'no previous prototype' warning
>> +    * lib/openat-die.c: Include "openat.h".
>> +    Reported by Reuben Thomas <[EMAIL PROTECTED]>.
>
> Thanks to this change, I now get a compilation error when compiling for mingw:
...
> 2008-10-18  Bruno Haible  <[EMAIL PROTECTED]>
>
>       * lib/openat-die.c (openat_save_fail, openat_restore_fail): Rename
>       the parameter from 'errno' to 'errnum'. Fixes a compilation error on
>       mingw.
>
> --- lib/openat-die.c.orig     2008-10-19 02:42:49.000000000 +0200
> +++ lib/openat-die.c  2008-10-19 02:40:41.000000000 +0200
> @@ -29,9 +29,9 @@
>  #define N_(msgid) msgid
>
>  void
> -openat_save_fail (int errno)
> +openat_save_fail (int errnum)
...

Looks fine. Please apply.
Thanks!


Reply via email to