tmpfile-util: do not skip CLEANUP_TMPFILE_AT for AT_FDCWD

Preparation for later commits.
This commit is contained in:
Mike Yuan
2026-02-11 02:39:25 +01:00
parent 5b501abfc2
commit 0132a02bd6
+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;