Integrate review comments from Julien Cristau

* libmisc/copydir.c: Missing parenthesis in comment.
	* libmisc/chowndir.c: Fixed memory leak on failed realloc().
	* libmisc/chowndir.c: Make sure the buffer for the path is large
	enough.
	* libmisc/remove_tree.c: Remove check for NULL before free().
This commit is contained in:
nekral-guest
2010-09-05 15:34:42 +00:00
parent d1bad25f40
commit dffc624b37
4 changed files with 18 additions and 8 deletions

View File

@@ -273,7 +273,7 @@ static /*@exposed@*/ /*@null@*/struct link_name *check_link (const char *name, c
* as it goes.
*
* When reset_selinux is enabled, extended attributes (and thus
* SELinux attributes are not copied.
* SELinux attributes) are not copied.
*
* old_uid and new_uid are used to set the ownership of the copied
* files. Unless old_uid is set to -1, only the files owned by