| Commit in reactos/tools on MAIN | |||
| depends.c | +12 | 1.2 -> 1.3 | |
Skip leading comment lines
diff -u -r1.2 -r1.3 --- depends.c 20 Jul 2002 21:49:35 -0000 1.2 +++ depends.c 10 May 2004 10:51:36 -0000 1.3 @@ -27,6 +27,18 @@
} i = 0;
+ while ((ch = fgetc(stdin)) == '#')
+ {
+ while ((ch = fgetc(stdin)) != '\n' && ch != EOF)
+ {
+ }
+ }
+ if (ch != EOF)
+ {
+ buf[i] = ch;
+ i++;
+ }
+
while ((ch = fgetc(stdin)) != ':' && ch != EOF)
{
buf[i] = ch;