summaryrefslogtreecommitdiff
path: root/hw/xwin/winprocarg.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-07-27 09:53:14 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-07-27 09:53:14 +0000
commit8ef3e7052e8e1db869411e9f6fc88491e3f05474 (patch)
tree2c39c0514122143f69dad0c5d98c5e26d9babc5b /hw/xwin/winprocarg.c
parenta12a678bc9af8df1a3078f574b0c910e3e6983f8 (diff)
Merge latest changes from CYGWIN branch
Use find | xargs combination instead of simple shell globbing to prevent commandline argument overflow
Diffstat (limited to 'hw/xwin/winprocarg.c')
-rwxr-xr-xhw/xwin/winprocarg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/xwin/winprocarg.c b/hw/xwin/winprocarg.c
index a7302fe82..0032a9152 100755
--- a/hw/xwin/winprocarg.c
+++ b/hw/xwin/winprocarg.c
@@ -50,6 +50,7 @@ extern char * g_pszCommandLine;
extern Bool g_fKeyboardHookLL;
extern Bool g_fNoHelpMessageBox;
extern Bool g_fSoftwareCursor;
+extern Bool g_fSilentDupError;
/*
@@ -1154,6 +1155,11 @@ ddxProcessArgument (int argc, char *argv[], int i)
return 1;
}
+ if (IS_OPTION ("-silent-dup-error"))
+ {
+ g_fSilentDupError = TRUE;
+ return 1;
+ }
return 0;
}