* 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:
Christopher Faylor
2007-03-30 13:36:06 +00:00
parent 2c58b5a5e8
commit e7fd6e5738
5 changed files with 21 additions and 1 deletions

View File

@@ -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;
}