Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 10:16:04 +0900 (JST)
From:      Yoshiyuki NAKAMICHI <nakamiti-sendpr@emergence.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/49733: net/linphone: Auto-kill option dosen't work
Message-ID:  <200303120116.h2C1G4l9014332@bee.emergence.jp>

next in thread | raw e-mail | index | archive | help

>Number:         49733
>Category:       ports
>Synopsis:       net/linphone: Auto-kill option dosen't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 11 17:20:19 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yoshiyuki NAKAMICHI <nakamiti-sendpr@emergence.jp>
>Release:        FreeBSD 5.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD bee.emergence.jp 5.0-RELEASE-p3 FreeBSD 5.0-RELEASE-p3 #0: Wed Feb 26 19:25:08 JST 2003 nakamiti@bee.emergence.jp:/usr/obj/usr/src/sys/BEE i386


>Description:
	net/linphone: Auto-kill option dosen't work. 
>How-To-Repeat:
	build it.
>Fix:

	

--- coreapi/misc.c.orig	Wed Mar 12 09:52:05 2003
+++ coreapi/misc.c	Wed Mar 12 09:52:39 2003
@@ -87,7 +87,7 @@
 	pid_t pid;
 	
 	/* try to kill all artsd*/
-	command=g_strdup_printf("ps -u %s |grep artsd",getenv("LOGNAME"));
+	command=g_strdup_printf("ps -c %s |grep artsd",getenv("LOGNAME"));
 	out=popen(command,"r");
 	if (out!=NULL)
 	{
@@ -102,7 +102,7 @@
 	}
 	g_free(command);
 	/* do the same with esd*/
-	command=g_strdup_printf("ps -u %s |grep esd",getenv("LOGNAME"));
+	command=g_strdup_printf("ps -c %s |grep esd",getenv("LOGNAME"));
 	out=popen(command,"r");
 	if (out!=NULL)
 	{
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303120116.h2C1G4l9014332>