public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Export __fork from libc.so back
@ 2003-03-22  0:07 Jakub Jelinek
  2003-03-22  0:08 ` Roland McGrath
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2003-03-22  0:07 UTC (permalink / raw)
  To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers

Hi!

Addition of nptl and linuxthreads fork.c killed __fork@@GLIBC_2.0 export
from libc.so. Some programs, like wine, unfortunately, use it.

2003-03-22  Jakub Jelinek  <jakub@redhat.com>

nptl/
	* sysdeps/unix/sysv/linux/fork.c (__fork): Add libc_hidden_def.
linuxthreads/
	* sysdeps/unix/sysv/linux/fork.c (__fork): Add libc_hidden_def.

--- libc/nptl/sysdeps/unix/sysv/linux/fork.c.jj	2003-03-13 16:00:18.000000000 -0500
+++ libc/nptl/sysdeps/unix/sysv/linux/fork.c	2003-03-21 18:12:38.000000000 -0500
@@ -131,4 +131,5 @@ __libc_fork (void)
   return pid;
 }
 weak_alias (__libc_fork, __fork)
+libc_hidden_def (__fork)
 weak_alias (__libc_fork, fork)
--- libc/linuxthreads/sysdeps/unix/sysv/linux/fork.c.jj	2003-01-02 19:37:21.000000000 -0500
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/fork.c	2003-03-21 18:09:18.000000000 -0500
@@ -39,4 +39,5 @@ __libc_fork (void)
   return __libc_maybe_call2 (pthread_fork, (&__fork_block), ARCH_FORK ());
 }
 weak_alias (__libc_fork, __fork)
+libc_hidden_def (__fork)
 weak_alias (__libc_fork, fork)

	Jakub

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

* Re: [PATCH] Export __fork from libc.so back
  2003-03-22  0:07 [PATCH] Export __fork from libc.so back Jakub Jelinek
@ 2003-03-22  0:08 ` Roland McGrath
  0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2003-03-22  0:08 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Ulrich Drepper, Glibc hackers

Thanks, I put that in.

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

end of thread, other threads:[~2003-03-22  0:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-22  0:07 [PATCH] Export __fork from libc.so back Jakub Jelinek
2003-03-22  0:08 ` Roland McGrath

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).