Module: wine Branch: master Commit: 82e8d6036fd26485db32f2f88ebb7d7b4f6b2f9a URL: https://gitlab.winehq.org/wine/wine/-/commit/82e8d6036fd26485db32f2f88ebb7d7...
Author: Mohamad Al-Jaf mohamadaljaf@gmail.com Date: Mon Nov 7 02:34:49 2022 -0500
setx: Add stub program.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53755
---
configure | 2 ++ configure.ac | 1 + programs/setx/Makefile.in | 9 +++++++++ programs/setx/main.c | 33 +++++++++++++++++++++++++++++++++ programs/setx/version.rc | 27 +++++++++++++++++++++++++++ 5 files changed, 72 insertions(+)
diff --git a/configure b/configure index ce217cb9fd2..e4b804f1525 100755 --- a/configure +++ b/configure @@ -1641,6 +1641,7 @@ enable_sdbinst enable_secedit enable_servicemodelreg enable_services +enable_setx enable_shutdown enable_spoolsv enable_start @@ -22342,6 +22343,7 @@ wine_fn_config_makefile programs/secedit enable_secedit wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg wine_fn_config_makefile programs/services enable_services wine_fn_config_makefile programs/services/tests enable_tests +wine_fn_config_makefile programs/setx enable_setx wine_fn_config_makefile programs/shutdown enable_shutdown wine_fn_config_makefile programs/spoolsv enable_spoolsv wine_fn_config_makefile programs/start enable_start diff --git a/configure.ac b/configure.ac index 2907dbd7d84..169299da237 100644 --- a/configure.ac +++ b/configure.ac @@ -3437,6 +3437,7 @@ WINE_CONFIG_MAKEFILE(programs/secedit) WINE_CONFIG_MAKEFILE(programs/servicemodelreg) WINE_CONFIG_MAKEFILE(programs/services) WINE_CONFIG_MAKEFILE(programs/services/tests) +WINE_CONFIG_MAKEFILE(programs/setx) WINE_CONFIG_MAKEFILE(programs/shutdown) WINE_CONFIG_MAKEFILE(programs/spoolsv) WINE_CONFIG_MAKEFILE(programs/start) diff --git a/programs/setx/Makefile.in b/programs/setx/Makefile.in new file mode 100644 index 00000000000..1a556abd511 --- /dev/null +++ b/programs/setx/Makefile.in @@ -0,0 +1,9 @@ +MODULE = setx.exe + +EXTRADLLFLAGS = -mconsole -municode + +C_SRCS = \ + main.c + +RC_SRCS = \ + version.rc diff --git a/programs/setx/main.c b/programs/setx/main.c new file mode 100644 index 00000000000..8b6ea45c76d --- /dev/null +++ b/programs/setx/main.c @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2022 Mohamad Al-Jaf + * + * 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(setx); + +int __cdecl 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; +} diff --git a/programs/setx/version.rc b/programs/setx/version.rc new file mode 100644 index 00000000000..e8c6324aaac --- /dev/null +++ b/programs/setx/version.rc @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2022 Mohamad Al-Jaf + * + * 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 + */ + +#define WINE_FILEDESCRIPTION_STR "Wine setx" +#define WINE_FILENAME_STR "setx.exe" +#define WINE_FILETYPE VFT_APP +#define WINE_FILEVERSION 10,0,19041,1 +#define WINE_FILEVERSION_STR "10.0.19041.1" +#define WINE_PRODUCTVERSION 10,0,19041,1 +#define WINE_PRODUCTVERSION_STR "10.0.19041.1" + +#include "wine/wine_common_ver.rc"