cvs: TSRM / tsrm_virtual_cwd.c

[email protected] ("Antony Dovgal")
Newsgroups php.zend-engine.cvs
Message-ID <cvstony20011206101235@cvsserver>
tony2001		Fri Mar 21 12:07:15 2008 UTC

  Modified files:              
    /TSRM	tsrm_virtual_cwd.c 
  Log:
  sync with 5_3
  
  
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.119&r2=1.120&diff_format=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.119 TSRM/tsrm_virtual_cwd.c:1.120
--- TSRM/tsrm_virtual_cwd.c:1.119	Mon Dec 31 07:12:06 2007
+++ TSRM/tsrm_virtual_cwd.c	Fri Mar 21 12:07:14 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: tsrm_virtual_cwd.c,v 1.119 2007/12/31 07:12:06 sebastian Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.120 2008/03/21 12:07:14 tony2001 Exp $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -534,7 +534,7 @@
 	}
 
 	if (use_cache) {
-		t = CWDG(realpath_cache_ttl)?sapi_get_request_time(TSRMLS_C):0;
+		t = CWDG(realpath_cache_ttl)?time(0):0;
 		if ((bucket = realpath_cache_find(path, path_length, t TSRMLS_CC)) != NULL) {		
 			int len = bucket->realpath_len;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.