* 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>
|
2009-10-12 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_disk_file.cc (fhandler_disk_file::link): Only append .lnk
|
* 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;
|
extern bool dos_file_warning;
|
||||||
dos_file_warning = va_arg (arg, int);
|
dos_file_warning = va_arg (arg, int);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CW_SET_PRIV_KEY:
|
case CW_SET_PRIV_KEY:
|
||||||
@ -405,6 +406,7 @@ cygwin_internal (cygwin_getinfo_types t, ...)
|
|||||||
const char *file = va_arg (arg, const char *);
|
const char *file = va_arg (arg, const char *);
|
||||||
int line = va_arg (arg, int);
|
int line = va_arg (arg, int);
|
||||||
seterrno(file, line);
|
seterrno(file, line);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CW_EXIT_PROCESS:
|
case CW_EXIT_PROCESS:
|
||||||
|
Loading…
Reference in New Issue
Block a user