Re: Re: Bug #11144 [NEW]: Recent commit to support chdir better broke tests on win
| From: | Helgi Þormar Þorbjörnsson | Date: | Sat, 26 May 2007 14:36:18 +0000 |
| Subject: | Re: Re: Bug #11144 [NEW]: Recent commit to support chdir better broke tests on win | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-4324@lists.php.net to get a copy of this message | ||
It doesn't work to reply to the bug reports ;) Doesn't go into the bug
system it self :)
- Helgi
On 5/26/07, Tias <tias@ulyssis.org> wrote:
Sorry, I was unaware of the path separator difference, thanks for the fix. On Fri, May 25, 2007 at 06:35:38PM -0000, dufuz at php dot net wrote:From: dufuzOperating system: Win XP sp2 Package version: CVSPHP version: Irrelevant Package: PEAR Bug Type: BugBug description: Recent commit to support chdir better broke tests on win Description: ------------ The recent addition was like this: set_include_path(get_include_path().':'.getcwd()); // allows chdir but should be like this: set_include_path(get_include_path(). PATH_SEPARATOR .getcwd()); // allows chdir The reason, path separators aren't the same on win and *nix -- Edit bug report at http://pear.php.net/bugs/bug.php?id=11144&edit=1 -- -- PEAR QA Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php