[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Fix normalize-pathname for dot-relative pa
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] Fix normalize-pathname for dot-relative paths beginning with ".//" |
Date: |
Wed, 22 Jul 2015 15:08:34 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jul 21, 2015 at 10:19:45PM +1200, Evan Hanson wrote:
> Because dots aren't pushed onto the accumulated list of pathname parts,
> `normalize-pathname` would hit the second slash, see that there were no
> leading parts, and consider the path absolute.
>
> To fix this, we make the function save the type of the path, either
> 'abs(olute) or 'rel(ative), as soon as it's known, and avoid overwriting
> it from then on.
>
> Fixes #1202.
Thanks! Pushed to master, prerelease and chicken-5.
Cheers,
Peter
signature.asc
Description: Digital signature