Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
McDutchie committed Dec 27, 2024
1 parent 004f5a5 commit 8b2fbcd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 880 deletions.
2 changes: 1 addition & 1 deletion src/cmd/ksh93/sh/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1886,13 +1886,13 @@ static void env_init(void)
char *cp;
char **ep=environ;
int save_env_n = 0;
error(ERROR_warn(0),"[DEBUG] env_init called");
if(ep)
{
while(cp = *ep++)
{
if(strncmp(cp,"KSH_VERSION=",12)==0)
continue;
if(strncmp(cp,"_AST_DEBUG=",11)==0)error(ERROR_warn(0),"[DEBUG] env_init called");
if(!nv_open(cp,sh.var_tree,(NV_EXPORT|NV_IDENT|NV_ASSIGN|NV_NOFAIL)) && !sh.save_env_n)
{ /*
* If the shell assignment via nv_open() failed, we cannot import this
Expand Down
Loading

0 comments on commit 8b2fbcd

Please sign in to comment.