taskkill: Print a fixme if the /T option is used.
Hans Leidekker
hans at codeweavers.com
Fri May 18 03:48:01 CDT 2012
---
programs/taskkill/taskkill.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/programs/taskkill/taskkill.c b/programs/taskkill/taskkill.c
index 4408eda..53b56ff 100644
--- a/programs/taskkill/taskkill.c
+++ b/programs/taskkill/taskkill.c
@@ -22,10 +22,13 @@
#include <stdlib.h>
#include <windows.h>
#include <psapi.h>
+#include <wine/debug.h>
#include <wine/unicode.h>
#include "taskkill.h"
+WINE_DEFAULT_DEBUG_CHANNEL(taskkill);
+
static int force_termination;
static WCHAR **task_list;
@@ -448,6 +451,7 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
static const WCHAR slashImage[] = {'/','i','m',0};
static const WCHAR slashPID[] = {'/','p','i','d',0};
static const WCHAR slashHelp[] = {'/','?',0};
+ static const WCHAR slashTerminateChildren[] = {'/','t',0};
if (argc > 1)
{
@@ -465,6 +469,8 @@ static BOOL process_arguments(int argc, WCHAR *argv[])
{
int got_im = 0, got_pid = 0;
+ if (!strcmpiW(slashTerminateChildren, argv[i]))
+ WINE_FIXME("/T not supported\n");
if (!strcmpiW(slashForceTerminate, argv[i]))
force_termination = 1;
/* Options /IM and /PID appear to behave identically, except for
--
1.7.10
More information about the wine-patches
mailing list