mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 11:30:56 +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>
|
2007-03-29 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set
|
* cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set
|
||||||
|
@ -350,6 +350,13 @@ cygwin_internal (cygwin_getinfo_types t, ...)
|
|||||||
return 0;
|
return 0;
|
||||||
case CW_CYGTLS_PADSIZE:
|
case CW_CYGTLS_PADSIZE:
|
||||||
return 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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,8 @@ typedef enum
|
|||||||
CW_ENVP,
|
CW_ENVP,
|
||||||
CW_DEBUG_SELF,
|
CW_DEBUG_SELF,
|
||||||
CW_SYNC_WINENV,
|
CW_SYNC_WINENV,
|
||||||
CW_CYGTLS_PADSIZE
|
CW_CYGTLS_PADSIZE,
|
||||||
|
CW_SET_DOS_FILE_WARNING
|
||||||
} cygwin_getinfo_types;
|
} cygwin_getinfo_types;
|
||||||
|
|
||||||
#define CW_NEXTPID 0x80000000 /* or with pid to get next one */
|
#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>
|
2007-02-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* ipcs.c (_POSIX2_LINE_MAX): Drop definition.
|
* ipcs.c (_POSIX2_LINE_MAX): Drop definition.
|
||||||
|
@ -348,6 +348,8 @@ main (int argc, char **argv)
|
|||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cygwin_internal (CW_SET_DOS_FILE_WARNING, false);
|
||||||
|
|
||||||
argc--;
|
argc--;
|
||||||
switch (do_what)
|
switch (do_what)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user