This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: libio backward compat bug? involving setmntent()
- To: zack@rabi.columbia.edu (Zack Weinberg)
- Subject: Re: libio backward compat bug? involving setmntent()
- From: hjl@lucon.org (H.J. Lu)
- Date: Tue, 13 Apr 1999 08:23:05 -0700 (PDT)
- Cc: libc-hacker@cygnus.com
> >I like this approach. But on the other hand, libio is used
> >by both glibc and libstdc++. I am not sure introducing
> >_IO_NEW_MAGIC is a good idea or not. As least, you may have
> >to change libstdc++ to match it.
>
> I was afraid of that. I did it this way because I wasn't sure if
> there were other functions in libc that return FILE pointers. Without
> this, we'd need versions for all of them.
>
I have a list. It is not hard to do. I don't like to introduce
_IO_NEW_MAGIC unless we have to.
--
H.J. Lu (hjl@gnu.org)