On Wed, 9 Mar 2011, Enlightenment SVN wrote:

> Log:
> eina: fix stat failure when size, blocks count or serial number didn't
>        fit in 32bits.
>
>
> Author:       cedric
> Date:         2011-03-09 06:49:35 -0800 (Wed, 09 Mar 2011)
> New Revision: 57624
> Trac:         http://trac.enlightenment.org/e/changeset/57624
>
> Modified:
>  trunk/eina/ChangeLog trunk/eina/src/lib/eina_file.c
>
> Modified: trunk/eina/ChangeLog
> ===================================================================
> --- trunk/eina/ChangeLog      2011-03-09 13:28:31 UTC (rev 57623)
> +++ trunk/eina/ChangeLog      2011-03-09 14:49:35 UTC (rev 57624)
> @@ -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.
>
> Modified: trunk/eina/src/lib/eina_file.c
> ===================================================================
> --- trunk/eina/src/lib/eina_file.c    2011-03-09 13:28:31 UTC (rev 57623)
> +++ trunk/eina/src/lib/eina_file.c    2011-03-09 14:49:35 UTC (rev 57624)
> @@ -21,6 +21,9 @@
> # include "config.h"
> #endif
>
> +#undef _FILE_OFFSET_BITS
> +#define _FILE_OFFSET_BITS 64

that's the wrong way. Use autoconf macro AC_SYS_LARGEFILE. See

http://www.gnu.org/software/autoconf/manual/autoconf.html#System-Services

Vincent

> +
> #ifdef HAVE_ALLOCA_H
> # include <alloca.h>
> #elif defined __GNUC__
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to