hey,

no objection of i commit the patch below ? It's for Windows :p

Vincent


Index: src/bin/edje_cc_parse.c
===================================================================
--- src/bin/edje_cc_parse.c     (révision 39091)
+++ src/bin/edje_cc_parse.c     (copie de travail)
@@ -721,7 +721,7 @@
        free(def);
  */
      }
-   fd = open(file_in, O_RDONLY | O_BINARY);
+   fd = open(file_in, O_RDONLY | O_BINARY, S_IRUSR | S_IWUSR);
    if (fd < 0)
      {
fprintf(stderr, "%s: Error. cannot open file \"%s\" for input. %s\n",
Index: src/bin/edje_cc_handlers.c
===================================================================
--- src/bin/edje_cc_handlers.c  (révision 39091)
+++ src/bin/edje_cc_handlers.c  (copie de travail)
@@ -823,7 +823,7 @@
    di->key = parse_str(0);
    filename = parse_str(1);

-   fd = open(filename, O_RDONLY | O_BINARY);
+   fd = open(filename, O_RDONLY | O_BINARY, S_IRUSR | S_IWUSR);
    if (fd < 0)
      {
fprintf(stderr, "%s: Error. %s:%i when opening file \"%s\": \"%s\"\n",
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to