Skip to content

Commit

Permalink
more prints
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jul 28, 2024
1 parent cafca65 commit 527069b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions kernel/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +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");
DebugPrintf(("DosExeLoader. aaa 1\n"));
/* This loop had not counted the very last '\0'
-- 1999/04/21 ska */
if (pSrc && pSrc[0])
Expand Down Expand Up @@ -196,7 +196,7 @@ fdloudprintf("aaa 1\n");
mem_access_mode, pChildEnvSeg,
NULL /*(UWORD FAR *) MaxEnvSize ska */ )) < 0)
return RetCode;
fdloudprintf("aaa 2\n");
DebugPrintf(("DosExeLoader. 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 @@ -220,10 +220,10 @@ fdloudprintf("aaa 2\n");
/* copy complete pathname */
if ((RetCode = truename(pathname, PriPathName, CDS_MODE_SKIP_PHYSICAL)) < SUCCESS)
{
fdloudprintf("aaa 3\n");
DebugPrintf(("DosExeLoader. aaa 3\n"));
return RetCode;
}
fdloudprintf("aaa %s %s\n", GET_PTR(pathname), (char*)PriPathName);
DebugPrintf(("aaa %s %s\n", GET_PTR(pathname), (char*)PriPathName));
fstrcpy(pDest, PriPathName);

/* Theoretically one could either:
Expand Down Expand Up @@ -714,7 +714,9 @@ STATIC COUNT DosExeLoader(const char FAR * namep, exec_blk FAR * exp, COUNT mode
mem_access_mode |= 0x80;
}

DebugPrintf(("DosExeLoader. pre-env\n"));
rc = ChildEnv(exp, &env, namep);
DebugPrintf(("DosExeLoader. post-env %i\n", rc));

if (rc == SUCCESS)
/* Now find out how many paragraphs are available */
Expand Down

0 comments on commit 527069b

Please sign in to comment.