Mike McCormack : regsvr32: Ignore the /c flag.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 17 05:55:32 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 13dccd7541da30614b384af3b0d6cb1f9baf4604
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=13dccd7541da30614b384af3b0d6cb1f9baf4604

Author: Mike McCormack <mike at codeweavers.com>
Date:   Mon Apr 17 18:14:54 2006 +0900

regsvr32: Ignore the /c flag.

---

 programs/regsvr32/regsvr32.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c
index d284fb7..ed1fc64 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




More information about the wine-cvs mailing list