This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] malloc: Run fork handler as late as possible [BZ #19431]


> > > Should this perhaps be malloc-internal.h to match libc-internal.h?
> > 
> > We also have libio/libioP.h, and include/malloc.h.  But I think a
> > separate header makes sense if its contents is truly internal.
> > 
> > What are the preferences here?
> 
> I think having an internal header is good, but I can't give a definitive
> reply regarding what the project prefers.

We have a clear preference for keeping internal things in internal headers.
Some of the existing wrapper headers conflate pure wrapper issues (macro
versions of things, hidden_proto, etc) with providing internal interfaces.
But we want to avoid doing that in the future.  Cleaning up existing
violations of this principle would certainly be welcome.


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