tmpfile-util: do not skip CLEANUP_TMPFILE_AT for AT_FDCWD
Preparation for later commits.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user