summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-03-09 14:52:43 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-03-09 14:52:43 +0000
commit27e1157cdf4b2d4cec4c89cecf3eba9e149fb723 (patch)
tree15f2d131f7c0d2bbf23c5bc358e692810013f61d
parentccb44ec8ce3a499c806b1fd141b0a4d866abf3c5 (diff)
eina: backport [57624].
SVN revision: 57625
-rw-r--r--ChangeLog8
-rw-r--r--src/lib/eina_file.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 304e652..5de1709 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
12011-01-29 Carsten Haitzler (The Rasterman) 12011-01-29 Carsten Haitzler (The Rasterman)
2 2
3 1.0.0 release 3 1.0.0 release
4 4
5
62011-03-09 Cedric Bail
7
8 * Fix stat failure when file size in bytes or the number of blocks
9 allocated to the file or the file serial number didn't fit in 32bits.
10
diff --git a/src/lib/eina_file.c b/src/lib/eina_file.c
index 08a8dd5..bbc1000 100644
--- a/src/lib/eina_file.c
+++ b/src/lib/eina_file.c
@@ -21,6 +21,9 @@
21# include "config.h" 21# include "config.h"
22#endif 22#endif
23 23
24#undef _FILE_OFFSET_BITS
25#define _FILE_OFFSET_BITS 64
26
24#ifdef HAVE_ALLOCA_H 27#ifdef HAVE_ALLOCA_H
25# include <alloca.h> 28# include <alloca.h>
26#elif defined __GNUC__ 29#elif defined __GNUC__