Hard to find memo bug (Was: Visor Support)



Index: conduits/memo_file/memo_file_conduit.c
===================================================================
RCS file: /cvs/gnome/gnome-pilot/conduits/memo_file/memo_file_conduit.c,v
retrieving revision 1.30
diff -r1.30 memo_file_conduit.c
252c252
< 	write(f,local->record,local->length-1);
---
> 	write(f,local->record,(local->length-1 > 0) ? local->length-1 : 0);
Chris Green <cmg@dok.org> writes:

> I switched to the serial cradle and things are fine except when it
> times out saving unsaved preferences sometimes and very hard to
> reproduce memo sync problems.

The CPU load jumps up for a few minutes and ~2GB of data is written to
a file named "empty" in the catagory "Unfiled"?  I found it occurs
everytime you create and delete a file between two syncs and I think
the attached diff fixes it.  I submitted this to bugs.gnome.org about
two days ago, but I haven't gotten a response, so I don't know if
any maintainer has gotten it yet.

-- 
Christopher A. Craig <ccraig@ccraig.org>
"Remember not to sacrifice volume for tone" -- Matt Seale
http://www.ccraig.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]