aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-03-01 04:56:42 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-01 04:56:42 +0800
commit1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22 (patch)
treeacb3df4a597dc16202ac0a8aa9f2de6ffcb9a935
parent6b89252b9f2d3aff1ecd2779095a8b09685385c5 (diff)
downloadgsoc2013-evolution-1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22.tar
gsoc2013-evolution-1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22.tar.gz
gsoc2013-evolution-1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22.tar.bz2
gsoc2013-evolution-1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22.tar.lz
gsoc2013-evolution-1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22.tar.xz
gsoc2013-evolution-1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22.tar.zst
gsoc2013-evolution-1fb9d22a3a68b29d270fd95e996c2f9ce8e5ce22.zip
Changed offset variables from int's to off_t's since the system may
2002-02-28 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-parser.c: Changed offset variables from int's to off_t's since the system may support large files. svn path=/trunk/; revision=15874
-rw-r--r--camel/ChangeLog3
-rw-r--r--camel/camel-mime-parser.c8
2 files changed, 7 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index c8e48b9653..aac0e1b5a1 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,8 @@
2002-02-28 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-mime-parser.c: Changed offset variables from int's to
+ off_t's since the system may support large files.
+
* camel-mime-part-utils.c
(camel_mime_part_construct_content_from_parser): Rearrange the
save filter stuff so that we save raw streams for all mime
diff --git a/camel/camel-mime-parser.c b/camel/camel-mime-parser.c
index ea7b75f5ca..dd9c979d63 100644
--- a/camel/camel-mime-parser.c
+++ b/camel/camel-mime-parser.c
@@ -222,17 +222,17 @@ struct _header_scan_state {
int atleast;
- int seek; /* current offset to start of buffer */
+ off_t seek; /* current offset to start of buffer */
int unstep; /* how many states to 'unstep' (repeat the current state) */
unsigned int midline:1; /* are we mid-line interrupted? */
unsigned int scan_from:1; /* do we care about From lines? */
unsigned int scan_pre_from:1; /* do we return pre-from data? */
- int start_of_from; /* where from started */
- int start_of_headers; /* where headers started from the last scan */
+ off_t start_of_from; /* where from started */
+ off_t start_of_headers; /* where headers started from the last scan */
- int header_start; /* start of last header, or -1 */
+ off_t header_start; /* start of last header, or -1 */
/* filters to apply to all content before output */
int filterid; /* id of next filter */