From 8f81d22c989808d3889a7ad6806903adec5ae27b Mon Sep 17 00:00:00 2001 From: tjg Date: Thu, 15 Aug 2002 12:51:27 +0000 Subject: Bug: variables that are sometimes exported (i.e. $prompt and $version) need to be made exportable if they are inherited from the environment. --- ChangeLog | 6 ++++++ var.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9358c09..954ff12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -796,3 +796,9 @@ Changes since rc-1.5b2 2002-07-31 Bug: readline doesn't handle EIO either. + +2002-08-15 + + Bug: variables that are sometimes exported (i.e. $prompt and + $version) need to be made exportable if they are inherited from the + environment. diff --git a/var.c b/var.c index 83c5ff9..ee8c228 100644 --- a/var.c +++ b/var.c @@ -48,6 +48,7 @@ extern bool varassign_string(char *extdef) { strcpy(new->extdef, extdef); if (i != -1) alias(name, varlookup(name), FALSE); + set_exportable(name, TRUE); return TRUE; } -- cgit v1.2.3