Date: 05/18/01
- Next message: Andi Gutmans: "Re: [PHP-DEV] Open issues for 4.0.6"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard file.c"
- In reply to: egan <email protected>: "[PHP-DEV] Bug #10960: coding error in fopen_wrappers.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 18 May 2001 18:12:38 -0000, egan <email protected> wrote:
>--- fopen_wrappers.c.orig Mon Feb 26 00:07:31 2001
>+++ fopen_wrappers.c Fri May 18 12:40:54 2001
>@@ -147,7 +147,7 @@
> SLS_FETCH();
>
> /* Special case basedir==".": Use script-directory */
>- if ((strcmp(PG(open_basedir), ".") == 0) &&
>+ if ((strcmp(basedir), ".") == 0) &&
> SG(request_info).path_translated &&
> *SG(request_info).path_translated
> ) {
>
>
Whoops! Left in an extra paren. The fix should be:
>+ if ((strcmp(basedir, ".") == 0) &&
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] Open issues for 4.0.6"
- Previous message: Andi Gutmans: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard file.c"
- In reply to: egan <email protected>: "[PHP-DEV] Bug #10960: coding error in fopen_wrappers.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

