cvs: php-src /ext/standard mail.c
| From: | Antony Dovgal | Date: | Fri, 09 Jan 2009 16:33:57 +0000 |
| Subject: | cvs: php-src /ext/standard mail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55499@lists.php.net to get a copy of this message | ||
tony2001 Fri Jan 9 16:33:57 2009 UTC
Modified files:
/php-src/ext/standard mail.c
Log:
fix ZTS build
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/mail.c?r1=1.101&r2=1.102&diff_format=u
Index: php-src/ext/standard/mail.c
diff -u php-src/ext/standard/mail.c:1.101 php-src/ext/standard/mail.c:1.102
--- php-src/ext/standard/mail.c:1.101 Fri Jan 9 15:00:36 2009
+++ php-src/ext/standard/mail.c Fri Jan 9 16:33:57 2009
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mail.c,v 1.101 2009/01/09 15:00:36 iliaa Exp $ */
+/* $Id: mail.c,v 1.102 2009/01/09 16:33:57 tony2001 Exp $ */
#include <stdlib.h>
#include <ctype.h>
@@ -227,7 +227,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);