This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix SIGRTMIN problems with glibc 2.3 [1/2]


On Wed, Mar 26, 2003 at 06:17:32PM +0100, Andreas Schwab wrote:
> Daniel Jacobowitz <drow at mvista dot com> 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 <signal.h>
> |>  
> |> +/* 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?

Er, yes rather.  Thanks for catching that!


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

2003-03-26  Daniel Jacobowitz  <drow at mvista dot com>

	* signals/signals.c: Fix typos in last change.

Index: signals/signals.c
===================================================================
RCS file: /cvs/src/src/gdb/signals/signals.c,v
retrieving revision 1.6
diff -u -p -r1.6 signals.c
--- signals/signals.c	26 Mar 2003 16:29:39 -0000	1.6
+++ signals/signals.c	26 Mar 2003 17:20:10 -0000
@@ -39,8 +39,8 @@
 #  define REALTIME_LO __SIGRTMIN
 #  define REALTIME_HI __SIGRTMAX
 # elif defined(SIGRTMIN)
-#  define REALTIME_LO __SIGRTMIN
-#  define REALTIME_HI __SIGRTMAX
+#  define REALTIME_LO SIGRTMIN
+#  define REALTIME_HI SIGRTMAX
 # endif
 #endif
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]