mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 02:02:42 +02:00
commit bash-20090903 snapshot
This commit is contained in:
@@ -3366,6 +3366,11 @@ valid_exportstr (v)
|
||||
char *s;
|
||||
|
||||
s = v->exportstr;
|
||||
if (s == 0)
|
||||
{
|
||||
internal_error (_("%s has null exportstr"), v->name);
|
||||
return (0);
|
||||
}
|
||||
if (legal_variable_starter ((unsigned char)*s) == 0)
|
||||
{
|
||||
internal_error (_("invalid character %d in exportstr for %s"), *s, v->name);
|
||||
|
||||
Reference in New Issue
Block a user