Re: [Autogen-users] windows + libopts
Brought to you by:
bkorb
From: Bruce K. <bru...@gm...> - 2012-11-25 23:33:19
|
On 11/25/12 14:54, Nikos Mavrogiannopoulos wrote: > Hello, > I noticed that in windows the help string of my program is something like: > -v, --$s$s Output version information and exit > -h, --$s$s Display extended usage information and exit > > The offending code seems to be the string "--%2$s%1$s\0" in usage-txt.h > and the 2$ and 1$ operators. I couldn't quite get the logic in order to > simplify it, but if it could be avoided it would fix the --help option > on that system. I'll look. I am supposed to be using an internal printf library that would correctly handle the argument indexes. Obviously, whatever printf library is in use is off in la-la land somewhere. It ought to either error out or do the right thing. Windows. I'm not really surprised. Oh, if you would, please: autogen --trace=everything --trace-out=/tmp/something ..... and email that, along with the .c file, I could chase it down more readily. Thanks! - Bruce |