]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly variable.c.~20~
authorRoland McGrath <roland@redhat.com>
Wed, 24 Mar 1993 19:27:11 +0000 (19:27 +0000)
committerRoland McGrath <roland@redhat.com>
Wed, 24 Mar 1993 19:27:11 +0000 (19:27 +0000)
variable.c

index ab29f021e2f797d1b99891493605b4f4db872aec..5a2c86106a499eeacbad11480371650e906aeef4 100644 (file)
@@ -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.  */