mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-22 21:34:33 +02:00
Commented out the wrong parts of task.c for now :-(
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@411 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
c874cbfbbd
commit
8567cb9ed5
@ -406,8 +406,11 @@ COUNT DosComLoader(BYTE FAR * namep, exec_blk FAR * exp, COUNT mode)
|
|||||||
/* If file not found - error */
|
/* If file not found - error */
|
||||||
/* NOTE - this is fatal because we lost it in transit */
|
/* NOTE - this is fatal because we lost it in transit */
|
||||||
/* from DosExec! */
|
/* from DosExec! */
|
||||||
/* if ((rc = DosOpen(namep, 0)) < 0)
|
if ((rc = DosOpen(namep, 0)) < 0)
|
||||||
fatal("(DosComLoader) com file lost in transit");*/
|
#if 0
|
||||||
|
fatal("(DosComLoader) com file lost in transit")
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
||||||
/* do it in 32K chunks */
|
/* do it in 32K chunks */
|
||||||
if ((com_size = DosGetFsize(rc)) != 0)
|
if ((com_size = DosGetFsize(rc)) != 0)
|
||||||
@ -716,12 +719,12 @@ COUNT DosExeLoader(BYTE FAR * namep, exec_blk FAR * exp, COUNT mode)
|
|||||||
/* If file not found - error */
|
/* If file not found - error */
|
||||||
/* NOTE - this is fatal because we lost it in transit */
|
/* NOTE - this is fatal because we lost it in transit */
|
||||||
/* from DosExec! */
|
/* from DosExec! */
|
||||||
#if 0
|
|
||||||
if ((rc = DosOpen(namep, 0)) < 0)
|
if ((rc = DosOpen(namep, 0)) < 0)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
fatal("(DosExeLoader) exe file lost in transit");
|
fatal("(DosExeLoader) exe file lost in transit");
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
/* offset to start of image */
|
/* offset to start of image */
|
||||||
if (doslseek(rc, image_offset, 0) != image_offset)
|
if (doslseek(rc, image_offset, 0) != image_offset)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user