gmime r1044 - in trunk: . gmime tests
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1044 - in trunk: . gmime tests
- Date: Tue,  6 Feb 2007 05:28:28 +0000 (GMT)
Author: fejj
Date: 2007-02-06 05:28:28 +0000 (Tue, 06 Feb 2007)
New Revision: 1044
ViewCVS link: http://svn.gnome.org/viewcvs/gmime?rev=1044&view=rev
Modified:
   trunk/ChangeLog
   trunk/gmime/gmime-stream-cat.c
   trunk/tests/test-cat.c
Log:
2007-02-06  Jeffrey Stedfast  <fejj gnome org>
	More fixes on account of my test suite...
	* tests/test-cat.c (test_cat_substream): end = start + random
	amount... duh. Fixes a bug where sometimes the end bound was < the
	start bound.
	* gmime/gmime-stream-cat.c (stream_substream): Calculate the
	length of each of the source streams correctly. D'oh.
	(stream_substream): Fixed the calculation for s->start.
	(stream_substream): Fixed the s->end calculation for when end
	within the source stream's bounds.
	(stream_substream): Keep track of how long our substream is going
	to be for use with setting absolute bound_end on a multi-stream
	substream.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]