This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: elf/sprof.c (generate_call_graph): putchar_unlocked
- To: Gordon Matzigkeit <gord@m-tech.ab.ca>
- Subject: Re: elf/sprof.c (generate_call_graph): putchar_unlocked
- From: Roland McGrath <roland@frob.com>
- Date: Sun, 21 Jun 1998 14:10:12 -0400
- Cc: GNU Libc Alpha Testers <libc-alpha@cygnus.com>
> I don't fully understand the relationship between libio and stdio,
> except that stdio keeps getting out-of-date. Is it supposed to be
> supported by glibc, or is it deprecated?
Both. It is deprecated and will go away when it's no longer needed.
It is still the case that the Hurd needs stdio and doesn't work with libio.
This is one of the things that needs to be changed in the Hurd.
> Is the correct fix to change sprof.c, to modify stdio, or to ditch
> stdio entirely and just use libio?
The long term correct fix is the latter, but I don't think you are ready to
do that yet. The Hurd code has some hairy uses of stdio.