summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-03-24 19:27:11 +0000
committerRoland McGrath <roland@redhat.com>1993-03-24 19:27:11 +0000
commit722018bdbe63e4ed0c754ea82305df446a6508b5 (patch)
tree3b0135aa193466aa6eb496d28e3296f9f07529e1 /variable.c
parentbfe005e8a04378c558dfab113ba206e08af3da21 (diff)
downloadgunmake-722018bdbe63e4ed0c754ea82305df446a6508b5.tar.gz
Formerly variable.c.~20~
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index ab29f02..5a2c861 100644
--- a/variable.c
+++ b/variable.c
@@ -362,7 +362,7 @@ define_automatic_variables ()
{
free (v->value);
v->origin = o_file;
- v->value = savestring (default_shell, 7);
+ v->value = savestring (default_shell, strlen (default_shell));
}
/* Make sure MAKEFILES gets exported if it is set. */