programs: add a stub tasklist.exe

Austin English austinenglish at gmail.com
Mon Aug 19 13:27:26 CDT 2013


For http://bugs.winehq.org/show_bug.cgi?id=34301

-- 
-Austin
-------------- next part --------------
From 2328684f3a77c82ce6afbf59b97ed8178d48f16e Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Mon, 19 Aug 2013 11:25:05 -0700
Subject: [PATCH 1/1] programs: add a stub tasklist.exe

---
 configure.ac                  |  1 +
 programs/tasklist/Makefile.in |  8 ++++++++
 programs/tasklist/tasklist.c  | 33 +++++++++++++++++++++++++++++++++
 programs/tasklist/version.rc  | 26 ++++++++++++++++++++++++++
 4 files changed, 68 insertions(+)
 create mode 100644 programs/tasklist/Makefile.in
 create mode 100644 programs/tasklist/tasklist.c
 create mode 100644 programs/tasklist/version.rc

diff --git a/configure.ac b/configure.ac
index b9de304..d59f64d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3228,6 +3228,7 @@ WINE_CONFIG_TEST(programs/services/tests)
 WINE_CONFIG_PROGRAM(spoolsv,,[install])
 WINE_CONFIG_PROGRAM(start,,[install,po])
 WINE_CONFIG_PROGRAM(svchost,,[install])
+WINE_CONFIG_PROGRAM(tasklist,,[install])
 WINE_CONFIG_PROGRAM(taskkill,,[install,po])
 WINE_CONFIG_PROGRAM(taskmgr,,[install,po])
 WINE_CONFIG_PROGRAM(termsv,,[install])
diff --git a/programs/tasklist/Makefile.in b/programs/tasklist/Makefile.in
new file mode 100644
index 0000000..f8c7e47
--- /dev/null
+++ b/programs/tasklist/Makefile.in
@@ -0,0 +1,8 @@
+MODULE    = tasklist.exe
+APPMODE   = -mconsole -municode
+
+C_SRCS = tasklist.c
+
+RC_SRCS = version.rc
+
+ at MAKE_PROG_RULES@
diff --git a/programs/tasklist/tasklist.c b/programs/tasklist/tasklist.c
new file mode 100644
index 0000000..a0efa63
--- /dev/null
+++ b/programs/tasklist/tasklist.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2013 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(tasklist);
+
+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;
+}
diff --git a/programs/tasklist/version.rc b/programs/tasklist/version.rc
new file mode 100644
index 0000000..d6eecb5
--- /dev/null
+++ b/programs/tasklist/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2013 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
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine tasklist"
+#define WINE_FILENAME_STR "tasklist.exe"
+#define WINE_FILEVERSION 6,1,7601,16385
+#define WINE_FILEVERSION_STR "6.1.7601.16385"
+#define WINE_PRODUCTVERSION 6,1,7601,16385
+#define WINE_PRODUCTVERSION_STR "6.1.7601.16385"
+
+#include "wine/wine_common_ver.rc"
-- 
1.8.2.1


More information about the wine-patches mailing list