* lib/priv-set.c (priv_set_remove, priv_set_restore): Fix comments
to match code, as suggested by David Bartley in:
http://lists.gnu.org/archive/html/bug-tar/2010-08/msg00018.html
+2010-08-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ priv-set: fix comments
+ * lib/priv-set.c (priv_set_remove, priv_set_restore): Fix comments
+ to match code, as suggested by David Bartley in:
+ http://lists.gnu.org/archive/html/bug-tar/2010-08/msg00018.html
+
2010-08-23 Eric Blake <eblake@redhat.com>
stdbool: avoid rejecting clang
/* Try to remove priv from the effective set.
- Returns 0 if priv was removed from or was not present in the effective set.
+ Returns 0 if priv was removed.
Returns -1 on error with errno set appropriately. */
int
priv_set_remove (const char *priv)
/* Try to restore priv to the effective set.
Returns 0 if priv was re-added to the effective set (after being prviously
- removed by a call to priv_set_remove) or if priv was already in the
- effective set.
+ removed by a call to priv_set_remove).
Returns -1 on error with errno set appropriately. */
int
priv_set_restore (const char *priv)