>From 3324ef0f692527a7adde41c03ad91a20dac8e323 Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <[email protected]>
Date: Tue, 23 Mar 2010 17:46:56 +0100
Subject: [PATCH] Let the user know of this; also try persuading her to give 
feedback

---
 src/osdep/stub.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/osdep/stub.c b/src/osdep/stub.c
index 38b9820..15bffff 100644
--- a/src/osdep/stub.c
+++ b/src/osdep/stub.c
@@ -6,6 +6,13 @@ Bool GetCommandForPid(int pid, char ***argv, int *argc)
 {
        *argv = NULL;
        *argc = 0;
+       static int notified = 0;
+
+       if (!notified) {
+               wwarning(_("%s is not implemented on this platform; "
+                   "notify [email protected]"), __FUNCTION__);
+               notified = 1;
+       }
 
        return False;
 }
-- 
1.7.0


-- 
[-]

mkdir /nonexistent
From 3324ef0f692527a7adde41c03ad91a20dac8e323 Mon Sep 17 00:00:00 2001
From: Tamas TEVESZ <[email protected]>
Date: Tue, 23 Mar 2010 17:46:56 +0100
Subject: [PATCH] Let the user know of this; also try persuading her to give feedback

---
 src/osdep/stub.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/osdep/stub.c b/src/osdep/stub.c
index 38b9820..15bffff 100644
--- a/src/osdep/stub.c
+++ b/src/osdep/stub.c
@@ -6,6 +6,13 @@ Bool GetCommandForPid(int pid, char ***argv, int *argc)
 {
 	*argv = NULL;
 	*argc = 0;
+	static int notified = 0;
+
+	if (!notified) {
+		wwarning(_("%s is not implemented on this platform; "
+		    "notify [email protected]"), __FUNCTION__);
+		notified = 1;
+	}
 
 	return False;
 }
-- 
1.7.0

Reply via email to