about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-11-04 11:33:59 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-11-04 11:33:59 +0000
commiteeb5b6c941c7ae0ec832e9ce569b23ee02169b26 (patch)
tree8eb29700ba4d455fc2e96620ebbff96546dfb7c3 /Doc
parenta92507d2b8c41daaed6e9a018086392d9600a37a (diff)
downloadzsh-eeb5b6c941c7ae0ec832e9ce569b23ee02169b26.tar.gz
zsh-eeb5b6c941c7ae0ec832e9ce569b23ee02169b26.tar.xz
zsh-eeb5b6c941c7ae0ec832e9ce569b23ee02169b26.zip
Mikael: 27347: enhance extended attribute support
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/mod_attr.yo5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_attr.yo b/Doc/Zsh/mod_attr.yo
index ed444d0d7..96ac2e011 100644
--- a/Doc/Zsh/mod_attr.yo
+++ b/Doc/Zsh/mod_attr.yo
@@ -32,3 +32,8 @@ 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
+allows the calling function to check for this case and retry.