Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh hangs on IRIX 5.2 / me to: (SunOS4.1.3 + Solaris 2.4)



>/**/
>void
>attachtty(pid_t pgrp)
>{
...
>        {
>            if (kill(pgrp, 0) == -1)
>                attachtty(mypgrp);                     <===============
>            else {
...

The obvious solution is to add a flag so that this only retries once.
But in which circumstances is this retry needed at all?

-zefram




Messages sorted by: Reverse Date, Date, Thread, Author