aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-19 10:26:45 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-19 10:26:45 +0000
commit4cbe45934ec2352d87118d0d7a52ff926909a1eb (patch)
tree3cd9c1a2d6fdb0e5270551eb3d73d2596c292f52
parent9ed109429b6ad9b5950adafa560ec612787e88cc (diff)
downloadbusybox-4cbe45934ec2352d87118d0d7a52ff926909a1eb.tar.gz
small bug found after strength test
-rw-r--r--scripts/bb_mkdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bb_mkdep.c b/scripts/bb_mkdep.c
index 4af42b876..e1e4c6348 100644
--- a/scripts/bb_mkdep.c
+++ b/scripts/bb_mkdep.c
@@ -1,5 +1,5 @@
/*
- * Another fast dependencies generator for Makefiles, Version 2.1
+ * Another fast dependencies generator for Makefiles, Version 2.2
*
* Copyright (C) 2005 by Vladimir Oleynik <dzo@simtreas.ru>
* mmaping file may be originally by Linus Torvalds.
@@ -419,6 +419,7 @@ static void c_lex(const char *fname, long fsize)
put_id(c);
getc1();
}
+ c = 0;
ungetc1();
state = DV;
continue;