Enlightenment CVS committal Author : raster Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/bin Modified Files: edje_cc_parse.c Log Message: oops arg order... fix. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_cc_parse.c,v retrieving revision 1.34 retrieving revision 1.35 diff -u -3 -r1.34 -r1.35 --- edje_cc_parse.c 10 Jan 2005 05:51:14 -0000 1.34 +++ edje_cc_parse.c 10 Jan 2005 06:15:00 -0000 1.35 @@ -609,7 +609,8 @@ static char tmpn[4096]; strcpy(tmpn, "/tmp/edje_cc.edc-tmp-XXXXXX"); - strncpy(inc, file_in, 4000); inc[4001] = 0; + strncpy(inc, file_in, 4000); + inc[4001] = 0; p = strrchr(inc, '/'); if (!p) strcpy(inc, "./"); else *p = 0; @@ -642,11 +643,13 @@ strcat(def, " "); } } - snprintf(buf, sizeof(buf), "cat %s | /usr/bin/cpp -I%s %s -E -o %s", inc, file_in, def, tmpn); + snprintf(buf, sizeof(buf), "cat %s | /usr/bin/cpp -I%s %s -E -o %s", + file_in, inc, def, tmpn); ret = system(buf); if (ret < 0) { - snprintf(buf, sizeof(buf), "/usr/bin/gcc -I%s %s -E -o %s %s", inc, def, tmpn, file_in); + snprintf(buf, sizeof(buf), "/usr/bin/gcc -I%s %s -E -o %s %s", + inc, def, tmpn, file_in); ret = system(buf); } if (ret >= 0) file_in = tmpn; ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs