Date: Mon, 1 Jul 1996 14:58:39 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: bde@zeta.org.au (Bruce Evans) Cc: bde@zeta.org.au, wollman@lcs.mit.edu, freebsd-current@freebsd.org Subject: Re: remote make install Message-ID: <199607012158.OAA06646@phaeton.artisoft.com> In-Reply-To: <199607011924.FAA05509@godzilla.zeta.org.au> from "Bruce Evans" at Jul 2, 96 05:24:07 am
next in thread | previous in thread | raw e-mail | index | archive | help
> >success/failure of its mailer programs. We have significantly > >extended this usage to other programs not being invoked by sendmail, > >because it can use useful to determine what happened to a program by > >examining its exit status. > > _You_ extended it :-). I only want evry program to print a good error > message before exiting with a nonzero status. Error codes aren't very > useful except for a small set of cooperating programs. Exit status interpretation is the province of the shell, which can print a localized error. Use of perror() in programs is recommended, but not mandatory. EX_* manifest constancs are not significantly more useful than exit status, and are effectively IPC tokens for sendmail more than anything else, anyway. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607012158.OAA06646>