ask-password-api: several modernizations for ask_password_agent(); use CLEANUP_TMPFILE_AT more (#40631)

This commit is contained in:
Yu Watanabe
2026-02-16 20:07:32 +09:00
committed by GitHub
5 changed files with 119 additions and 190 deletions
+1 -1
View File
@@ -437,7 +437,7 @@ void cleanup_tmpfile_data_done(struct cleanup_tmpfile_data *d) {
assert(d);
if (!d->dir_fd ||
*d->dir_fd < 0 ||
(*d->dir_fd < 0 && *d->dir_fd != AT_FDCWD) ||
!d->filename ||
!*d->filename)
return;