Hugh McMaster : regsvr32: /n and /u /n should be handled as invalid flags.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Sep 2 10:23:15 CDT 2015
Module: wine
Branch: master
Commit: b09e98da785a1da44f5a74a2ce426baa62d74ae2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b09e98da785a1da44f5a74a2ce426baa62d74ae2
Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date: Wed Sep 2 15:32:07 2015 +1000
regsvr32: /n and /u /n should be handled as invalid flags.
---
programs/regsvr32/regsvr32.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c
index 8d1ab17..f75825b 100644
--- a/programs/regsvr32/regsvr32.c
+++ b/programs/regsvr32/regsvr32.c
@@ -272,6 +272,9 @@ int wmain(int argc, WCHAR* argv[])
}
}
+ if (!CallInstall && !CallRegister) /* flags: /n or /u /n */
+ return 1;
+
for (i = 1; i < argc; i++)
{
if (argv[i])
More information about the wine-cvs
mailing list