logo       

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

Subject: cvs: TSRM(PHP_5_2) / tsrm_virtual_cwd.c tsrm_win32.c php-src NEWS
dmitry          Thu Dec 21 09:01:10 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /TSRM       tsrm_virtual_cwd.c tsrm_win32.c 
  Log:
  Removed dependency from SHELL32.DLL
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.448&r2=1.2027.2.547.2.449&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.448 php-src/NEWS:1.2027.2.547.2.449
--- php-src/NEWS:1.2027.2.547.2.448     Wed Dec 20 19:20:01 2006
+++ php-src/NEWS        Thu Dec 21 09:01:10 2006
@@ -1,6 +1,7 @@
 PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? Dec 2006, PHP 5.2.1RC2
+- Removed dependency from SHELL32.DLL. (Dmitry)
 - Added function stream_socket_shutdown(). It is a wraper for system shutdown()
   function, that shut downs part of a full-duplex connection. (Dmitry)
 - Added internal heap protection (Dmitry)
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_virtual_cwd.c?r1=1.74.2.9.2.14&r2=1.74.2.9.2.15&diff_format=u
Index: TSRM/tsrm_virtual_cwd.c
diff -u TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.14 
TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.15
--- TSRM/tsrm_virtual_cwd.c:1.74.2.9.2.14       Mon Nov 13 15:13:20 2006
+++ TSRM/tsrm_virtual_cwd.c     Thu Dec 21 09:01:10 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.14 2006/11/13 15:13:20 dmitry Exp $ */
+/* $Id: tsrm_virtual_cwd.c,v 1.74.2.9.2.15 2006/12/21 09:01:10 dmitry Exp $ */
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -35,11 +35,6 @@
 #ifdef TSRM_WIN32
 #include <io.h>
 #include "tsrm_win32.h"
-# if HAVE_NEWAPIS_H
-#  define WANT_GETLONGPATHNAME_WRAPPER
-#  define COMPILE_NEWAPIS_STUBS
-#  include <NewAPIs.h>
-# endif
 #endif
 
 #ifdef NETWARE
http://cvs.php.net/viewvc.cgi/TSRM/tsrm_win32.c?r1=1.27.2.1&r2=1.27.2.1.2.1&diff_format=u
Index: TSRM/tsrm_win32.c
diff -u TSRM/tsrm_win32.c:1.27.2.1 TSRM/tsrm_win32.c:1.27.2.1.2.1
--- TSRM/tsrm_win32.c:1.27.2.1  Sun Jan  1 12:50:00 2006
+++ TSRM/tsrm_win32.c   Thu Dec 21 09:01:10 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: tsrm_win32.c,v 1.27.2.1 2006/01/01 12:50:00 sniper Exp $ */
+/* $Id: tsrm_win32.c,v 1.27.2.1.2.1 2006/12/21 09:01:10 dmitry Exp $ */
 
 #include <stdio.h>
 #include <fcntl.h>
@@ -86,11 +86,19 @@
 
 TSRM_API int tsrm_win32_access(const char *pathname, int mode)
 {
-       SHFILEINFO sfi;
-
        if (mode == 1 /*X_OK*/) {
+#if 1
+               /* This code is not supported by Windows 98, 
+                * but we don't support it anymore */
+               DWORD type;
+
+               return GetBinaryType(pathname, &type)?0:-1;
+#else
+               SHFILEINFO sfi;
+
                return access(pathname, 0) == 0 && 
                        SHGetFileInfo(pathname, 0, &sfi, sizeof(SHFILEINFO), 
SHGFI_EXETYPE) != 0 ? 0 : -1;
+#endif
        } else {
                return access(pathname, mode);
        }

-- 
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:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
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