aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-09-06 07:54:53 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-09-06 07:54:53 +0000
commit23694212858b9925ce1546b042dbdbf21c84de3d (patch)
treec1992f40e530b98b0bd3dd4470d13f14230ad31a
parent77219caf8da3fc8604ee3b0dcaafb69269a40b20 (diff)
don't use off_t in struct.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1146 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.ja6
-rw-r--r--libsylph/procmsg.h2
-rw-r--r--src/compose.h2
4 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 202d142a..3893d640 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-09-06
+ * libsylph/procmsg.h: MsgInfo
+ src/compose.h: AttachInfo: don't use off_t because it's size may
+ change between compile time.
+
+2006-09-06
+
* libsylph/socket.c: retry waitpid() when it is interrupted
(thanks to Stefaan).
diff --git a/ChangeLog.ja b/ChangeLog.ja
index cc687cd5..d3849cbf 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,11 @@
2006-09-06
+ * libsylph/procmsg.h: MsgInfo
+ src/compose.h: AttachInfo: コンパイル時にサイズが変わる可能性が
+ あるため off_t を使用しないようにした。
+
+2006-09-06
+
* libsylph/socket.c: waitpid() が割り込まれた場合は再試行するように
した(Stefaan さん thanks)。
diff --git a/libsylph/procmsg.h b/libsylph/procmsg.h
index 32172142..c349d7b5 100644
--- a/libsylph/procmsg.h
+++ b/libsylph/procmsg.h
@@ -169,7 +169,7 @@ struct _MsgFlags
struct _MsgInfo
{
guint msgnum;
- off_t size;
+ gsize size;
time_t mtime;
time_t date_t;
diff --git a/src/compose.h b/src/compose.h
index fdf2d133..d1eba0a9 100644
--- a/src/compose.h
+++ b/src/compose.h
@@ -197,7 +197,7 @@ struct _AttachInfo
gchar *content_type;
EncodingType encoding;
gchar *name;
- off_t size;
+ gsize size;
};
Compose *compose_new (PrefsAccount *account,