Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 01:21:27PM -1000, Joshua Hoblitt wrote: > On Sat, Dec 10, 2005 at 03:04:09PM -0800, chromatic wrote: > > Seems reasonable to me, unless curdir() can ever return 0 or undef, and > > also fixes my bug #37875. > > We could explicitly test if the return eq '' which would let 0

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
Awww, I bet you meant bug #37865. #37876 is clearly a duplicate so I'm going to merge #37876 into #37865. -J -- On Sat, Dec 10, 2005 at 02:48:25PM -1000, Joshua Hoblitt wrote: > On Sat, Dec 10, 2005 at 03:04:09PM -0800, chromatic wrote: > > Seems reasonable to me, unless curdir() can ever return

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 03:04:09PM -0800, chromatic wrote: > Seems reasonable to me, unless curdir() can ever return 0 or undef, and > also fixes my bug #37875. It there something 'magical' about 37875? RT won't let me view it. -- RT Error No permission to view ticket -- -J -- pgpL6

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 03:04:09PM -0800, chromatic wrote: > On Sat, 2005-12-10 at 12:52 -1000, Joshua Hoblitt wrote: > > > I think we need to also change Parrot::IO::Directory->relative_path() to > > filter out '' and replace it with '.' or else we'll have to bundle a > > recent version of File::

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread chromatic
On Sat, 2005-12-10 at 12:52 -1000, Joshua Hoblitt wrote: > I think we need to also change Parrot::IO::Directory->relative_path() to > filter out '' and replace it with '.' or else we'll have to bundle a > recent version of File::Spec with Parrot, which I'm not too enthusiastic > about. > > A revi

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Joshua Hoblitt
On Sat, Dec 10, 2005 at 09:07:50PM +, Alberto Sim??es wrote: > > > Alberto Simoes via RT wrote: > >We can depend on 3.13 instead of 3.14. > > From File::Spec Changelog: > > > >3.13 Tue Nov 15 23:50:37 CST 2005 > > > >[...] > > > > - abs2rel() used to return the empty string when its two arg

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Alberto Simões
Alberto Simoes via RT wrote: We can depend on 3.13 instead of 3.14. From File::Spec Changelog: 3.13 Tue Nov 15 23:50:37 CST 2005 [...] - abs2rel() used to return the empty string when its two arguments were identical, which made no sense. Now it returns curdir(). [Spotted by Dav

Re: [perl #37876] Bug with Parrot::IO test

2005-12-10 Thread Alberto Simões
We can depend on 3.13 instead of 3.14. From File::Spec Changelog: 3.13 Tue Nov 15 23:50:37 CST 2005 [...] - abs2rel() used to return the empty string when its two arguments were identical, which made no sense. Now it returns curdir(). [Spotted by David Golden] So, maybe we should repl