[php-src] Issue #7910: rename fails on Windows PHP 8.1 if the target file is being executed
| From: | cmb69 | Date: | Sat, 08 Jan 2022 12:25:55 +0000 |
| Subject: | [php-src] Issue #7910: rename fails on Windows PHP 8.1 if the target file is being executed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238873@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7910
Comment Author: cmb69
The file is not locked in a strict sense, but the [handle is kept open after
compilation](https://github.com/php/php-src/commit/c732ab400af92c54eee47c487a56009f1d79dd5d#diff-b3cd91650e41ac88d84b327235481f7846530bb7bc9d23b974b3a95326175578L1687),
and that prevents the file to be renamed on Windows.