Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1712 → Rev 1713

/svarcom/trunk/command.c
974,7 → 974,7
rmod_envseg = MK_FP(rmod->rmodseg, RMOD_OFFSET_ENVSEG);
lastexitcode = MK_FP(rmod->rmodseg, RMOD_OFFSET_LEXITCODE);
 
/* make COMPSEC point to myself */
/* make COMSPEC point to myself */
set_comspec_to_self(*rmod_envseg);
 
/* on /P check for the presence of AUTOEXEC.BAT and execute it if found,
1110,7 → 1110,7
}
}
 
/* update rmod's ptr to COMPSPEC so it is always up to date */
/* update rmod's ptr to COMSPEC so it is always up to date */
rmod_updatecomspecptr(rmod->rmodseg, *rmod_envseg);
 
/* handle redirections (if any) */
/svarcom/trunk/rmod.asm
38,7 → 38,7
; boot drive". this value is patched by the transient part of COMMAND.COM
COMSPECPTR dw 0 ; +CEh
 
; fallback COMSPEC string used if no COMPSEC is present in the environment
; fallback COMSPEC string used if no COMSPEC is present in the environment
; drive. drive is patched by the transient part of COMMAND.COM
COMSPECBOOT db "@:\COMMAND.COM", 0 ; +D0h