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 1/3] unify xmalloc prototypes & friends


On Monday 31 December 2012 07:15:09 Joseph S. Myers wrote:
> On Sun, 30 Dec 2012, Mike Frysinger wrote:
> > 	* elf/pldd.c: Include locale/programs/programs.h.
> 
> This draws attention to an existing oddity: for programs with nothing to
> do with locales it seems odd to be using locale/programs/ for xmalloc and
> xstrdup, and a toplevel programs/ directory might be better.  I've added
> this to the list of cleanup projects at
> <http://sourceware.org/glibc/wiki/Development_Todo/Master>, alongside the
> point about refactoring the code for copyright and bug-reporting messages
> for programs using argp.

i noticed that & agree with your analysis.  the duplicate prototypes was 
egregious enough (and i had to update them) that i was willing to clean it up 
this far, but more would be good.  maybe a toplevel programs/ dir where we can 
stick all common code (like xmalloc & friends).
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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