eina: fix stat failure when size, blocks count or serial number didn't
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 9 Mar 2011 14:49:35 +0000 (14:49 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 9 Mar 2011 14:49:35 +0000 (14:49 +0000)
      fit in 32bits.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@57624 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/eina_file.c

index 77f4e40..aea60fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,3 +27,8 @@
 
         * Fix a compilation failure when --disable-posix-threads
        --disable-valgrind are passed to configure
+
+2011-03-09  Cedric Bail
+
+       * Fix stat failure when file size in bytes or the number of blocks
+       allocated to the file or the file serial number didn't fit in 32bits.
index 08a8dd5..bbc1000 100644 (file)
@@ -21,6 +21,9 @@
 # include "config.h"
 #endif
 
+#undef _FILE_OFFSET_BITS
+#define _FILE_OFFSET_BITS 64
+
 #ifdef HAVE_ALLOCA_H
 # include <alloca.h>
 #elif defined __GNUC__