>>>>> "Kevin" == Kevin S Ford <[EMAIL PROTECTED]> writes:
Kevin> 1) I cannot save a file,
Kevin,
I had this problem as well. I did a bit of debugging on, but
didn't get to the bottom of it. The callback for FileBox was not
getting file name correctly. I'm not sure why. I ran out of time to
chase it up, then list went on holiday...
Regards,
Andy
>>>>> "Andrew" == Andrew S Howell <[EMAIL PROTECTED]> writes:
>>>>> "Ben" == Ben Kelly <[EMAIL PROTECTED]> writes:
Ben> Hey Andy, I'm having trouble reproducing this bug. Can you
Ben> give me a short list of steps that will cause the save to
Ben> fail?
Andrew> Ben,
Sorry to answer my own post...
Andrew> I'm wondering if it could be a lesstiff problem. When I
Looks like this is a "it can't possibly fail there" bug. The file name
that I enter is set in fileBoxCB but is null when fileBox
returns. In fileBox, the code that waits for the use to hit a button:
while( !done || XtAppPending(app) )
XtAppProcessEvent( app, XtIMAll );
/* save the last directory that the user worked in.
* we will offer up this same directory to the user next
* time they get to this box.
*/
if (fileName) { <-- null here...
Still a bit confused as how this could happen. The address passed in
to the callback's client data is the same as I see in fileBoxCB.
Maybe a compiler bug? I am running an old gcc.
Reading specs from /usr/lib/gcc-lib/i486-pc-linux-gnu/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
Regards,
Andy
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]