The following eggs in SVN use ##sys#expand-home-path, since this functionality 
is useful but was never exported as an official API:

openssl
osxattr
posix-extras
sql-de-lite
sqlite3
vfs

To be fair, three of those are mine.
Jim

On Mar 19, 2013, at 8:48 PM, Mario Domenech Goulart wrote:

> Hi John,
> 
> On Tue, 19 Mar 2013 22:01:45 -0400 John Cowan <co...@mercury.ccil.org> wrote:
> 
>> Mario Domenech Goulart scripsit:
>> 
>>> b. Drop ##sys#expand-home-path.  Do not implicitly expand ~ and
>>>   environment variables in pathnames.  Provide a procedure to expand ~
>>>   in pathnames.  That's what this patch implements.
>> 
>> I suggest:
>> 
>>  b2. Keep ##sys#expand-home-path, but make it the identity function.
>>      Provide a procedure to expand ~ in pathnames.
>> 
>> That way, the security problem is removed, but we do not have to find
>> and fix every reference to ##sys#expand-home-path.
> 
> IMO, in this case we should just remove ##sys#expand-home-path, since it
> is an internal procedure.  Users should not rely on stability of the
> internal API.  By keeping ##sys#expand-home-path as an identity
> procedure, we'd be just polluting the core and adding a useless
> procedure call to every procedure of the filesystem API.
> 
> Best wishes.
> Mario
> -- 
> http://parenteses.org/mario
> 
> _______________________________________________
> Chicken-hackers mailing list
> Chicken-hackers@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-hackers


_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to