|Subject:||Re: [Chicken-hackers] [PATCH] Remove change-directory and change-directory*|
|Date:||Sun, 13 Aug 2017 17:12:40 -0400|
This opens an important question though: Should current-directory return
whatever is passed in, or should it call itself with no arguments to get
the name of the directory we changed into? Note that this will fail if
we passed in a file descriptor to a directory which was unlinked! So
even though this is somewhat weird I think just returning whatever was
passed in (if the change succeeded) is probably the best we can do.
Trying to return a normalized pathname if a string is passed in could
be acceptable, but might be too much magic.
|[Prev in Thread]||Current Thread||[Next in Thread]|