Subject: CVS commit: pkgsrc/mail/msmtp
To: None <pkgsrc-changes@NetBSD.org>
From: Ben Collver <ben@netbsd.org>
List: pkgsrc-changes
Date: 01/01/2006 18:59:04
Module Name:	pkgsrc
Committed By:	ben
Date:		Sun Jan  1 18:59:04 UTC 2006

Modified Files:
	pkgsrc/mail/msmtp: distinfo
Added Files:
	pkgsrc/mail/msmtp/patches: patch-ab

Log Message:
The msmtp manual states that it uses the same exit codes as sendmail.
Most of these exit codes are defined in gnulib/sysexit_.h
EX_OK is defined as 0 in src/msmtp.c if it wasn't already defined.
The variable error_code is assigned these exit values, and returned at
the end of main().

On Interix, EX_OK is defined in unistd.h:
#define EX_OK           0x8001  /* test for regular executable */

patch-ab changes the logic so that when error_code == EX_OK, the exit
code is 0 instead of EX_OK.  This should work everywhere.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 pkgsrc/mail/msmtp/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/mail/msmtp/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.