=================================================================== RCS file: /cvs/djgpp/djgpp/src/stub/stub.asm,v retrieving revision 1.3 retrieving revision 1.4 diff -p -u -r1.3 -r1.4 --- djgpp/src/stub/stub.asm 1998/09/07 18:54:26 1.3 +++ /cvs/djgpp/djgpp/src/stub/stub.asm 2001/06/09 20:43:06 1.4 @@ -716,6 +716,10 @@ load_dpmi: loadloop: mov ah, ';' ; Copy until this character call store_env_string ; to "loadname" + or al,al ; Check terminating character + jne @f1 ; If ';', continue + dec di ; else point at null for next pass. +@f1: cmp si, loadname ; anything there? je do_exec ; final try (no path) let it return mov al, [si-1]