]> granicus.if.org Git - php/commitdiff
- Update NEWS
authorZeev Suraski <zeev@php.net>
Sat, 19 Aug 2000 18:01:04 +0000 (18:01 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 19 Aug 2000 18:01:04 +0000 (18:01 +0000)
- Fix non ZTS Windows build

NEWS
ext/standard/basic_functions.c
ext/standard/file.c

diff --git a/NEWS b/NEWS
index 94686baf6c173f4daf25f0d7b0e952b569f52237..02d01761ce2d412d207e31e3891de0f286c5606b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,9 @@ PHP 4.0                                                                    NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 
 ?? ??? 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 84be4cae4abb0e023dc74e362d76462083bc2c23..bd7781d04bda77679bcb216af9ce4e0d7483daae 100644 (file)
@@ -395,10 +395,14 @@ function_entry basic_functions[] = {
 #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 e8e703559ce13d36118f6bf338fd7cf1829bb1ca..47dd9445a97f9bca5ae4badd2df95e982d3fbb17 100644 (file)
@@ -1974,6 +1974,7 @@ PHP_FUNCTION(fgetcsv) {
 
 /* }}} */
 
+#if !PHP_WIN32 || defined(ZTS)
 /* {{{ proto string realpath(string path)
    Return the resolved path */
 PHP_FUNCTION(realpath)
@@ -1994,7 +1995,7 @@ PHP_FUNCTION(realpath)
        }
 }
 /* }}} */
-
+#endif
 
 
 #if 0