[php-src] PR #17473: ext/mysqli: Use tempnam to make tracefiles unique
| From: | NattyNarwhal | Date: | Tue, 14 Jan 2025 20:48:09 +0000 |
| Subject: | [php-src] PR #17473: ext/mysqli: Use tempnam to make tracefiles unique | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30389@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17473
Author: NattyNarwhal
While a CONFLICTS acts as a barrier currently, it'd be nice to remove that. In addition, if
multiple users run the test on the same system, it'd be owned by one user if a cleanup
isn't run properly. The right solution for temporary files is tempnam and friends instead to
generate a unique filename per invocation.
mysqli_debug_ini.phpt is not yet treated with this, because it uses an --INI-- section instead;
generating a unique name here is trickier.