Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76847 invoked by uid 1010); 26 Oct 2004 17:38:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74004 invoked from network); 26 Oct 2004 17:37:56 -0000 Received: from unknown (HELO mproxy.gmail.com) (216.239.56.251) by pb1.pair.com with SMTP; 26 Oct 2004 17:37:56 -0000 Received: by mproxy.gmail.com with SMTP id w67so102679cwb for ; Tue, 26 Oct 2004 10:37:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=C7Frmk5BD0iMJPWDNFubjWilQstiqzUPWQ0FELlUW77jsKBBcK115Bk5w9RKTsQeUkunS950OAKnXbSbWUtnJ4BnWPm1b0Beo5beA7W+VJiTNVaAWa1sS3PzUfhq3I5l6RqVJ2w3sKrfR3a94AlQ9Wpr7gSEqx+eRlJH0zvUWm0= Received: by 10.11.117.63 with SMTP id p63mr872844cwc; Tue, 26 Oct 2004 10:37:55 -0700 (PDT) Received: by 10.11.117.13 with HTTP; Tue, 26 Oct 2004 10:37:55 -0700 (PDT) Message-ID: <4e89b426041026103714bf1b1e@mail.gmail.com> Date: Tue, 26 Oct 2004 18:37:55 +0100 Reply-To: Wez Furlong To: Rob Richards Cc: internals@lists.php.net In-Reply-To: <064a01c4bb82$8f9d4d90$f7dea8c0@cyberware.local> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <064a01c4bb82$8f9d4d90$f7dea8c0@cyberware.local> Subject: Re: [PHP-DEV] streams file uri under windows From: kingwez@gmail.com (Wez Furlong) If you're sure it doesn't break something else, go ahead :) --Wez On Tue, 26 Oct 2004 13:38:04 -0400, Rob Richards wrote: > It possible to add this patch or something along these lines so that > file:/// syntax can be used under windows again? > A change on 8/31 was made to allow for file:// but now prevents file:/// > (which is valid) > > Index: streams.c > =================================================================== > RCS file: /repository/php-src/main/streams/streams.c,v > retrieving revision 1.68 > diff -r1.68 streams.c > 1496c1496 > < if (protocol && path[n+1] == '/' && path[n+2] == '/' && path[n+4] != > ':') { > --- > > if (protocol && path[n+1] == '/' && path[n+2] == '/' && path[n+4] != ':' > && path[n+3] != '/') { > > Rob > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >