* environ.cc (enum settings): Add setbool. Rename justset to setdword
to avoid future problems. (struct parse_thing): Change all justset to setbool for bool variables. (parse_options): Add a case for setbool setting for bool variables since justset (now setdword) always writes a DWORD value, thus potentially overwriting adjacent memory locations. * external.cc (cygwin_internal): Drop extern declaration.
This commit is contained in:
@@ -432,7 +432,6 @@ cygwin_internal (cygwin_getinfo_types t, ...)
|
||||
break;
|
||||
case CW_SET_DOS_FILE_WARNING:
|
||||
{
|
||||
extern bool dos_file_warning;
|
||||
dos_file_warning = va_arg (arg, int);
|
||||
res = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user