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:
b45d1ae
)
Formerly variable.c.~12~
author
Roland McGrath
<roland@redhat.com>
Fri, 23 Oct 1992 19:57:55 +0000
(19:57 +0000)
committer
Roland McGrath
<roland@redhat.com>
Fri, 23 Oct 1992 19:57:55 +0000
(19:57 +0000)
variable.c
patch
|
blob
|
history
diff --git
a/variable.c
b/variable.c
index
8d05198
..
46b691e
100644
(file)
--- a/
variable.c
+++ b/
variable.c
@@
-360,6
+360,7
@@
define_automatic_variables ()
/* Don't let SHELL come from the environment. */
if (*v->value == '\0' || (v->origin == o_env))
{
+ free (v->value);
v->origin = o_file;
v->value = savestring (default_shell, 7);
}