Hackish, but it fixes the problem with stupid cpp's.
authorrbdpngn <rbdpngn>
Tue, 20 Apr 2004 03:14:46 +0000 (03:14 +0000)
committerrbdpngn <rbdpngn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 20 Apr 2004 03:14:46 +0000 (03:14 +0000)
SVN revision: 9804

legacy/edje/src/bin/edje_cc_parse.c

index 3126210..71ea96e 100644 (file)
@@ -507,7 +507,7 @@ compile(void)
        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)
          {