Re: Disallowing args

2010-06-17 Thread Jeff Johnson
On Jun 5, 2010, at 11:39 AM, Wayne Davison wrote: Here's something that was recently fixed for the popt that is included with rsync: rejecting an arg to an option that doesn't take an arg. Attached is a patch. A new error code, POPT_ERROR_UNWANTEDARG, was created to make the error message

POPT 2.0: another malloc issue

2010-06-17 Thread Jeff Johnson
This is another ancient (circa 1997) in POPT. The argv returned through certain interfaces ('d have to check, but the issue bites me every couple months) has everything allocated in one contiguous blob so that an experienced/lazy programmer just has to do const char * s = bing bang boom;

POPT 2.0: renaming to popt2 vs. loader maps and ELF versioned symbols

2010-06-17 Thread Jeff Johnson
There's a thread on gcrypt-devel that is directly relevant to POPT library compatibility and symbol handling: http://lists.gnupg.org/mailman/listinfo/gcrypt-devel (You will get a 403 Forbidden for the gcrypt-devel archives, go find a mirror) And for reference, there's Drepper's deep