findstr: Added stub exe.

This commit is contained in:
Qian Hong 2012-10-03 23:25:52 +08:00 committed by Alexandre Julliard
parent 2500e21a90
commit 3ce21826c8
4 changed files with 42 additions and 0 deletions

1
configure vendored
View File

@ -15902,6 +15902,7 @@ wine_fn_config_program eject enable_eject install
wine_fn_config_program expand enable_expand install wine_fn_config_program expand enable_expand install
wine_fn_config_program explorer enable_explorer install,po wine_fn_config_program explorer enable_explorer install,po
wine_fn_config_program extrac32 enable_extrac32 install 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 hh enable_hh install
wine_fn_config_program hostname enable_hostname install,po wine_fn_config_program hostname enable_hostname install,po
wine_fn_config_program icinfo enable_icinfo install wine_fn_config_program icinfo enable_icinfo install

View File

@ -3125,6 +3125,7 @@ WINE_CONFIG_PROGRAM(eject,,[install])
WINE_CONFIG_PROGRAM(expand,,[install]) WINE_CONFIG_PROGRAM(expand,,[install])
WINE_CONFIG_PROGRAM(explorer,,[install,po]) WINE_CONFIG_PROGRAM(explorer,,[install,po])
WINE_CONFIG_PROGRAM(extrac32,,[install]) WINE_CONFIG_PROGRAM(extrac32,,[install])
WINE_CONFIG_PROGRAM(findstr,,[install])
WINE_CONFIG_PROGRAM(hh,,[install]) WINE_CONFIG_PROGRAM(hh,,[install])
WINE_CONFIG_PROGRAM(hostname,,[install,po]) WINE_CONFIG_PROGRAM(hostname,,[install,po])
WINE_CONFIG_PROGRAM(icinfo,,[install]) WINE_CONFIG_PROGRAM(icinfo,,[install])

View File

@ -0,0 +1,7 @@
MODULE = findstr.exe
APPMODE = -mconsole -municode
C_SRCS = \
main.c
@MAKE_PROG_RULES@

33
programs/findstr/main.c Normal file
View File

@ -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;
}