On Tue, 07 Feb 2006 15:03:34 -0500 David Hampton <[EMAIL PROTECTED]> wrote:
> On Tue, 2006-02-07 at 14:52 -0500, Chris Shoemaker wrote: > > Author: chris > > Date: 2006-02-07 14:52:29 -0500 (Tue, 07 Feb 2006) > > New Revision: 13140 > > Trac: http://svn.gnucash.org/trac/changeset/13140 > > > > Modified: > > gnucash/trunk/src/bin/gnucash-bin.c > > Log: > > Recompute argc after argv may have changed. > > g_option_context already updates argc. Any reason you didn't just pass a > pointer to argc into gnucash_command_line instead of recomputing the > value a second time? help me understand this, if you would: popt doesn't change argc or argv, but g_option_context does and the change wasn't coming back to main() right? So Chris just down and dirty reset argc so that it was in sync with argv. am I unserstanding this correctly? A > > David > > > _______________________________________________ > gnucash-devel mailing list > [email protected] > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
pgpM70vLJPTgj.pgp
Description: PGP signature
_______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
