From eeb5b6c941c7ae0ec832e9ce569b23ee02169b26 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 4 Nov 2009 11:33:59 +0000 Subject: Mikael: 27347: enhance extended attribute support --- Doc/Zsh/mod_attr.yo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Doc') 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. -- cgit 1.4.1