[PATCH] regini: add stub program

Austin English austinenglish at gmail.com
Sun Aug 25 03:52:23 CDT 2019


Signed-off-by: Austin English <austinenglish at gmail.com>
---
 configure.ac                |  1 +
 programs/regini/Makefile.in |  6 ++++++
 programs/regini/main.c      | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 programs/regini/Makefile.in
 create mode 100644 programs/regini/main.c

diff --git a/configure.ac b/configure.ac
index 1711c01118..c2eec3edca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3890,6 +3890,7 @@ WINE_CONFIG_MAKEFILE(programs/reg/tests)
 WINE_CONFIG_MAKEFILE(programs/regasm)
 WINE_CONFIG_MAKEFILE(programs/regedit)
 WINE_CONFIG_MAKEFILE(programs/regedit/tests)
+WINE_CONFIG_MAKEFILE(programs/regini)
 WINE_CONFIG_MAKEFILE(programs/regsvcs)
 WINE_CONFIG_MAKEFILE(programs/regsvr32)
 WINE_CONFIG_MAKEFILE(programs/rpcss)
diff --git a/programs/regini/Makefile.in b/programs/regini/Makefile.in
new file mode 100644
index 0000000000..13c456f832
--- /dev/null
+++ b/programs/regini/Makefile.in
@@ -0,0 +1,6 @@
+MODULE    = regini.exe
+
+EXTRADLLFLAGS = -mconsole -municode -mno-cygwin
+
+C_SRCS = \
+	main.c
diff --git a/programs/regini/main.c b/programs/regini/main.c
new file mode 100644
index 0000000000..a8ad6548af
--- /dev/null
+++ b/programs/regini/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2019 Austin English
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(regini);
+
+int wmain(int argc, WCHAR *argv[])
+{
+    int i;
+
+    WINE_FIXME("stub:");
+    for (i = 0; i < argc; i++)
+        WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
+    WINE_FIXME("\n");
+
+    return 0;
+}
-- 
2.21.0




More information about the wine-devel mailing list