From 914d387214ccbaaddcfeb14b5c159d1c969c852e Mon Sep 17 00:00:00 2001 From: Fabian Maurer Date: Thu, 31 May 2018 21:55:49 +0200 Subject: [PATCH] find: Add stub program. Signed-off-by: Fabian Maurer Signed-off-by: Alexandre Julliard --- 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 6046fe63ecf..456304b4e68 100755 --- a/configure +++ b/configure @@ -1673,6 +1673,7 @@ enable_expand enable_explorer enable_extrac32 enable_fc +enable_find enable_findstr enable_fsutil enable_hh @@ -19375,6 +19376,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 a9fffc17c52..600cb63b9fd 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 00000000000..ef8d61b7ce7 --- /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 00000000000..9d7aecd4021 --- /dev/null +++ b/programs/find/find.c @@ -0,0 +1,33 @@ +/* + * Copyright 2018 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; +}