[OT] Re: return level?

David Relson relson at osagesoftware.com
Tue Feb 18 16:22:34 CET 2003


At 10:05 AM 2/18/03, Greg Louis wrote:

>On 20030218 (Tue) at 0946:16 -0500, Greg Louis wrote:
> > On 20030218 (Tue) at 0836:15 -0600, Bob Parnass, AJ9S wrote:
> > > In UNIX-type sysetms, exit codes represented by 8 bits, right?
>
> > No: this is from manpage exit(3).
>
>That documented that C returns an int; in fact, in Linux 2.4, do_exit()
>uses a long for the return code.
>
>The $? value in the shell does get just 8 bits, though.


It may have to do with the fact that the program is being invoked from a 
python script.  I seem to remember that there's some high/low byte stuff 
that happens with subprocesses.  I wonder if that's relevant.

So far, actual details of how he's running bogofilter are lacking...





More information about the Bogofilter mailing list