logo       

cvs: TSRM(PHP_5_2) / tsrm_virtual_cwd.c php-src NEWS: msg#00047

Subject: cvs: TSRM(PHP_5_2) / tsrm_virtual_cwd.c php-src NEWS
dmitry          Tue Jul 24 09:07:33 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /TSRM       tsrm_virtual_cwd.c 
  Log:
  Fixed bug #42027 is_file() / is_dir() matches file/dirnames with wildcard 
char or trailing slash
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.846&r2=1.2027.2.547.2.847&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.846 php-src/NEWS:1.2027.2.547.2.847
--- php-src/NEWS:1.2027.2.547.2.846     Mon Jul 23 23:03:09 2007
+++ php-src/NEWS        Tue Jul 24 09:07:33 2007
@@ -62,6 +62,8 @@
 - Fixed bug #42072 (No warning message for clearstatcache() with arguments).
   (Ilia)
 - Fixed bug #42071 (ini scanner allows using NULL as option name). (Jani)
+- Fixed bug #42027 is_file() / is_dir() matches file/dirnames with wildcard
+  char or trailing slash. (Dmitry)
 - Fixed bug #42019 (configure option --with-adabas=DIR does not work). (Jani)
 - Fixed bug #42015 (ldap_rename(): server error "DSA is unwilling to perform").
   (bob at mroczka dot com, Jani)
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.9.2.33&r2=1.74.2.9.2.34&diff_format=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.33 
TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.34
--- TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.33       Mon Jul 23 08:57:04 2007
+++ TSRM/tsrm_virtual_cwd.c     Tue Jul 24 09:07:33 2007
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.33 2007/07/23 08:57:04 dmitry Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.34 2007/07/24 09:07:33 dmitry Exp $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -565,6 +565,13 @@
 #endif
 no_realpath:
 
+#ifdef TSRM_WIN32
+               if (memchr(path, '*', path_length) ||
+                   memchr(path, '?', path_length)) {
+                       return 1;
+               }
+#endif
+
                free_path = path_copy = tsrm_strndup(path, path_length);
                CWD_STATE_COPY(&old_state, state);
 

-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe