=?UTF-8?Q?Michael=20M=C3=BCller=20?=: shutdown: Add stub implementation.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 2 11:26:10 CST 2016


Module: wine
Branch: master
Commit: 183e8cf14e85546cb93533184782959fdf9e75ea
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=183e8cf14e85546cb93533184782959fdf9e75ea

Author: Michael Müller <michael at fds-team.de>
Date:   Wed Mar  2 07:46:42 2016 +0100

shutdown: Add stub implementation.

Signed-off-by: Michael Müller <michael at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure                     |  2 ++
 configure.ac                  |  1 +
 programs/shutdown/Makefile.in |  5 +++++
 programs/shutdown/main.c      | 33 +++++++++++++++++++++++++++++++++
 4 files changed, 41 insertions(+)

diff --git a/configure b/configure
index 02ba099..692b26f 100755
--- a/configure
+++ b/configure
@@ -1489,6 +1489,7 @@ enable_sdbinst
 enable_secedit
 enable_servicemodelreg
 enable_services
+enable_shutdown
 enable_spoolsv
 enable_start
 enable_svchost
@@ -18166,6 +18167,7 @@ wine_fn_config_program secedit enable_secedit install
 wine_fn_config_program servicemodelreg enable_servicemodelreg install
 wine_fn_config_program services enable_services clean,install
 wine_fn_config_test programs/services/tests services.exe_test
+wine_fn_config_program shutdown enable_shutdown install
 wine_fn_config_program spoolsv enable_spoolsv install
 wine_fn_config_program start enable_start clean,install
 wine_fn_config_program svchost enable_svchost install
diff --git a/configure.ac b/configure.ac
index 1e6bba3..b57ff6a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3484,6 +3484,7 @@ WINE_CONFIG_PROGRAM(secedit,,[install])
 WINE_CONFIG_PROGRAM(servicemodelreg,,[install])
 WINE_CONFIG_PROGRAM(services,,[clean,install])
 WINE_CONFIG_TEST(programs/services/tests)
+WINE_CONFIG_PROGRAM(shutdown,,[install])
 WINE_CONFIG_PROGRAM(spoolsv,,[install])
 WINE_CONFIG_PROGRAM(start,,[clean,install])
 WINE_CONFIG_PROGRAM(svchost,,[install])
diff --git a/programs/shutdown/Makefile.in b/programs/shutdown/Makefile.in
new file mode 100644
index 0000000..0014021
--- /dev/null
+++ b/programs/shutdown/Makefile.in
@@ -0,0 +1,5 @@
+MODULE    = shutdown.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = \
+	main.c
diff --git a/programs/shutdown/main.c b/programs/shutdown/main.c
new file mode 100644
index 0000000..49f8d24
--- /dev/null
+++ b/programs/shutdown/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2016 Michael Müller
+ *
+ * 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(shutdown);
+
+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;
+}




More information about the wine-cvs mailing list