From ac94df5d484b0fad990ec1a42492a3bd3d4b68e8 Mon Sep 17 00:00:00 2001 From: Phil Budne Date: Tue, 15 Mar 2016 21:29:38 -0400 Subject: [PATCH] update shell comments --- src/other/pbsh.s | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/other/pbsh.s b/src/other/pbsh.s index b723481..1bb0038 100644 --- a/src/other/pbsh.s +++ b/src/other/pbsh.s @@ -280,11 +280,15 @@ parent: " try to read any messages) the shell's blocked smes call returned an " error indication that the target process did not exist. Thus the " shell's smes became, in effect, the equivalent of wait. - dac pid - lac delimchar +" +" PLB: The "exit" system call code apears to "fall" into the +" rmes code So Dennis' memory of what the shell did may have +" been correct, but not for the reason he remembered. + dac pid " save child pid + lac delimchar " get command delimiter sad o46 " ampersand? jmp newcom " yes: go back without wait - lac pid + lac pid " no: get pid sys smes " hang until child exits 2: lac delimchar sad o73 " semi?