Re: PHP 4.0 Bug #7235: session_destroy() still does notunlink session object
| From: | Sascha Schumann | Date: | Mon, 16 Oct 2000 11:02:35 +0000 |
| Subject: | Re: PHP 4.0 Bug #7235: session_destroy() still does notunlink session object | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-35166@lists.php.net to get a copy of this message | ||
On Mon, 16 Oct 2000, Phil Driscoll wrote:
> > We can evaluate adding a workaround, if someone verifies that
> > Windows is unable to unlink a file which is still opened by a
> > process
>
> It is certainly my experience that windows is unable to unlink files which
> another process is holding open.
Is there any magic we can apply to a file/fd, so that we get
POSIX compliance?
"If one or more processes have the file open when the
last link is removed, the link shall be removed before
unlink() returns, but the removal of the file contents
shall be postponed until all references to the file have
been closed.
- Sascha