FreeBSD Bugzilla – Attachment 242708 Details for
Bug 271925
chflags(1) fails to remove uarch flag with hardlinked files (ZFS)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update stat info of file to be changed
chflags.diff (text/plain), 457 bytes, created by
Stefan Eßer
on 2023-06-10 07:06:14 UTC
(
hide
)
Description:
Update stat info of file to be changed
Filename:
MIME Type:
Creator:
Stefan Eßer
Created:
2023-06-10 07:06:14 UTC
Size:
457 bytes
patch
obsolete
>diff --git a/bin/chflags/chflags.c b/bin/chflags/chflags.c >index 55dedfce53f1..80bec972fabe 100644 >--- a/bin/chflags/chflags.c >+++ b/bin/chflags/chflags.c >@@ -194,6 +194,7 @@ main(int argc, char *argv[]) > newflags = set; > else > newflags = (p->fts_statp->st_flags | set) & clear; >+ fstatat(AT_FDCWD, p->fts_accpath, p->fts_statp, atflag); > if (newflags == p->fts_statp->st_flags) > continue; > if (chflagsat(AT_FDCWD, p->fts_accpath, newflags,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271925
:
242705
|
242708
|
242714