gmime r1043 - in trunk: . gmime
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1043 - in trunk: . gmime
- Date: Tue, 6 Feb 2007 04:10:20 +0000 (GMT)
Author: fejj
Date: 2007-02-06 04:10:20 +0000 (Tue, 06 Feb 2007)
New Revision: 1043
ViewCVS link: http://svn.gnome.org/viewcvs/gmime?rev=1043&view=rev
Modified:
trunk/ChangeLog
trunk/gmime/gmime-stream-cat.c
Log:
2007-02-05 Jeffrey Stedfast <fejj gnome org>
Fixes on accord of the awesome test suite I wrote earlier... still
need to fix ::substream() tho (or maybe it's just the test that's
broke?).
* gmime/gmime-stream-cat.c: Added an id member to struct
_cat_node, for use with debugging...
(stream_read): Seek in the source stream, don't call
Cat::stream_seek() to do it.
(stream_seek): Swapped the logic of the "within bounds" check, had
it backwards. When seeking past a stream, set the node->position
to the length of the stream (technically, it's like we read() thru
all that data, right?). Instead of resetting all streams starting
at n->next, reset them all starting at current->next... since 'n'
technically might be before 'current'.
(g_mime_stream_cat_add_source): Assign each node an id for easier
debugging...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]