This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: prepare for 2.1.3


At 13:00 -0800 1999-11-10, Ulrich Drepper wrote:
>Joel Klecker <jk@espy.org> writes:
>
>> You don't appear to have fixed the issue I found with --with-headers 
>> and linuxthreads/signals.c yet.
>
>You'll have to elaborate this.  I don't think I have anything about
>this in my mail folders.

Here's the message I sent:

<<
Date: Fri, 22 Oct 1999 00:10:19 -0700
To: libc-hacker@sourceware.cygnus.com
From: Joel Klecker <jk@espy.org>
Subject: Current glibc-2-1-branch linuxthreads/signals.c doesn't compile

Without --with-headers, <ucontext.h> ends up being gotten from the system
headers, which is perhaps why this wasn't caught before.
linuxthreads/signals.c doesn't appear to need any of the functions prototyped in
<ucontext.h>, so I believe this is the correct fix.

1999-10-22 Joel Klecker <espy@debian.org>

	* signals.c: Include <sys/ucontext.h> instead of <ucontext.h>.

Index: linuxthreads/signals.c
===================================================================
RCS file: /cvs/glibc/libc/linuxthreads/signals.c,v
retrieving revision 1.8.2.3
diff -u -r1.8.2.3 signals.c
--- linuxthreads/signals.c	1999/09/25 16:59:50	1.8.2.3
+++ linuxthreads/signals.c	1999/10/22 06:54:36
@@ -19,7 +19,7 @@
 #include "pthread.h"
 #include "internals.h"
 #include "spinlock.h"
-#include <ucontext.h>
+#include <sys/ucontext.h>
 #include <sigcontextinfo.h>
 
 int pthread_sigmask(int how, const sigset_t * newmask, sigset_t * oldmask)
-- 
Joel Klecker (aka Espy)       <URL:mailto:espy@debian.org>
Debian Package Maintainer for the GNU C Library.
>>

And your reply:

<<
To: Joel Klecker <jk@espy.org>
Cc: libc-hacker@sourceware.cygnus.com
Subject: Re: Current glibc-2-1-branch linuxthreads/signals.c doesn't compile
Reply-To: drepper@cygnus.com (Ulrich Drepper)
X-fingerprint: BE 3B 21 04 BC 77 AC F0  61 92 E4 CB AC DD B9 5A
From: Ulrich Drepper <drepper@cygnus.com>
Date: 23 Oct 1999 10:04:53 -0700

Joel Klecker <jk@espy.org> writes:

> linuxthreads/signals.c doesn't appear to need any of the functions
> prototyped in <ucontext.h>, so I believe this is the correct fix.

I prefer to have the real heade included and so I make the same change
as for 2.2 (where I fixed this already some time ago).

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------
>>
-- 
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:jk@espy.org>                 <URL:mailto:espy@debian.org>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>

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