aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog17
-rw-r--r--camel/camel-disco-diary.c8
2 files changed, 17 insertions, 8 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 33d85a4404..feda231667 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,7 +1,14 @@
+2001-08-24 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-disco-diary.c (camel_disco_diary_replay): Use fseek
+ instead of fseeko since we want to be portable and use ftell
+ rather than ftello for the same reason.
+ (camel_disco_diary_empty): Same here.
+
2001-08-24 Peter Williams <peterw@ximian.com>
- * Revert Not Zed's previous commits as they apparently can
- cause serious data loss for POP3 users.
+ * Revert Not Zed's previous commits as they apparently can cause
+ serious data loss for POP3 users.
2001-08-24 Ettore Perazzoli <ettore@ximian.com>
@@ -20,7 +27,8 @@
output buffer size. iconv bugs? returns E2BIG forever on some
(valid) data?
- * providers/local/camel-spool-summary.c (summary_rebuild): Likewise.
+ * providers/local/camel-spool-summary.c (summary_rebuild):
+ Likewise.
* providers/local/camel-mbox-summary.c (summary_rebuild):
Summarising is spelt with an s.
@@ -34,7 +42,8 @@
member, says the character encoding is raw, not utf8.
* providers/local/camel-spool-summary.c
- (spool_summary_sync_quick): Synchronising is spelt with an s, not a z.
+ (spool_summary_sync_quick): Synchronising is spelt with an s, not
+ a z.
(spool_summary_sync_full): "
* providers/local/camel-mbox-summary.c (mbox_summary_sync_full):
diff --git a/camel/camel-disco-diary.c b/camel/camel-disco-diary.c
index 66063e8a78..7bbceb1ee0 100644
--- a/camel/camel-disco-diary.c
+++ b/camel/camel-disco-diary.c
@@ -270,14 +270,14 @@ camel_disco_diary_replay (CamelDiscoDiary *diary, CamelException *ex)
off_t size;
double pc;
- fseeko (diary->file, 0, SEEK_END);
- size = ftello (diary->file);
+ fseek (diary->file, 0, SEEK_END);
+ size = ftell (diary->file);
g_return_if_fail (size != 0);
rewind (diary->file);
camel_operation_start (NULL, _("Resynchronizing with server"));
while (!camel_exception_is_set (ex)) {
- pc = ftello (diary->file) / size;
+ pc = ftell (diary->file) / size;
camel_operation_progress (NULL, pc * 100);
if (camel_file_util_decode_uint32 (diary->file, &action) == -1)
@@ -399,7 +399,7 @@ camel_disco_diary_new (CamelDiscoStore *store, const char *filename, CamelExcept
gboolean
camel_disco_diary_empty (CamelDiscoDiary *diary)
{
- return ftello (diary->file) == 0;
+ return ftell (diary->file) == 0;
}
void