Re: cvs: php-src /main/streams streams.c
| From: | Wez Furlong | Date: | Mon, 24 Nov 2003 00:44:08 +0000 |
| Subject: | Re: cvs: php-src /main/streams streams.c | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-24637@lists.php.net to get a copy of this message | ||
Ah, it's char **path_for_open....
I thought there was some bad pointer stuff going on there.
--Wez.
> #ifdef PHP_WIN32
> if (*(*path_for_open + 1) != ':')
> #endif
> (*path_for_open)--;
> And this last says: If the next character is a colon, we're dealing with
a
> win file path, so we want to pass off "C:/foo.txt". If it's not a colon,
> we've got a more traditional path (i.e.: '/foo.txt') so we want to back up
> one to include the original '/'