From 38b94446a41c6d3e9e7cbf0b241cfdae75de1d13 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 5 Mar 2008 20:58:08 +0000 Subject: [PATCH] - #42505, new sendmail default path breaks on Novell (Guenter Knauf) --- NEWS | 2 ++ main/main.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index fff96d0f4b..c739557977 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,8 @@ PHP NEWS - Fixed bug #44306 (Better detection of MIPS processors on Windows). (Ilia) - Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers()). (Ilia) +- Fixed bug #42505 (new sendmail default breaks on Netware platform) + (Guenter Knauf) 27 Feb 2008, PHP 5.2.6RC1 - Fixed security issue detailed in CVE-2008-0599. (Rasmus) diff --git a/main/main.c b/main/main.c index 02dddbca03..685fa9d7d3 100644 --- a/main/main.c +++ b/main/main.c @@ -352,9 +352,8 @@ static PHP_INI_MH(OnChangeMailForceExtra) # define PHP_SAFE_MODE_EXEC_DIR "" #endif -#if defined(PHP_PROG_SENDMAIL) && !defined(NETWARE) -# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i " -#elif defined(PHP_WIN32) +/* Windows and Netware use the internal mail */ +#if defined(PHP_WIN32) || defined(NETWARE) # define DEFAULT_SENDMAIL_PATH NULL #else # define DEFAULT_SENDMAIL_PATH "/usr/sbin/sendmail -t -i" -- 2.50.1