Skip to content

Commit 8b2fbcd

Browse files
committed
test
1 parent 004f5a5 commit 8b2fbcd

3 files changed

Lines changed: 6 additions & 880 deletions

File tree

src/cmd/ksh93/sh/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1886,13 +1886,13 @@ static void env_init(void)
18861886
char *cp;
18871887
char **ep=environ;
18881888
int save_env_n = 0;
1889-
error(ERROR_warn(0),"[DEBUG] env_init called");
18901889
if(ep)
18911890
{
18921891
while(cp = *ep++)
18931892
{
18941893
if(strncmp(cp,"KSH_VERSION=",12)==0)
18951894
continue;
1895+
if(strncmp(cp,"_AST_DEBUG=",11)==0)error(ERROR_warn(0),"[DEBUG] env_init called");
18961896
if(!nv_open(cp,sh.var_tree,(NV_EXPORT|NV_IDENT|NV_ASSIGN|NV_NOFAIL)) && !sh.save_env_n)
18971897
{ /*
18981898
* If the shell assignment via nv_open() failed, we cannot import this

0 commit comments

Comments
 (0)