cvs: php-src(PHP_5_0) /ext/standard mail.c
| From: | Anantha Kesari H Y | Date: | Thu, 28 Jul 2005 08:48:34 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/standard mail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33099@lists.php.net to get a copy of this message | ||
hyanantha Thu Jul 28 04:48:34 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/standard mail.c
Log:
defined EX_OK and EX_TEMPFAIL in ext/standard/mail.c for NETWARE rather than including a
sysexits.h
--Kamesh
http://cvs.php.net/diff.php/php-src/ext/standard/mail.c?r1=1.82.2.2&r2=1.82.2.3&ty=u
Index: php-src/ext/standard/mail.c
diff -u php-src/ext/standard/mail.c:1.82.2.2 php-src/ext/standard/mail.c:1.82.2.3
--- php-src/ext/standard/mail.c:1.82.2.2 Wed Jun 29 05:22:20 2005
+++ php-src/ext/standard/mail.c Thu Jul 28 04:48:31 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mail.c,v 1.82.2.2 2005/06/29 09:22:20 hyanantha Exp $ */
+/* $Id: mail.c,v 1.82.2.3 2005/07/28 08:48:31 hyanantha Exp $ */
#include <stdlib.h>
#include <ctype.h>
@@ -42,7 +42,8 @@
#endif
#ifdef NETWARE
-#include "netware/sysexits.h" /* For exit status codes like EX_OK */
+#define EX_OK 0 /* successful termination */
+#define EX_TEMPFAIL 75 /* temp failure; user is invited to retry */
#endif
#define SKIP_LONG_HEADER_SEP(str, pos) \