Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet/src/lib


Modified Files:
        eet_memfile.c 


Log Message:


spew out errors

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_memfile.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- eet_memfile.c       28 Oct 2004 09:54:02 -0000      1.5
+++ eet_memfile.c       6 May 2005 08:59:23 -0000       1.6
@@ -10,7 +10,12 @@
    FILE *f;
    
    f = tmpfile();
-   if (!f) return NULL;
+   if (!f)
+     {
+       printf("EET: Error opening tmp file (no fmemopen support fallback):\n");
+       perror("tmpfile()");
+       return NULL;
+     }
    fwrite(data, size, 1, f);
    rewind(f);
    return f;




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to