Qian Hong : findstr: Added stub exe.

Alexandre Julliard julliard at winehq.org
Thu Oct 4 13:38:36 CDT 2012


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

Author: Qian Hong <fracting at gmail.com>
Date:   Wed Oct  3 23:25:52 2012 +0800

findstr: Added stub exe.

---

 configure                    |    1 +
 configure.ac                 |    1 +
 programs/findstr/Makefile.in |    7 +++++++
 programs/findstr/main.c      |   33 +++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 57f1e58..9a133a2 100755
--- a/configure
+++ b/configure
@@ -15902,6 +15902,7 @@ wine_fn_config_program eject enable_eject install
 wine_fn_config_program expand enable_expand install
 wine_fn_config_program explorer enable_explorer install,po
 wine_fn_config_program extrac32 enable_extrac32 install
+wine_fn_config_program findstr enable_findstr install
 wine_fn_config_program hh enable_hh install
 wine_fn_config_program hostname enable_hostname install,po
 wine_fn_config_program icinfo enable_icinfo install
diff --git a/configure.ac b/configure.ac
index 0479899..fc1d93c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3125,6 +3125,7 @@ WINE_CONFIG_PROGRAM(eject,,[install])
 WINE_CONFIG_PROGRAM(expand,,[install])
 WINE_CONFIG_PROGRAM(explorer,,[install,po])
 WINE_CONFIG_PROGRAM(extrac32,,[install])
+WINE_CONFIG_PROGRAM(findstr,,[install])
 WINE_CONFIG_PROGRAM(hh,,[install])
 WINE_CONFIG_PROGRAM(hostname,,[install,po])
 WINE_CONFIG_PROGRAM(icinfo,,[install])
diff --git a/programs/findstr/Makefile.in b/programs/findstr/Makefile.in
new file mode 100644
index 0000000..48fcf89
--- /dev/null
+++ b/programs/findstr/Makefile.in
@@ -0,0 +1,7 @@
+MODULE    = findstr.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = \
+	main.c
+
+ at MAKE_PROG_RULES@
diff --git a/programs/findstr/main.c b/programs/findstr/main.c
new file mode 100644
index 0000000..de5de33
--- /dev/null
+++ b/programs/findstr/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2012 Qian Hong
+ *
+ * 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(findstr);
+
+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