1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00
Files
archived-php-src/main
Christoph M. Becker 77e954afaa Fix GH-8923: error_log on Windows can hold the file write lock
On Windows, closing a file which is locked may not immediately remove
the lock.  The `LockFileEx()` documentation states:

| Therefore, it is recommended that your process explicitly unlock all
| files it has locked when it terminates.

We comply, and also use the macro `LOCK_EX` instead of the magic number
`2`.

Closes GH-8925.
2022-07-12 13:36:20 +02:00
..
2022-06-14 12:44:37 +03:00
2019-02-03 21:03:00 +01:00
2020-06-08 10:38:45 +02:00
2020-01-27 13:32:51 +01:00
2020-09-11 14:49:07 +02:00
2021-07-15 15:29:48 +02:00
2020-01-27 13:32:51 +01:00
2020-10-21 10:07:07 +02:00
2020-06-08 10:38:45 +02:00
2020-03-26 11:49:27 +01:00
2022-05-24 18:51:01 +00:00
2021-04-19 16:17:01 +02:00
2020-06-29 17:47:21 +02:00
2021-01-19 11:44:22 +01:00
2020-06-08 10:38:45 +02:00