rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: byron@netapp.com (Byron Rakitzis)
To: mkgardne@cs.uiuc.edu
Cc: rc@hawkwind.utcs.toronto.edu
Subject: Re: rsh and rc
Date: Fri, 6 Dec 1996 17:39:19 -0500	[thread overview]
Message-ID: <9612062239.AA04639@netapp.com> (raw)

I've seen this problem on Solaris as well, and I think my shell is
in /etc/shells also.

The problem is that there appears to be a bug in Solaris wait() so
that it returns ECHILD even when there is a dead child outstanding.

The only workaround I have found so far is to recompile with -lbsd
and go with the compatability-package wait(). It appears that POSIX
no longer supports the usual wait semantics. There is some other
call that you are supposed to use instead -- waitpid, something
like that, and I haven't bothered to learn about it yet. Nevermind
that I don't have access to Solaris machines these days any more,
either.

Sorry, I am writing in great haste right now, I hope the above
makes some sense.

Byron.



             reply	other threads:[~1996-12-06 22:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-06 22:39 Byron Rakitzis [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-12-06 21:07 Alan Watson
1996-12-06 20:50 Mark K. Gardner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9612062239.AA04639@netapp.com \
    --to=byron@netapp.com \
    --cc=mkgardne@cs.uiuc.edu \
    --cc=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).