From: Vincent Torri <vtorri@univ-evry.fr>
authorVincent Torri <vtorri@univ-evry.fr>
Tue, 14 Jun 2011 07:02:14 +0000 (07:02 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 14 Jun 2011 07:02:14 +0000 (07:02 +0000)
commit345a754690b4322b9da2ff0fcdcb8c423b4a7317
tree8feca92793fa4d4a37343fcead50ab3091aa4ea6
parenta77179a60bd98bb5d97421fda500b6f7b9f719f2
From: Vincent Torri <vtorri@univ-evry.fr>
Subject: [E-devel] Edje: using fdopen instead of fopen in edje_cc

On windows, using open() followed by fopen() does not work. Hence, in
edje_cc, where mkstemp (which uses open) is followed by fopen, edje_cc
fails.

Instead of fopen, we can use fdopen. I pasted a  patch below. Can you
comment it (like, instead of keeping the filename in the function that
i  modified, why not using it for the fd?

(changes - closefd) removed from data_write_scripts() as fclose()
handles that)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@60299 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/bin/edje_cc_out.c