-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-filesystemArea: `std::fs`Area: `std::fs`C-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.O-unixOperating system: Unix-likeOperating system: Unix-likeT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
rust/library/std/src/sys/pal/unix/fs.rs
Line 2144 in d819876
cvt(unsafe { unlinkat(fd, child_name.as_ptr(), 0) })?; |
rust/library/std/src/sys/pal/unix/fs.rs
Lines 2156 to 2159 in d819876
// unlink the directory after removing its contents | |
cvt(unsafe { | |
unlinkat(parent_fd.unwrap_or(libc::AT_FDCWD), path.as_ptr(), libc::AT_REMOVEDIR) | |
})?; |
seifane
Metadata
Metadata
Assignees
Labels
A-filesystemArea: `std::fs`Area: `std::fs`C-bugCategory: This is a bug.Category: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.O-unixOperating system: Unix-likeOperating system: Unix-likeT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.