glob must not call globfree
Andreas Schwab
schwab@suse.de
Fri Feb 8 01:49:00 GMT 2002
Ulrich Drepper <drepper@redhat.com> writes:
|> Andreas Schwab <schwab@suse.de> writes:
|>
|> > 2002-02-07 Andreas Schwab <schwab@suse.de>
|> >
|> > * sysdeps/generic/glob.c: Don't call globfree on the passed glob
|> > structure.
|>
|> I very much doubt this is correct. I've never seen any requirement
|> like this. If somebody intercepts the globfree calls for whatever
|> reasons and finds them handling memory which wasn't returned by a call
|> to glob this is the problem of that code. Fortunately for whoever
|> makes this assumption one of the optimizations on the table for 2.3
|> will eliminate this. If you send me a complete patch to use
|> INTDEF/INTUSE you get the effect you want.
I don't understand what you are trying to say. Could you please clearify
what this issue has to do with INTDEF/INTUSE?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-hacker
mailing list