projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd88059
)
Sat Jun 22 14:56:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
author
Roland McGrath
<roland@redhat.com>
Sat, 22 Jun 1996 21:42:02 +0000
(21:42 +0000)
committer
Roland McGrath
<roland@redhat.com>
Sat, 22 Jun 1996 21:42:02 +0000
(21:42 +0000)
* read.c (conditional_line): Strip ws in `ifeq (a , b)' so it is the
same as `ifeq (a, b)'.
read.c
patch
|
blob
|
history
diff --git
a/read.c
b/read.c
index
c2de63b
..
1986c76
100644
(file)
--- a/
read.c
+++ b/
read.c
@@
-1091,7
+1091,16
@@
conditional_line (line, filename, lineno)
if (*line == '\0')
return -1;
- *line++ = '\0';
+ if (termin == ',')
+ {
+ /* Strip blanks after the first string. */
+ char *p = line++;
+ while (isblank (p[-1]))
+ --p;
+ *p = '\0';
+ }
+ else
+ *line++ = '\0';
s2 = variable_expand (s1);
/* We must allocate a new copy of the expanded string because