public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] linuxthreads fix
@ 2002-12-31  5:37 Jakub Jelinek
  2002-12-31 15:42 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2002-12-31  5:37 UTC (permalink / raw)
  To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers

Hi!

#include <fork.h> is needed on IA-64 and SPARC, since otherwise it uses
the generic linux fork.h, not arch specific one.
The list.h changes are to shut up redefinition warnings - e.g. in malloc.c
which defines its own assert.

2002-12-31  Jakub Jelinek  <jakub@redhat.com>

linuxthreads/
	* sysdeps/pthread/list.h: Remove assert.h include.
	* sysdeps/unix/sysv/linux/fork.c: Include <fork.h>, not "fork.h".
nptl/
	* sysdeps/pthread/list.h: Remove assert.h include.

--- libc/linuxthreads/sysdeps/pthread/list.h	31 Dec 2002 09:12:51 -0000	1.1.1.1
+++ libc/linuxthreads/sysdeps/pthread/list.h	31 Dec 2002 11:24:33 -0000	1.2
@@ -20,8 +20,6 @@
 #ifndef _LIST_H
 #define _LIST_H	1
 
-#include <assert.h>
-
 /* The definitions of this file are adopted from those which can be
    found in the Linux kernel headers to enable people familiar with
    the latter find their way in these sources as well.  */
--- libc/linuxthreads/sysdeps/unix/sysv/linux/fork.c	31 Dec 2002 09:12:51 -0000	1.1.1.1
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/fork.c	31 Dec 2002 10:35:17 -0000	1.2
@@ -18,7 +18,7 @@
    02111-1307 USA.  */
 
 #include <errno.h>
-#include "fork.h"
+#include <fork.h>
 #include <bits/libc-lock.h>
 
 weak_extern (__pthread_fork);
--- libc/nptl/sysdeps/pthread/list.h	27 Nov 2002 11:30:26 -0000	1.1.1.1
+++ libc/nptl/sysdeps/pthread/list.h	31 Dec 2002 11:24:33 -0000	1.2
@@ -20,8 +20,6 @@
 #ifndef _LIST_H
 #define _LIST_H	1
 
-#include <assert.h>
-
 /* The definitions of this file are adopted from those which can be
    found in the Linux kernel headers to enable people familiar with
    the latter find their way in these sources as well.  */

	Jakub

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] linuxthreads fix
  2002-12-31  5:37 [PATCH] linuxthreads fix Jakub Jelinek
@ 2002-12-31 15:42 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2002-12-31 15:42 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Roland McGrath, Glibc hackers

Jakub Jelinek wrote:

> #include <fork.h> is needed on IA-64 and SPARC, since otherwise it uses
> the generic linux fork.h, not arch specific one.
> The list.h changes are to shut up redefinition warnings - e.g. in malloc.c
> which defines its own assert.

As you might have seen, I've added this patch and the others which have
been sent over night.  Thanks,

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-31 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-31  5:37 [PATCH] linuxthreads fix Jakub Jelinek
2002-12-31 15:42 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).