cvs: php-src(PHP_5_3) /ext/standard mail.c
| From: | Antony Dovgal | Date: | Fri, 09 Jan 2009 15:08:10 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/standard mail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55498@lists.php.net to get a copy of this message | ||
tony2001 Fri Jan 9 15:08:10 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard mail.c
Log:
fix ZTS build
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/mail.c?r1=1.87.2.1.2.7.2.7&r2=1.87.2.1.2.7.2.8&diff_format=u
Index: php-src/ext/standard/mail.c
diff -u php-src/ext/standard/mail.c:1.87.2.1.2.7.2.7 php-src/ext/standard/mail.c:1.87.2.1.2.7.2.8
--- php-src/ext/standard/mail.c:1.87.2.1.2.7.2.7 Fri Jan 9 14:59:30 2009
+++ php-src/ext/standard/mail.c Fri Jan 9 15:08:10 2009
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mail.c,v 1.87.2.1.2.7.2.7 2009/01/09 14:59:30 iliaa Exp $ */
+/* $Id: mail.c,v 1.87.2.1.2.7.2.8 2009/01/09 15:08:10 tony2001 Exp $ */
#include <stdlib.h>
#include <ctype.h>
@@ -233,7 +233,7 @@
char *f;
size_t f_len;
- php_basename(tmp, strlen(tmp), NULL, 0,&f, &f_len);
+ php_basename(tmp, strlen(tmp), NULL, 0,&f, &f_len TSRMLS_CC);
if (headers != NULL) {
spprintf(&hdr, 0, "%s\r\nX-PHP-Originating-Script: %ld:%s\n", headers,
php_getuid(), f);