From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30541 invoked by alias); 28 Apr 2005 20:50:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30516 invoked from network); 28 Apr 2005 20:50:53 -0000 Received: from unknown (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org with SMTP; 28 Apr 2005 20:50:53 -0000 Received: from zaretski (IGLD-80-230-65-115.inter.net.il [80.230.65.115]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id BCD09337 (AUTH halo1); Thu, 28 Apr 2005 23:49:54 +0300 (IDT) Date: Thu, 28 Apr 2005 20:50:00 -0000 From: "Eli Zaretskii" To: bug-readline@gnu.org, gdb-patches@sources.redhat.com Message-ID: <01c54c33$Blat.v2.4$bff25520@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 In-reply-to: <20050428201215.GA14846@nevyn.them.org> (message from Daniel Jacobowitz on Thu, 28 Apr 2005 16:12:15 -0400) Subject: Re: PATCH: Readline on MinGW Reply-to: Eli Zaretskii References: <4270886B.1020806@codesourcery.com> <01c54c2d$Blat.v2.4$f3029840@zahav.net.il> <20050428201215.GA14846@nevyn.them.org> X-SW-Source: 2005-04/txt/msg00400.txt.bz2 > Date: Thu, 28 Apr 2005 16:12:15 -0400 > From: Daniel Jacobowitz > Cc: Mark Mitchell , bug-readline@gnu.org, > gdb-patches@sources.redhat.com > > Could you give me a reference for this? POSIX disagrees: > > http://www.opengroup.org/onlinepubs/009695399/functions/raise.html Well, perhaps I misunderstand the language of Posix, but in this text: Otherwise, the effect of the raise() function shall be equivalent to calling: kill(getpid(), sig); why did they use "Otherwise"? To me, this says that `raise' is not always the equivalent of `kill''. In any case, it is traditional on Posix platforms to use `kill', not `raise'. I think the latter was introduced by ANSI/ISO C; if Readline does not mandate an ISO C compiler like GDB does, it would make more sense to use `raise' only if `kill' is unavailable.