mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* cygwin/external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.
* cygwin/include/sys/cygwin.h: Define CW_SET_DOS_FILE_WARNING. * utils/mount.cc (main): Turn dos file warnings off since we know what we're doing.
This commit is contained in:
parent
2c58b5a5e8
commit
e7fd6e5738
@ -1,3 +1,8 @@
|
||||
2007-03-30 Christopher Faylor <me@cgf.cx>
|
||||
|
||||
* external.cc (cygwin_internal): Implement CW_SET_DOS_FILE_WARNING.
|
||||
* include/sys/cygwin.h: Define CW_SET_DOS_FILE_WARNING.
|
||||
|
||||
2007-03-29 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set
|
||||
|
@ -350,6 +350,13 @@ cygwin_internal (cygwin_getinfo_types t, ...)
|
||||
return 0;
|
||||
case CW_CYGTLS_PADSIZE:
|
||||
return CYGTLS_PADSIZE;
|
||||
case CW_SET_DOS_FILE_WARNING:
|
||||
{
|
||||
extern bool dos_file_warning;
|
||||
dos_file_warning = va_arg (arg, int);
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -87,7 +87,8 @@ typedef enum
|
||||
CW_ENVP,
|
||||
CW_DEBUG_SELF,
|
||||
CW_SYNC_WINENV,
|
||||
CW_CYGTLS_PADSIZE
|
||||
CW_CYGTLS_PADSIZE,
|
||||
CW_SET_DOS_FILE_WARNING
|
||||
} cygwin_getinfo_types;
|
||||
|
||||
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */
|
||||
|
@ -1,3 +1,8 @@
|
||||
2007-03-30 Christopher Faylor <me@cgf.cx>
|
||||
|
||||
* mount.cc (main): Turn dos file warnings off since we know what we're
|
||||
doing.
|
||||
|
||||
2007-02-22 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* ipcs.c (_POSIX2_LINE_MAX): Drop definition.
|
||||
|
@ -348,6 +348,8 @@ main (int argc, char **argv)
|
||||
exit (1);
|
||||
}
|
||||
|
||||
cygwin_internal (CW_SET_DOS_FILE_WARNING, false);
|
||||
|
||||
argc--;
|
||||
switch (do_what)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user