On 11/12/2010 11:31 AM, Enlightenment SVN wrote:
> Log:
>       * eet: don't open file two small to be valid.

This got to be the wrong fix. In READ_WRITE we want to open 0 size 
files. We just want to trigger the goto empty_file further down.

Sebastian

>
> Author:       cedric
> Date:         2010-11-12 02:31:07 -0800 (Fri, 12 Nov 2010)
> New Revision: 54491
>
> Modified:
>    trunk/eet/src/lib/eet_lib.c
>
> Modified: trunk/eet/src/lib/eet_lib.c
> ===================================================================
> --- trunk/eet/src/lib/eet_lib.c       2010-11-12 09:51:02 UTC (rev 54490)
> +++ trunk/eet/src/lib/eet_lib.c       2010-11-12 10:31:07 UTC (rev 54491)
> @@ -1555,8 +1555,7 @@
>                goto open_error;
>             }
>
> -        if ((mode == EET_FILE_MODE_READ)&&
> -            (file_stat.st_size<  ((int)sizeof(int) * 3)))
> +        if (file_stat.st_size<  ((int)sizeof(int) * 3))
>             {
>                fclose(fp);
>                fp = NULL;
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to