Skip to content

Commit

Permalink
more priints
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jul 28, 2024
1 parent 10befcd commit cafca65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ STATIC COUNT ChildEnv(exec_blk * exp, seg * pChildEnvSeg, const char FAR * pathn
pSrc = exp->exec.env_seg ?
MK_FP(exp->exec.env_seg, 0) : MK_FP(ppsp->ps_environ, 0);

fdloudprintf("aaa 1\n");
/* This loop had not counted the very last '\0'
-- 1999/04/21 ska */
if (pSrc && pSrc[0])
Expand Down Expand Up @@ -195,6 +196,7 @@ STATIC COUNT ChildEnv(exec_blk * exp, seg * pChildEnvSeg, const char FAR * pathn
mem_access_mode, pChildEnvSeg,
NULL /*(UWORD FAR *) MaxEnvSize ska */ )) < 0)
return RetCode;
fdloudprintf("aaa 2\n");
fd_mark_mem_np(MK_FP(*pChildEnvSeg + 1, 0), ((nEnvSize + ENV_KEEPFREE + 15)/16)*16,
FD_MEM_NORMAL);
pDest = MK_FP(*pChildEnvSeg + 1, 0);
Expand All @@ -218,6 +220,7 @@ STATIC COUNT ChildEnv(exec_blk * exp, seg * pChildEnvSeg, const char FAR * pathn
/* copy complete pathname */
if ((RetCode = truename(pathname, PriPathName, CDS_MODE_SKIP_PHYSICAL)) < SUCCESS)
{
fdloudprintf("aaa 3\n");
return RetCode;
}
fdloudprintf("aaa %s %s\n", GET_PTR(pathname), (char*)PriPathName);
Expand Down

0 comments on commit cafca65

Please sign in to comment.