Re: popt-1.13 release

2007-12-18 Thread Jeff Johnson
On Dec 15, 2007, at 7:34 PM, Robert Scheck wrote: Yes the colum spacing looks better, but whenever an umlaut (ä, ö, ü, Ä, Ö, Ü, ß) or similar should be displayed, it aborts somehow. Please note, that I can't reproduce when having LANG=C for example. Oh, and it's NOT kudzu having this

Re: popt-1.13 release

2007-12-19 Thread Jeff Johnson
On Dec 19, 2007, at 2:26 AM, Robert Scheck wrote: Moin Jeff, On Wed, 19 Dec 2007, Jeff Johnson wrote: See if the attached patch (the minimum necessary reversion to popt-1.12 afaict) fixes your linux problems. If the patch fixes the linux problems, I'll see if I can rework the Solaris

Re: popt-1.13 release

2008-01-11 Thread Jeff Johnson
On Jan 11, 2008, at 2:49 AM, Takao Fujiwara - Tokyo S/W Center wrote: Actually I'm not sure what is your problem. Which applications do you try? It seems recently some of modules, GTK, Bonobo and GNOME session, uses goption. When the application uses --help options, it includes the output

Re: Allow equal after a short option

2008-03-08 Thread Jeff Johnson
On Mar 8, 2008, at 12:02 PM, Wayne Davison wrote: I think it would be nice to allow an equal to separate a short option letter from its abutting argument. e.g. these commands using the test1 executable would all work the same: ./test1 -2 foo ./test1 -2=foo ./test1 -2foo ./test1 --arg2

Re: Allow equal after a short option

2008-03-09 Thread Jeff Johnson
On Mar 9, 2008, at 10:14 AM, Wayne Davison wrote: On Sun, Mar 09, 2008 at 12:42:37AM -0500, Jeff Johnson wrote: /bin/echo on my system is unmodified from Fedora 9 coreutils-6.10-4.fc9.i386 Interesting. So, what do you get with a manual run? /bin/echo --foo --bar /bin/echo -- --foo

popt-1.14 release

2008-04-02 Thread Jeff Johnson
I've built popt-1.14 for release in the next couple of days. The SRPM for popt-1.4 that I will be releasing is at http://wraptastic.org/pub/i386-linux/SRPMS/popt-1.14-1.src.rpm Enjoy! 73 de Jeff __ POPT Library

Permit arg units (like 100Kb), add getdate?

2008-05-01 Thread Jeff Johnson
While using popt in another program, I came across 2 usage cases that might be usefully internalized in popt. One usage case was an attempt to specify a memory limit as --memory 16777216 Adding unit scaling, e.g. --memory 16Mb --memory 16384Kb would not be hard to add using something

Named bit fields ala ancient BSD %b format

2008-05-01 Thread Jeff Johnson
While I'm thinking about popt features, here is another: The BSD kernel (iirc) devised a means to map bit files to names using a %b format. A string was used to map bit# - name. E.g. here's an example from some rpmdb code that I use for output purposes static const char * dbtFlags =

Re: Some umlaut issues in popt 1.15 (the old thing again)

2008-05-25 Thread Jeff Johnson
On May 25, 2008, at 9:19 AM, Robert Scheck wrote: Hello all, I've claimed that I can see some umlaut issues with popt 1.14 and I really would like to see it solved, now. Reproducer is for me as follows. Using popt-1.13-3 from Fedora 8, 9 or Rawhide, I simply executed the following: $

Re: Some umlaut issues in popt 1.15 (the old thing again)

2008-05-25 Thread Jeff Johnson
is not such hard as I got you - if needed for 1.14+ or so On May 25, 2008, at 6:34 PM, Jeff Johnson wrote: On May 25, 2008, at 9:19 AM, Robert Scheck wrote: Hello all, I've claimed that I can see some umlaut issues with popt 1.14 and I really would like to see it solved, now. Reproducer

Fwd: Adding poptSecuritySaneFile to popt-1.15?

2008-12-19 Thread Jeff Johnson
/initialization. At the same time, I will probably add a new poptReadConfigFiles() method whose argument will be a colon separated list of configuration file paths to read. Any other opinions? 73 de Jeff Begin forwarded message: From: Jeff Johnson n3...@mac.com Date: December 18, 2008 3:15:33 PM EST

Re: [PATCH] added pkgconfig support for popt

2009-07-24 Thread Jeff Johnson
On Jul 24, 2009, at 11:03 AM, Ralf S. Engelschall wrote: Only true if you install POPT into standard system locations. But if I install POPT with --includedir=/usr/include/popt --libdir=/usr/lib/ popt the pkg-config file still allows me to build and link against POPT without having to know

Re: Test failure for popt 1.16

2010-05-11 Thread Jeff Johnson
On May 10, 2010, at 7:57 PM, Pieter Bowman wrote: I did builds of popt 1.16 on a number of our systems here. Test 59 failed on a number of the systems with the following output: The fix for the failure in popt-1.16 make check is likely (I have easy no easy means of testing across all the

Re: Disallowing args

2010-06-05 Thread Jeff Johnson
On Jun 5, 2010, at 12:48 PM, Wayne Davison wrote: On Sat, Jun 5, 2010 at 8:56 AM, Jeff Johnson n3...@mac.com wrote: but --foo bar returns bar in the argument list? Yes. The user may well have wanted it to be in the arg list. There's no way for the program to know that the user

Re: Disallowing args

2010-06-05 Thread Jeff Johnson
On Jun 5, 2010, at 12:42 PM, Danny Sung wrote: On 06/05/2010 8:56 AM, Jeff Johnson wrote: (aside) Anything you want to see in POPT 2.0? I'm collecting features ... Since you're collecting features... =) One thing I'd like is to extend the help/usage capability just a little. Well

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

Re: POPT 2.0: version stamping in includes

2010-06-18 Thread Jeff Johnson
On Jun 18, 2010, at 9:03 PM, Michael Jennings wrote: Ah, okay. I guess I was envisioning for runtime checks: void *f = dlopen(NULL, RTLD_LAZY); if (dlsym(f, popt_something)) { ... } Any idea how portably POSIX dlsym() is in 2010? There's the GNUish dlvsym() that needs

A better example usage case for POPT_ARG_BITSET

2010-06-21 Thread Jeff Johnson
One of the more subtle additions in popt-1.16 is POPT_ARG_BITSET This a Bloom filter data type that parses option arguments as a CSV and adds to the bit set. What is difficult to describe is why/how Bloom filters work (wikipedia does an excellent job) and particularly how to describe

Re: popt with msvc?

2010-10-27 Thread Jeff Johnson
On Oct 27, 2010, at 12:25 AM, Matt Arsenault wrote: On Oct 26, 2010, at 11:27 PM, Jeff Johnson wrote: What test are failing? Like long long and double, the tests are quite complete over data types and It Really Doesn't Matter: hardly ant program needs/uses long long and double CLI

Re: popt with msvc?

2010-10-28 Thread Jeff Johnson
On Oct 28, 2010, at 12:50 AM, Matt Arsenault wrote: Other than those failed tests, I do now have it working without the need to revert to an older version. If you send alon a patch for VS, I'll try to carry that in popt (I don't do VS or Windoze but ..) There's a patch for Xcode in popt

Re: AW: INFO: Popt 1.14 license evaluation - response appreciated

2011-03-14 Thread Jeff Johnson
On Mar 14, 2011, at 7:41 AM, Hulin, Gerlinde (E D EA SOL D TC1) wrote: Hello, I was wondering if you could respond to my question ? Are ou going to get the issues sorted out regarding the license texts ? I thought this reply (Mark Hatle is part of the the @rpm5.org project that

Re: AW: INFO: Popt 1.14 license evaluation - response appreciated

2011-03-14 Thread Jeff Johnson
On Mar 14, 2011, at 7:41 AM, Hulin, Gerlinde (E D EA SOL D TC1) wrote: Hello, I was wondering if you could respond to my question ? Are ou going to get the issues sorted out regarding the license texts ? Is the most important issue -- highlighted in RED -- the fact that the POPT license

Re: Please remove the following content

2011-07-05 Thread Jeff Johnson
On Jul 5, 2011, at 4:32 AM, Hulin, Gerlinde (E D EA SOL D TC1) wrote: Hello, The following two mails got in your archive without my agreeement. I cannot accept that my complete adress and email contact is online. My memory of the series of events leading to these messages goes like this:

Re: Support for variable number of arguments in popt

2011-09-07 Thread Jeff Johnson
On Sep 7, 2011, at 4:44 AM, Christian Schmidt wrote: Hi, I'm trying to parse a command line that can contain multiple variable number of arguments for a parameter, e.g. program -r /dev/sda /dev/sdb -m /dev/sdc /dev/sdd -b 16m … Traditionally, uglix was designed with the model