From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12153 invoked by alias); 26 Mar 2003 17:17:34 -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 12146 invoked from network); 26 Mar 2003 17:17:34 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 26 Mar 2003 17:17:34 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id B7B8314AD5 for ; Wed, 26 Mar 2003 18:17:33 +0100 (MET) To: gdb-patches@sources.redhat.com Subject: Re: PATCH: Fix SIGRTMIN problems with glibc 2.3 [1/2] X-Yow: Will this never-ending series of PLEASURABLE EVENTS never cease? From: Andreas Schwab Date: Wed, 26 Mar 2003 17:17:00 -0000 In-Reply-To: <20030326163223.GA4481@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 26 Mar 2003 11:32:24 -0500") Message-ID: User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (gnu/linux) References: <20030326163223.GA4481@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-03/txt/msg00515.txt.bz2 Daniel Jacobowitz writes: |> Index: signals.c |> =================================================================== |> RCS file: /cvs/src/src/gdb/signals/signals.c,v |> retrieving revision 1.5 |> diff -u -p -r1.5 signals.c |> --- signals.c 27 Aug 2002 22:37:14 -0000 1.5 |> +++ signals.c 26 Mar 2003 16:25:51 -0000 |> @@ -30,6 +30,20 @@ |> |> #include |> |> +/* Always use __SIGRTMIN if it's available. SIGRTMIN is the lowest |> + _available_ realtime signal, not the lowest supported; glibc takes |> + several for its own use. */ |> + |> +#ifndef REALTIME_LO |> +# if defined(__SIGRTMIN) |> +# define REALTIME_LO __SIGRTMIN |> +# define REALTIME_HI __SIGRTMAX |> +# elif defined(SIGRTMIN) |> +# define REALTIME_LO __SIGRTMIN |> +# define REALTIME_HI __SIGRTMAX ^^ Typo? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."