projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37af376
)
Skip leading comment lines
author
Gé van Geldorp
<ge@gse.nl>
Mon, 10 May 2004 10:51:36 +0000
(10:51 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Mon, 10 May 2004 10:51:36 +0000
(10:51 +0000)
svn path=/trunk/; revision=9341
reactos/tools/depends.c
patch
|
blob
|
history
diff --git
a/reactos/tools/depends.c
b/reactos/tools/depends.c
index
b157a5e
..
ed73b03
100644
(file)
--- a/
reactos/tools/depends.c
+++ b/
reactos/tools/depends.c
@@
-27,6
+27,18
@@
int main(int argc, char* argv[])
}
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;