SCO XENIX bug prevents smail from working correctly.

William E. Davidsen Jr davidsen at steinmetz.ge.com
Fri Jan 20 05:05:48 AEST 1989


In article <31 at elgar.UUCP> ag at elgar.UUCP (Keith Gabryelski) writes:
| 
| The SCO XENIX C compiler (mine is version 2.2) does not handle a
| return from main() correctly.  A return from main should be the same
| as an exit from main.  It isn't.

  There was a discussion of this in one of the C groups, and my
recollection of the result was that this is the way C works. When you
exit(status) the result is defined, and if you return(status) it isn't
always the same.
-- 
	bill davidsen		(wedu at ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me



More information about the Comp.unix.xenix mailing list