summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2007-06-19 04:47:58 +0000
committerPaul Smith <psmith@gnu.org>2007-06-19 04:47:58 +0000
commita94019907222057e5c2ab6baa6816fcab73c686b (patch)
treea2681e0b310d732452b899b6091d7d5afe81dbfe /read.c
parenteda0e24ccdae279a2c12059242ef89a22c274047 (diff)
downloadgunmake-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/read.c b/read.c
index e50a76c..6f13e40 100644
--- a/read.c
+++ b/read.c
@@ -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)