[6641] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.1H: are exit codes signed or unsigned?

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Dec 20 19:41:42 1990

To: bugs@ATHENA.MIT.EDU
Date: Thu, 20 Dec 90 19:41:28 EST
From: Barr3y.Jaspan@ATHENA.MIT.EDU, bjaspan@mit.edu <bjaspan@ATHENA.MIT.EDU>

System name:		yaz-pistachio
Type and version:	MVAX-II 7.1H
Display type:		QVSS

What were you trying to do?

Run xrn (from the sipb locker).

What's wrong:

It has a bug that causes it to exit with return status 11111111b.
Yesterday, I was on an RT when it happened, and the shell reported
that xrn exited with status 255; today, on a vax, the shell reported
an exit status of -1.

I assume that one of them is *wrong*.  This could potentially break
some programs/shell scripts that depend on return values being
correct.

What should have happened:

I should have seen the same exit code on both machines, whichever way
it is actually supposed to be.

home help back first fref pref prev next nref lref last post