From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_kill using raise Date: Sun, 31 Dec 2006 09:58:39 +0000 Message-ID: <87k608fkts.fsf@ossau.uklinux.net> References: <87irgbmljy.fsf@zip.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167559142 11315 80.91.229.12 (31 Dec 2006 09:59:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Dec 2006 09:59:02 +0000 (UTC) Cc: Nils Durner Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Dec 31 10:59:01 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H0xT2-0007xJ-MC for guile-devel@m.gmane.org; Sun, 31 Dec 2006 10:59:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0xT1-0003df-LS for guile-devel@m.gmane.org; Sun, 31 Dec 2006 04:58:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0xSs-0003bq-Qu for guile-devel@gnu.org; Sun, 31 Dec 2006 04:58:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0xSq-0003ZL-Eb for guile-devel@gnu.org; Sun, 31 Dec 2006 04:58:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0xSq-0003ZE-6Y for guile-devel@gnu.org; Sun, 31 Dec 2006 04:58:48 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H0xSp-0002Lk-Mb for guile-devel@gnu.org; Sun, 31 Dec 2006 04:58:47 -0500 Original-Received: from laruns (host86-145-157-83.range86-145.btcentralplus.com [86.145.157.83]) by mail3.uklinux.net (Postfix) with ESMTP id 0CD1240A635; Sun, 31 Dec 2006 09:58:47 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 594776F711; Sun, 31 Dec 2006 09:58:40 +0000 (GMT) Original-To: guile-devel@gnu.org In-Reply-To: <87irgbmljy.fsf@zip.com.au> (Kevin Ryde's message of "Sun, 17 Dec 2006 11:08:01 +1100") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6381 Archived-At: Kevin Ryde writes: > When there's no kill() function (eg. on mingw), scm_kill will use > raise() for the process itself (ie. pid==getpid()), but silently does > nothing for any other pid. > > I think it should throw an error for that, so it doesn't look like the > operation succeeded when it didn't. ENOSYS sounds right to me (and > exists on mingw). An alternative would be ESRCH to claim the pid > doesn't exist, but that's not really true. That sounds good to me too, with ENOSYS. Regards, Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel