sorry for that. Here it is:

Index: src/lib/Evil.h
===================================================================
--- src/lib/Evil.h      (révision 37267)
+++ src/lib/Evil.h      (copie de travail)
@@ -134,7 +134,7 @@
 #  define S_IXGRP S_IXUSR
 #  define S_IXOTH S_IXUSR

-#  define open(path,...) _open((path),__VA_ARGS__)
+#  define open(path,...) _open((path), _O_BINARY | (__VA_ARGS__) )
 #  define close(fd) _close(fd)
 #  define read(fd,buffer,count) _read((fd),(buffer),(count))
 #  define write(fd,buffer,count) _write((fd),(buffer),(count))

Thanks & regards,
Lionel

2008/10/28 Vincent Torri <[EMAIL PROTECTED]>:
>
> Hey,
>
>> here is a tiny patch to make the open() function from Evil.h closer to
>> the real posix open() function. Without the _O_BINARY flag, the opened
>> filestream is postprocessed under Windows, which leads to unexpected
>> carriage returns in binary files, such as in eet files for example.
>>
>> Thanks for reviewing and applying if possible.
>
> I think that SF removed the attached file. If the patch is tiny, just put it
> in the body of the mail, it will be sufficient
>
> thank you
>
> Vincent
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to