[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #669: please add ability to call fchdir to posix modu
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #669: please add ability to call fchdir to posix module. |
Date: |
Mon, 22 Aug 2011 14:31:16 -0000 |
#669: please add ability to call fchdir to posix module.
----------------------------+-----------------------------------------------
Reporter: alanpost | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 4.8.0
Component: core libraries | Version: 4.7.x
Keywords: |
----------------------------+-----------------------------------------------
The fchdir call is like the chdir call, except it takes an open file
descriptor rather than a filepath.
Using this call on Unix is more reliable for keeping a handle on where you
are in the filesystem, relative to using a pathname: a file descriptor
will point to the same resource even when the path (or a component of it)
is renamed.
Will you apply this patch to chicken-core?
* I'm not certain at all I've selected a good name for this routine. Will
you perfect the name change-directory/fd?
* I'm not sure how to implement it on w32, so I have not modified
posixwin.scm.
If this patch is not acceptable, what must I do to get it applied?
--
Ticket URL: <http://bugs.call-cc.org/ticket/669>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #669: please add ability to call fchdir to posix module.,
Chicken Trac <=
- Re: [Chicken-janitors] #669: please add ability to call fchdir to posix module., Chicken Trac, 2011/08/24
- Re: [Chicken-janitors] #669: please add ability to call fchdir to posix module., Chicken Trac, 2011/08/26
- Re: [Chicken-janitors] #669: please add ability to call fchdir to posix module., Chicken Trac, 2011/08/26
- Re: [Chicken-janitors] #669: please add ability to call fchdir to posix module., Chicken Trac, 2011/08/31
- Re: [Chicken-janitors] #669: please add ability to call fchdir to posix module., Chicken Trac, 2011/08/31