diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5000d636a..1c51cd3cd 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-10-12 Corinna Vinschen + + * external.cc (cygwin_internal): Return 0 in CW_SET_DOS_FILE_WARNING + and CW_SETERRNO cases. + 2009-10-12 Corinna Vinschen * fhandler_disk_file.cc (fhandler_disk_file::link): Only append .lnk diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 38b8c71e2..23e108804 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -393,6 +393,7 @@ cygwin_internal (cygwin_getinfo_types t, ...) { extern bool dos_file_warning; dos_file_warning = va_arg (arg, int); + return 0; } break; case CW_SET_PRIV_KEY: @@ -405,6 +406,7 @@ cygwin_internal (cygwin_getinfo_types t, ...) const char *file = va_arg (arg, const char *); int line = va_arg (arg, int); seterrno(file, line); + return 0; } break; case CW_EXIT_PROCESS: