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


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

Re: libio backward compat bug? involving setmntent()


> 
> 
> The appended slightly-out-of-spec code segfaults when compiled on a
> libc 2.0 system and run on a libc 2.1 system.  The problem is that
> setmntent() returns a new FILE*, but fclose is bound to the old
> fclose.
> 
> Do we want to support this, and if so, how?  (Have old fclose
> recognize when it's handed a new FILE* and call _IO_new_fclose?)
> 

Thanks for the bug report. I will fix it.


H.J.


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