From: Austin English Subject: mode: add stub exe Message-Id: Date: Sun, 1 May 2016 22:05:04 -0500 For https://bugs.winehq.org/show_bug.cgi?id=27448 -- -Austin From 8679946054a358405360372bd0c522756b6254e8 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sun, 1 May 2016 21:41:17 -0500 Subject: [PATCH] mode: add stub program Signed-off-by: Austin English --- configure.ac | 1 + programs/mode/Makefile.in | 5 +++++ programs/mode/main.c | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 programs/mode/Makefile.in create mode 100644 programs/mode/main.c diff --git a/configure.ac b/configure.ac index 597b84e..e789318 100644 --- a/configure.ac +++ b/configure.ac @@ -3472,6 +3472,7 @@ WINE_CONFIG_PROGRAM(iexplore,,[install]) WINE_CONFIG_PROGRAM(ipconfig,,[clean,install]) WINE_CONFIG_PROGRAM(lodctr,,[install]) WINE_CONFIG_PROGRAM(mofcomp,,[install]) +WINE_CONFIG_PROGRAM(mode,,[install]) WINE_CONFIG_PROGRAM(mshta,,[install]) WINE_CONFIG_PROGRAM(msiexec,,[install,installbin,manpage]) WINE_CONFIG_PROGRAM(net,,[clean,install]) diff --git a/programs/mode/Makefile.in b/programs/mode/Makefile.in new file mode 100644 index 0000000..05154a0 --- /dev/null +++ b/programs/mode/Makefile.in @@ -0,0 +1,5 @@ +MODULE = mode.exe +APPMODE = -mconsole -municode + +C_SRCS = \ + main.c diff --git a/programs/mode/main.c b/programs/mode/main.c new file mode 100644 index 0000000..163297b --- /dev/null +++ b/programs/mode/main.c @@ -0,0 +1,33 @@ +/* + * Copyright 2016 Austin English + * + * 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(mode); + +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.8.1