Opened 19 years ago
Closed 18 years ago
#8484 closed enhancement (fixed)
PATCH: xattr 0.1 improve set/delete attribute reliability
Reported by: | ulrich.kohlhase@… | Owned by: | drernie@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | drernie@…, markd@… | |
Port: |
Description
I noticed VERY confusing and annoying effects while experimenting with this tool: changes would get reverted after several minutes, Volume (un)mounts or after reboot (most likely related to the buffer cache being flushed by "update"). The patched set/delete routines call fcntl() to turn data caching off and to force immediate on-disk modifications. I believe "xattr.h" should be changed to <sys/xattr.h> in all source files including xattr.h, patches to XARemoveOperation.c and XASetOperation.c are appended. The patch for xattr.c makes the explanation for the get operation option clearer.
Attachments (3)
Change History (8)
Changed 19 years ago by ulrich.kohlhase@…
Attachment: | patch-XARemoveOperation.c.diff added |
---|
Changed 19 years ago by ulrich.kohlhase@…
Attachment: | patch-XASetOperation.c.diff added |
---|
XASetOperation.c diff
comment:1 Changed 18 years ago by markd@…
Cc: | drernie@… markd@… added |
---|---|
Owner: | changed from darwinports-bugs@… to drernie@… |
Assigning to maintainer.
comment:2 Changed 18 years ago by markd@…
Type: | defect → enhancement |
---|
comment:5 Changed 18 years ago by markd@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed. Thanks!
Note: See
TracTickets for help on using
tickets.
XARemoveOperation.c patch