Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-03-30 17:36:06 +0400
committerChristopher Faylor <me@cgf.cx>2007-03-30 17:36:06 +0400
commite7fd6e57382a012d68036e25628ff3b0e2c613d2 (patch)
treee6be97e5d588a1f7d7f762e167216d06b0453851 /winsup/cygwin/external.cc
parent2c58b5a5e8cf5fcc361bf1de60f4ca5b5ca08620 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r--winsup/cygwin/external.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 4cc539e6a..b6b64f14d 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -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;
}