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? Rafael ------------------------------------------------------------------------- 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