[PHP-DEV] CVS update: php31/main From: rasmus (php-dev <email protected>)
Date: 05/31/98

Date: Sunday May 31, 1998 @ 17:03
Author: rasmus

Update of /repository/php31/main
In directory asf:/tmp/cvs-serv29228/main

Modified Files:
        fopen-wrappers.c
Log Message:
strlen cleanups

Index: php31/main/fopen-wrappers.c
diff -c php31/main/fopen-wrappers.c:1.5 php31/main/fopen-wrappers.c:1.6
*** php31/main/fopen-wrappers.c:1.5 Fri May 29 18:42:32 1998
--- php31/main/fopen-wrappers.c Sun May 31 17:03:24 1998
***************
*** 27,33 ****
     | Jim Winstead <jimw <email protected>> |
     +----------------------------------------------------------------------+
   */
! /* $Id: fopen-wrappers.c,v 1.5 1998/05/29 22:42:32 shane Exp $ */
  
  #ifdef THREAD_SAFE
  #include "tls.h"
--- 27,33 ----
     | Jim Winstead <jimw <email protected>> |
     +----------------------------------------------------------------------+
   */
! /* $Id: fopen-wrappers.c,v 1.6 1998/05/31 21:03:24 rasmus Exp $ */
  
  #ifdef THREAD_SAFE
  #include "tls.h"
***************
*** 202,208 ****
          hash_index_update(&GLOBAL(include_names), 0, (void *) &fn, sizeof(char *), NULL);
  
          temp = strdup(fn);
! _php3_dirname(temp);
          if (*temp)
                  chdir(temp);
          free(temp);
--- 202,208 ----
          hash_index_update(&GLOBAL(include_names), 0, (void *) &fn, sizeof(char *), NULL);
  
          temp = strdup(fn);
! _php3_dirname(temp,strlen(temp));
          if (*temp)
                  chdir(temp);
          free(temp);