CVS update: php3
| From: | sas | Date: | Mon, 05 Apr 1999 21:34:25 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4941@lists.php.net to get a copy of this message | ||
Date: Monday April 5, 1999 @ 17:34
Author: sas
Update of /repository/php3
In directory asf:/u/temp/cvs-serv4309
Modified Files:
fopen-wrappers.c
Log Message:
don't strip double slashes, #1293
Index: php3/fopen-wrappers.c
diff -c php3/fopen-wrappers.c:1.57 php3/fopen-wrappers.c:1.58
*** php3/fopen-wrappers.c:1.57 Mon Feb 15 12:25:44 1999
--- php3/fopen-wrappers.c Mon Apr 5 17:34:23 1999
***************
*** 27,33 ****
| Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
! /* $Id: fopen-wrappers.c,v 1.57 1999/02/15 17:25:44 steffann Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
--- 27,33 ----
| Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
! /* $Id: fopen-wrappers.c,v 1.58 1999/04/05 21:34:23 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
***************
*** 131,137 ****
) {
local_open_basedir[local_open_basedir_pos--] = 0;
}
!
/* Strip double (back)slashes */
if (local_open_basedir_pos > 0) {
while ((
--- 131,139 ----
) {
local_open_basedir[local_open_basedir_pos--] = 0;
}
! /* stripping unnecessary slashes is left
! as an exercise to the underlying OS */
! #if 0
/* Strip double (back)slashes */
if (local_open_basedir_pos > 0) {
while ((
***************
*** 145,151 ****
local_open_basedir[local_open_basedir_pos--] = 0;
}
}
!
} else {
/* Else use the unmodified path */
strcpy(local_open_basedir, basedir);
--- 147,153 ----
local_open_basedir[local_open_basedir_pos--] = 0;
}
}
! #endif
} else {
/* Else use the unmodified path */
strcpy(local_open_basedir, basedir);
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net