diff options
author | Paul Smith <psmith@gnu.org> | 2007-06-19 04:47:58 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2007-06-19 04:47:58 +0000 |
commit | a94019907222057e5c2ab6baa6816fcab73c686b (patch) | |
tree | a2681e0b310d732452b899b6091d7d5afe81dbfe /read.c | |
parent | eda0e24ccdae279a2c12059242ef89a22c274047 (diff) | |
download | gunmake-a94019907222057e5c2ab6baa6816fcab73c686b.tar.gz |
Fix a core dump when reading_file is 0 (20033).
Fix some manual typos (20018).
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -463,7 +463,7 @@ eval (struct ebuffer *ebuf, int set_default) #define record_waiting_files() \ do \ - { \ + { \ if (filenames != 0) \ { \ fi.lineno = tgts_started; \ @@ -570,7 +570,7 @@ eval (struct ebuffer *ebuf, int set_default) remove_comments (collapsed); /* Compare a word, both length and contents. */ -#define word1eq(s) (wlen == sizeof(s)-1 && strneq (s, p, sizeof(s)-1)) +#define word1eq(s) (wlen == sizeof(s)-1 && strneq (s, p, sizeof(s)-1)) p = collapsed; while (isspace ((unsigned char)*p)) ++p; @@ -608,7 +608,7 @@ eval (struct ebuffer *ebuf, int set_default) if (!in_ignored_define) { - int i = conditional_line (p, wlen, fstart); + int i = conditional_line (p, wlen, fstart); if (i != -2) { if (i == -1) |