[krbdev.mit.edu #9190] git commit
"Greg Hudson via RT" <[email protected]> Wed, 12 Nov 2025 00:27:54 -0500
| Newsgroups | gmane.comp.encryption.kerberos.bugs |
|---|---|
| Message-ID | <[email protected]> |
Wed Nov 12 00:27:54 2025: Request 9190 was acted upon. Transaction: Ticket created by [email protected] Queue: krb5 Subject: git commit Owner: [email protected] Requestors: Status: new Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9190 > Make atomic ccache replacement work on Windows Commit 371f09d4bf4ca0c7ba15c5ef909bc35307ed9cc3 relies on POSIX rename() semantics for atomic ccache replacement. Windows rename() fails if the destination file exists. Add a fallback to ReplaceFile() when this happens. We may be able to do better using FILE_RENAME_FLAG_POSIX_SEMANTICS (added in Windows 10 update 1067) but this should generally suffice. [[email protected]: simplified code slightly; rewrote commit message] https://github.com/krb5/krb5/commit/04816024aadbfd64b5306942e2dfbd757cb05f93 Author: YUBI LEE <[email protected]> Committer: Greg Hudson <[email protected]> Commit: 04816024aadbfd64b5306942e2dfbd757cb05f93 Branch: master src/lib/krb5/ccache/cc_file.c | 8 ++++++++ 1 file changed, 8 insertions(+)