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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glob must not call globfree


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


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