Louis Lenders : where.exe: Add stub program.

Alexandre Julliard julliard at winehq.org
Wed Jul 1 15:22:49 CDT 2020


Module: wine
Branch: master
Commit: 10b17932fa829fac10a5e6717d96ed5d56de80fe
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=10b17932fa829fac10a5e6717d96ed5d56de80fe

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Wed Jul  1 13:58:01 2020 +0200

where.exe: Add stub program.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49460
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure                  |  2 ++
 configure.ac               |  1 +
 programs/where/Makefile.in |  6 ++++++
 programs/where/main.c      | 33 +++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+)

diff --git a/configure b/configure
index 85b7a186a3..0cff0025aa 100755
--- a/configure
+++ b/configure
@@ -1807,6 +1807,7 @@ enable_uninstaller
 enable_unlodctr
 enable_view
 enable_wevtutil
+enable_where
 enable_whoami
 enable_wineboot
 enable_winebrowser
@@ -21426,6 +21427,7 @@ wine_fn_config_makefile programs/uninstaller enable_uninstaller
 wine_fn_config_makefile programs/unlodctr enable_unlodctr
 wine_fn_config_makefile programs/view enable_view
 wine_fn_config_makefile programs/wevtutil enable_wevtutil
+wine_fn_config_makefile programs/where enable_where
 wine_fn_config_makefile programs/whoami enable_whoami
 wine_fn_config_makefile programs/wineboot enable_wineboot
 wine_fn_config_makefile programs/winebrowser enable_winebrowser
diff --git a/configure.ac b/configure.ac
index 046af0fe81..d596422320 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4011,6 +4011,7 @@ WINE_CONFIG_MAKEFILE(programs/uninstaller)
 WINE_CONFIG_MAKEFILE(programs/unlodctr)
 WINE_CONFIG_MAKEFILE(programs/view)
 WINE_CONFIG_MAKEFILE(programs/wevtutil)
+WINE_CONFIG_MAKEFILE(programs/where)
 WINE_CONFIG_MAKEFILE(programs/whoami)
 WINE_CONFIG_MAKEFILE(programs/wineboot)
 WINE_CONFIG_MAKEFILE(programs/winebrowser)
diff --git a/programs/where/Makefile.in b/programs/where/Makefile.in
new file mode 100644
index 0000000000..109261c379
--- /dev/null
+++ b/programs/where/Makefile.in
@@ -0,0 +1,6 @@
+MODULE    = where.exe
+
+EXTRADLLFLAGS = -mconsole -municode -mno-cygwin
+
+C_SRCS = \
+	main.c
diff --git a/programs/where/main.c b/programs/where/main.c
new file mode 100644
index 0000000000..6f90a222dc
--- /dev/null
+++ b/programs/where/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2020 Louis Lenders
+ *
+ * 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(where);
+
+int __cdecl 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