allow the user to chose in which directory the temporary file
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 25 Aug 2009 17:25:23 +0000 (17:25 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 25 Aug 2009 17:25:23 +0000 (17:25 +0000)
commite104ecbae069bfcb81918c5a44527d4278afd099
treed8d6c4bba90c78456e3fb780e03acc63035f5674
parentfa53471db3755327e5f6174a3eabf496b27e4550
allow the user to chose in which directory the temporary file
will be created. The logic is the following:

 * if the environment variable TMPDIR is set, use its value
 * if it is not set, take the directory passed with the
   -td option (see edje_cc help)
 * otherwise on Windows use a temporary dir and on other
   platform, use /tmp

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@41978 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/bin/edje_cc.c
src/bin/edje_cc.h
src/bin/edje_cc_out.c
src/bin/edje_cc_parse.c