From 13dccd7541da30614b384af3b0d6cb1f9baf4604 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 17 Apr 2006 18:14:54 +0900 Subject: [PATCH] regsvr32: Ignore the /c flag. --- programs/regsvr32/regsvr32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c index d284fb7f378..ed1fc64dccd 100644 --- a/programs/regsvr32/regsvr32.c +++ b/programs/regsvr32/regsvr32.c @@ -31,6 +31,7 @@ * [/i] Call DllInstall passing it an optional [cmdline]; * when used with /u calls dll uninstall. * [/n] Do not call DllRegisterServer; this option must be used with [/i] + * [/c] Console output (seems to be deprecated and ignored) * * Note the complication that this version may be passed unix format file names * which might be mistaken for flags. Conveniently the Windows version @@ -242,6 +243,8 @@ int main(int argc, char* argv[]) } else if((!strcasecmp(argv[i], "/n"))||(!strcasecmp(argv[i], "-n"))) CallRegister = FALSE; + else if((!strcasecmp(argv[i], "/c"))||(!strcasecmp(argv[i], "-c"))) + /* console output */; else if (argv[i][0] == '/' && (!argv[i][2] || argv[i][2] == ':')) printf("Unrecognized switch %s\n", argv[i]); else