From: <enl...@li...> - 2004-04-20 03:14:53
|
Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/edje Dir : e17/libs/edje/src/bin Modified Files: edje_cc_parse.c Log Message: Hackish, but it fixes the problem with stupid cpp's. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_parse.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- edje_cc_parse.c 20 Apr 2004 02:07:11 -0000 1.18 +++ edje_cc_parse.c 20 Apr 2004 03:14:46 -0000 1.19 @@ -507,7 +507,7 @@ clean_file = tmpn; close(fd); atexit(clean_tmp_file); - snprintf(buf, sizeof(buf), "cpp -E %s > %s", file_in, tmpn); + snprintf(buf, sizeof(buf), "cat %s | cpp -E -o %s", file_in, tmpn); ret = system(buf); if (ret < 0) { |