* external.cc (cygwin_internal): Return 0 in CW_SET_DOS_FILE_WARNING
and CW_SETERRNO cases.
This commit is contained in:
parent
9e278ffd2c
commit
2fc007681e
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue