zsh-workers
 help / color / mirror / code / Atom feed
517bb63996e9737e6ff0085ea485e4664c60ca4d blob 1603 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
COMMENT(!MOD!zsh/attr
Builtins for manipulating extended attributes (xattr).
!MOD!)
The tt(zsh/attr) module is used for manipulating extended attributes.
The builtins in this module are:

startitem()
findex(zgetattr)
cindex(extended attributes, xattr, getting from files)
item(tt(zgetattr) var(filename) var(attribute) [ var(parameter) ])(
Get the extended attribute var(attribute) from the specified
var(filename). If the optional argument var(parameter) is given, the
attribute is set on that parameter instead of being printed to stdout.
)
findex(zsetattr)
cindex(extended attributes, xattr, setting on files)
item(tt(zsetattr) var(filename) var(attribute) var(value))(
Set the extended attribute var(attribute) on the specified
var(filename) to var(value).
)
findex(zdelattr)
cindex(extended attributes, xattr, removing, deleting)
item(tt(zdelattr) var(filename) var(attribute))(
Remove the extended attribute var(attribute) from the specified
var(filename).
)
findex(zlistattr)
cindex(extended attributes, xattr, listing)
item(tt(zlistattr) var(filename) [ var(parameter) ])(
List the extended attributes currently set on the specified
var(filename). If the optional argument var(parameter) is given, the
list of attributes is set on that parameter instead of being printed to stdout.
)
enditem()

tt(zgetattr) and tt(zlistattr) allocate memory dynamically. If the attribute or
list of attributes grows between the allocation and the call to get them, they
return 2. On all other errors, 1 is returned. This way, the calling function can
check for this case and try again for as long as they want.
debug log:

solving 517bb63 ...
found 517bb63 in https://inbox.vuxu.org/zsh-workers/alpine.LNX.2.00.0911031956240.3783@localhost/ ||
	https://inbox.vuxu.org/zsh-workers/237967ef0911040301y4370b475p61518d9609764acf@mail.gmail.com/
found ed444d0 in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 ed444d0d7de88049056769a35cf5c411964835b7	Doc/Zsh/mod_attr.yo

applying [1/2] https://inbox.vuxu.org/zsh-workers/alpine.LNX.2.00.0911031956240.3783@localhost/
diff --git a/Doc/Zsh/mod_attr.yo b/Doc/Zsh/mod_attr.yo
index ed444d0..517bb63 100644

Checking patch Doc/Zsh/mod_attr.yo...
error: while searching for:
 list of attributes is set on that parameter instead of being printed to stdout.
 )
 enditem()

error: patch failed: Doc/Zsh/mod_attr.yo:32
error: Doc/Zsh/mod_attr.yo: patch does not apply

git apply error: exit status=1
trying https://inbox.vuxu.org/zsh-workers/237967ef0911040301y4370b475p61518d9609764acf@mail.gmail.com/

applying [2/2] https://inbox.vuxu.org/zsh-workers/237967ef0911040301y4370b475p61518d9609764acf@mail.gmail.com/
diff --git a/Doc/Zsh/mod_attr.yo b/Doc/Zsh/mod_attr.yo
index ed444d0..517bb63 100644

Checking patch Doc/Zsh/mod_attr.yo...
Applied patch Doc/Zsh/mod_attr.yo cleanly.

index at:
100644 517bb63996e9737e6ff0085ea485e4664c60ca4d	Doc/Zsh/mod_attr.yo

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).