raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=97c3eedbabc2fdaa989ead0e26be76dd74e02f0c

commit 97c3eedbabc2fdaa989ead0e26be76dd74e02f0c
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Jul 21 16:35:21 2017 +0900

    evas xpm loader - don't error print for files that cant be mmaped
    
    no point complaining because we can't mmap... it'd be an unloadable
    file.
---
 src/modules/evas/image_loaders/xpm/evas_image_load_xpm.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/modules/evas/image_loaders/xpm/evas_image_load_xpm.c 
b/src/modules/evas/image_loaders/xpm/evas_image_load_xpm.c
index cd669d576a..54db7ed0fd 100644
--- a/src/modules/evas/image_loaders/xpm/evas_image_load_xpm.c
+++ b/src/modules/evas/image_loaders/xpm/evas_image_load_xpm.c
@@ -1723,11 +1723,7 @@ evas_image_load_file_xpm(Eina_File *f, 
Evas_Image_Property *prop, void *pixels,
    if (length < 9) goto on_error;
 
    map = eina_file_map_all(f, load_data ? EINA_FILE_WILLNEED : 
EINA_FILE_RANDOM);
-   if (!map)
-     {
-        ERR("XPM ERROR: file failed to mmap");
-        goto on_error;
-     }
+   if (!map) goto on_error;
 
    if (strncmp("/* XPM */", map, 9))
      {

-- 


Reply via email to