X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Frun-program.lisp;h=f8a36a133bf6b0eced90a3e4c04435a98e08c523;hb=4b13aa3a7f0f4c6249e2787f4171e3c362d634c1;hp=d223e77dfa70e20f9e787b584fcf7cca75c8c180;hpb=068cf4b55af3f8f8acf2c7c06869441612261cd4;p=sbcl.git diff --git a/src/code/run-program.lisp b/src/code/run-program.lisp index d223e77..f8a36a1 100644 --- a/src/code/run-program.lisp +++ b/src/code/run-program.lisp @@ -249,7 +249,7 @@ PROCESS." (sb-sys:serve-all-events 1)) process) -#-(or hpux win32) +#-win32 ;;; Find the current foreground process group id. (defun find-current-foreground-process (proc) (with-alien ((result sb-alien:int)) @@ -274,18 +274,11 @@ PROCESS." ((:pid :process-group) (process-pid process)) (:pty-process-group - #-hpux (find-current-foreground-process process))))) (multiple-value-bind (okay errno) (case whom - #+hpux - (:pty-process-group - (sb-unix:unix-ioctl (sb-sys:fd-stream-fd (process-pty process)) - sb-unix:TIOCSIGSEND - (sb-sys:int-sap - signal))) - ((:process-group #-hpux :pty-process-group) + ((:process-group) (sb-unix:unix-killpg pid signal)) (t (sb-unix:unix-kill pid signal)))