cvs: php4 / NEWS /ext/standard basic_functions.c file.c
| From: | Zeev Suraski | Date: | Sat, 19 Aug 2000 18:01:04 +0000 |
| Subject: | cvs: php4 / NEWS /ext/standard basic_functions.c file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1237@lists.php.net to get a copy of this message | ||
zeev Sat Aug 19 11:01:04 2000 EDT
Modified files:
/php4 NEWS
/php4/ext/standard basic_functions.c file.c
Log:
- Update NEWS
- Fix non ZTS Windows build
Index: php4/NEWS
diff -u php4/NEWS:1.401 php4/NEWS:1.402
--- php4/NEWS:1.401 Sat Aug 19 09:40:23 2000
+++ php4/NEWS Sat Aug 19 11:01:04 2000
@@ -2,6 +2,9 @@
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2000, Version 4.0.2
+- Fixed memory leaks in eval(); A script that used eval() extensively, could
+ end up consuming very large amounts of memory during execution (Zeev, Zend
+ Engine)
- Fixed memory_limit feature, which did not work properly in previous versions
(Zeev, Zend Engine)
- Fixed stdout support with the swf extension. (Sterling)
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.237 php4/ext/standard/basic_functions.c:1.238
--- php4/ext/standard/basic_functions.c:1.237 Tue Aug 15 03:32:55 2000
+++ php4/ext/standard/basic_functions.c Sat Aug 19 11:01:04 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.237 2000/08/15 10:32:55 stas Exp $ */
+/* $Id: basic_functions.c,v 1.238 2000/08/19 18:01:04 zeev Exp $ */
#include "php.h"
#include "php_main.h"
@@ -395,10 +395,14 @@
#if HAVE_SYS_TIME_H
PHP_FE(socket_set_timeout, NULL)
#else
- PHP_FALIAS(socket_set_timeout , warn_not_available, NULL)
+ PHP_FALIAS(socket_set_timeout, warn_not_available, NULL)
#endif
PHP_FE(socket_get_status, NULL)
+#if !PHP_WIN32 || defined(ZTS)
PHP_FE(realpath, NULL)
+#else
+ PHP_FALIAS(realpath, warn_not_available, NULL)
+#endif
/* functions from fsock.c */
PHP_FE(fsockopen, third_and_fourth_args_force_ref)
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.103 php4/ext/standard/file.c:1.104
--- php4/ext/standard/file.c:1.103 Sun Aug 6 09:22:07 2000
+++ php4/ext/standard/file.c Sat Aug 19 11:01:04 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.103 2000/08/06 16:22:07 andi Exp $ */
+/* $Id: file.c,v 1.104 2000/08/19 18:01:04 zeev Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -1974,6 +1974,7 @@
/* }}} */
+#if !PHP_WIN32 || defined(ZTS)
/* {{{ proto string realpath(string path)
Return the resolved path */
PHP_FUNCTION(realpath)
@@ -1994,7 +1995,7 @@
}
}
/* }}} */
-
+#endif
#if 0