Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site genrad.UUCP Path: utzoo!linus!genrad!john From: john@genrad.UUCP (John Nelson) Newsgroups: net.news.b Subject: Re: recmail problems Message-ID: <3357@genrad.UUCP> Date: Thu, 9-Jun-83 13:36:07 EDT Article-I.D.: genrad.3357 Posted: Thu Jun 9 13:36:07 1983 Date-Received: Thu, 9-Jun-83 17:13:50 EDT References: <307@qubix.UUCP> Organization: GenRad, Bolton, Mass. Lines: 7 I also noticed this problem with recmail under 4.1BSD (funny exit values) and it appears to be because a normal termination does not return a value from main, or call exit with an argument of zero, but rather falls off the end (apparently leaving garbage in the register normally used for the return value) Maybe this is a problem exclusively with the 4.1BSD compiler. Anyway, the solution is to put an explicit exit(0) before the last closing bracket