[Chicken-users] Posix "realpath"

2012-04-01 Thread Matt Welland
A suggestion ... Please consider adding realpath to posix. If I understand correctly realpath is a specified part of posix and thus would quite naturally fit into the posix unit. I think it is a very handy routine and I use it extensively. Then again, perhaps most sane environments don't have the

Re: [Chicken-users] Posix "realpath"

2012-04-01 Thread John Cowan
Matt Welland scripsit: > Please consider adding realpath to posix. If I understand correctly > realpath is a specified part of posix and thus would quite naturally fit > into the posix unit. I agree; having it is a Good Thing, and it's quite portable as well as being part of POSIX.1-2001 and lat

Re: [Chicken-users] Posix "realpath"

2012-04-01 Thread Jim Ursetto
On Apr 1, 2012, at 11:15 AM, Matt Welland wrote: > Note that normalize-path is not the same as realpath and that although > realpath would be nice to have calling the system realpath works just fine > and so this is a suggestion and not a request What is "the system realpath"? Jim ___

[Chicken-users] Handling FFI callbacks outside a foreign-safe-lambda

2012-04-01 Thread Christian Kellermann
Hi! I have got a C lib that takes function pointers and wants to call those at random points in time (at least from the scheme side point of view). I do provide these using a define-external and passing then the location of that procedure around. The issue seems to be that the function actually i

Re: [Chicken-users] Posix "realpath"

2012-04-01 Thread Jim Ursetto
On Apr 1, 2012, at 12:22 PM, Jim Ursetto wrote: > On Apr 1, 2012, at 11:15 AM, Matt Welland wrote: > >> Note that normalize-path is not the same as realpath and that although >> realpath would be nice to have calling the system realpath works just fine >> and so this is a suggestion and not a

Re: [Chicken-users] Posix "realpath"

2012-04-01 Thread Jim Ursetto
In case it helps, I've added resolve-pathname to the posix-extras egg in version 0.1.2. On Apr 1, 2012, at 12:54 PM, Jim Ursetto wrote: > > On Apr 1, 2012, at 12:22 PM, Jim Ursetto wrote: > >> On Apr 1, 2012, at 11:15 AM, Matt Welland wrote: >> >>> Note that normalize-path is not the same as