joosters                Wed Mar 21 07:15:31 2001 EDT

  Modified files:              
    /php4/ext/standard  mail.c 
  Log:
  
  UnixWare 7.1 does not have EX_TEMPFAIL or (as far as I can tell)
  a concept of a temporary failure response to pclose().
  
  
Index: php4/ext/standard/mail.c
diff -u php4/ext/standard/mail.c:1.31 php4/ext/standard/mail.c:1.32
--- php4/ext/standard/mail.c:1.31       Sun Feb 25 22:07:23 2001
+++ php4/ext/standard/mail.c    Wed Mar 21 07:15:31 2001
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: mail.c,v 1.31 2001/02/26 06:07:23 andi Exp $ */
+/* $Id: mail.c,v 1.32 2001/03/21 15:15:31 joosters Exp $ */
 
 #include <stdlib.h>
 #include <ctype.h>
@@ -174,7 +174,11 @@
                }
                fprintf(sendmail, "\n%s\n", message);
                ret = pclose(sendmail);
+#if defined(EX_TEMPFAIL)
                if ((ret != EX_OK)&&(ret != EX_TEMPFAIL)) {
+#else
+               if (ret != EX_OK) {
+#endif
                        return 0;
                } else {
                        return 1;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to