Hans Leidekker : taskkill: Print a fixme if the /T option is used.
Alexandre Julliard
julliard at winehq.org
Fri May 18 14:09:15 CDT 2012
Module: wine
Branch: master
Commit: dbc21a185e700494cf83c87b71217b9f1c144f18
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dbc21a185e700494cf83c87b71217b9f1c144f18
Author: Hans Leidekker <hans at codeweavers.com>
Date: Fri May 18 10:48:01 2012 +0200
taskkill: Print a fixme if the /T option is used.
---
programs/taskkill/taskkill.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
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
More information about the wine-cvs
mailing list