* external.cc (cygwin_internal): Return 0 in CW_SET_DOS_FILE_WARNING

and CW_SETERRNO cases.
This commit is contained in:
Corinna Vinschen 2009-10-12 19:26:08 +00:00
parent 9e278ffd2c
commit 2fc007681e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-10-12 Corinna Vinschen <corinna@vinschen.de>
* external.cc (cygwin_internal): Return 0 in CW_SET_DOS_FILE_WARNING
and CW_SETERRNO cases.
2009-10-12 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::link): Only append .lnk

View File

@ -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: