cvs: php4 /ext/standard/ file.c

From: Date: Tue, 13 Jun 2000 15:48:38 +0000
Subject: cvs: php4 /ext/standard/ file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-229@lists.php.net to get a copy of this message
thies Tue Jun 13 08:48:38 2000 EDT Modified files: /php4/ext/standard file.c Log: copy() now creates the destination file with mode 0777 again. this is the way it used to be in PHP 3 Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.90 php4/ext/standard/file.c:1.91 --- php4/ext/standard/file.c:1.90 Mon Jun 12 12:39:04 2000 +++ php4/ext/standard/file.c Tue Jun 13 08:48:38 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.90 2000/06/12 19:39:04 andi Exp $ */ +/* $Id: file.c,v 1.91 2000/06/13 15:48:38 thies Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1685,7 +1685,7 @@ #ifdef PHP_WIN32 if ((fd_t=V_OPEN((Z_STRVAL_PP(target),_O_WRONLY|_O_CREAT|_O_TRUNC|_O_BINARY,_S_IREAD|_S_IWRITE)))==-1){ #else - if ((fd_t=V_CREAT(Z_STRVAL_PP(target),0700))==-1) { + if ((fd_t=V_CREAT(Z_STRVAL_PP(target),0777))==-1) { #endif php_error(E_WARNING,"Unable to create '%s': %s", Z_STRVAL_PP(target), strerror(errno)); close(fd_s);

« previous php.cvs (#229) next »