Fabian Maurer : fc: Add stub program.

Alexandre Julliard julliard at winehq.org
Fri Jun 1 18:19:54 CDT 2018


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

Author: Fabian Maurer <dark.shadow4 at web.de>
Date:   Thu May 31 21:55:48 2018 +0200

fc: Add stub program.

Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure               |  2 ++
 configure.ac            |  1 +
 programs/fc/Makefile.in |  4 ++++
 programs/fc/fc.c        | 33 +++++++++++++++++++++++++++++++++
 4 files changed, 40 insertions(+)

diff --git a/configure b/configure
index 2960b34..6046fe6 100755
--- a/configure
+++ b/configure
@@ -1672,6 +1672,7 @@ enable_eject
 enable_expand
 enable_explorer
 enable_extrac32
+enable_fc
 enable_findstr
 enable_fsutil
 enable_hh
@@ -19373,6 +19374,7 @@ wine_fn_config_makefile programs/eject enable_eject
 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/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 3a6a3a1..a9fffc1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3875,6 +3875,7 @@ WINE_CONFIG_MAKEFILE(programs/eject)
 WINE_CONFIG_MAKEFILE(programs/expand)
 WINE_CONFIG_MAKEFILE(programs/explorer)
 WINE_CONFIG_MAKEFILE(programs/extrac32)
+WINE_CONFIG_MAKEFILE(programs/fc)
 WINE_CONFIG_MAKEFILE(programs/findstr)
 WINE_CONFIG_MAKEFILE(programs/fsutil)
 WINE_CONFIG_MAKEFILE(programs/hh)
diff --git a/programs/fc/Makefile.in b/programs/fc/Makefile.in
new file mode 100644
index 0000000..96d878a
--- /dev/null
+++ b/programs/fc/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = fc.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = fc.c
diff --git a/programs/fc/fc.c b/programs/fc/fc.c
new file mode 100644
index 0000000..ba3b04b
--- /dev/null
+++ b/programs/fc/fc.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(fc);
+
+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