Formerly expand.c.~5~
authorRoland McGrath <roland@redhat.com>
Sun, 25 Oct 1992 03:01:07 +0000 (03:01 +0000)
committerRoland McGrath <roland@redhat.com>
Sun, 25 Oct 1992 03:01:07 +0000 (03:01 +0000)
expand.c

index 1237da1..ae3d8e1 100644 (file)
--- a/expand.c
+++ b/expand.c
@@ -251,7 +251,7 @@ variable_expand (line)
                        p = savestring (subst_beg, subst_len);
                        p1 = savestring (replace_beg, replace_len);
                        o = patsubst_expand (o, value, p, p1,
-                                            index (p, '%'), index (p1, '%'));
+                                            (char *) 0, (char *) 0);
                        free (p);
                        free (p1);
                      }