On Sun, 13 May 2007 22:52:37 +0200
"Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote:

> On Saturday, 12 May 2007 22:18, Tim Dijkstra wrote:
> > Hi,
> > 
> > OK, it turns out that my last patch for adding comments to usage had a
> > horrible bug. Although (struct option_descr) would yield a (struct option), 
> > as anticipated, the increment of the pointers of these structs ofcourse
> > wouldn't...
> > 
> > Anyway the patch below fixes this, although also in a bit hackish way.
> > usage() expects an \0 in the option.name string, and after that a comment.
> > Like this:
> > 
> >    "help\0this text"
> 
> Hmm, couldn't we use a separate array of strings for that?

Yes, but I thought this was nice and compact;)

Anyway, after Pavel's OK, I committed it. I can change it of course if
you insist...

grts Tim

Attachment: signature.asc
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to