Contributes to #30978
Contributes to #30978
kid/libzigc-sys-stat into master
AGit
Contributes to #30978
@ -0,0 +13,4 @@
constexpectEqual=testing.expectEqual;
test"chmod"{
if(native_os==.windowsornative_os==.wasi)return;
Please add a comment to these lines justifying them, even if it's just something simple like // no chmod.
@ -1137,3 +1137,3 @@
returnsyscall3(.mknod,@intFromPtr(path),mode,dev);
}else{
returnmknodat(AT.FDCWD,path,mode,dev);
returnsyscall4(.mknodat,@as(u32,@bitCast(@as(i32,AT.FDCWD))),@intFromPtr(path),mode,dev);
Why is this change (and the one below) needed?
I noticed that the fchmodat() impl in musl is quite different from the std.os.linux one, which may potentially break chmod() if someone enhances std.os.linux's fchmodat(). Make this change for mknod() as well to avoid the similar situation.
baca8914de
785b1bb347
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?