[PATCH 2/2] find: Add stub program

Fabian Maurer dark.shadow4 at web.de
Thu May 31 14:55:49 CDT 2018


Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
 configure                 |  2 ++
 configure.ac              |  1 +
 programs/find/Makefile.in |  4 ++++
 programs/find/find.c      | 33 +++++++++++++++++++++++++++++++++
 4 files changed, 40 insertions(+)
 create mode 100644 programs/find/Makefile.in
 create mode 100644 programs/find/find.c

diff --git a/configure b/configure
index ea2d353e5f..3a7d3e370f 100755
--- a/configure
+++ b/configure
@@ -1672,6 +1672,7 @@ enable_expand
 enable_explorer
 enable_extrac32
 enable_fc
+enable_find
 enable_findstr
 enable_fsutil
 enable_hh
@@ -19363,6 +19364,7 @@ wine_fn_config_makefile programs/expand enable_expand
 wine_fn_config_makefile programs/explorer enable_explorer
 wine_fn_config_makefile programs/extrac32 enable_extrac32
 wine_fn_config_makefile programs/fc enable_fc
+wine_fn_config_makefile programs/find enable_find
 wine_fn_config_makefile programs/findstr enable_findstr
 wine_fn_config_makefile programs/fsutil enable_fsutil
 wine_fn_config_makefile programs/hh enable_hh
diff --git a/configure.ac b/configure.ac
index a9fffc17c5..600cb63b9f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3876,6 +3876,7 @@ WINE_CONFIG_MAKEFILE(programs/expand)
 WINE_CONFIG_MAKEFILE(programs/explorer)
 WINE_CONFIG_MAKEFILE(programs/extrac32)
 WINE_CONFIG_MAKEFILE(programs/fc)
+WINE_CONFIG_MAKEFILE(programs/find)
 WINE_CONFIG_MAKEFILE(programs/findstr)
 WINE_CONFIG_MAKEFILE(programs/fsutil)
 WINE_CONFIG_MAKEFILE(programs/hh)
diff --git a/programs/find/Makefile.in b/programs/find/Makefile.in
new file mode 100644
index 0000000000..ef8d61b7ce
--- /dev/null
+++ b/programs/find/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = find.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = find.c
diff --git a/programs/find/find.c b/programs/find/find.c
new file mode 100644
index 0000000000..c66dd2dba7
--- /dev/null
+++ b/programs/find/find.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2010 Fabian Maurer
+ *
+ * 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(find);
+
+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.17.1




More information about the wine-devel mailing list