libmisc/copydir.c cleanup

* libmisc/copydir.c: Split copy_tree() in more maintainable functions:
	copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
	copy_special(), and copy_file().
	* libmisc/copydir.c: -1 is used to indicate an error, directly set err
	to -1, instead of incrementing it, and checking if not nul at the
	end.
This commit is contained in:
nekral-guest
2007-12-27 23:23:51 +00:00
parent bfa8ef3e75
commit dfb6416a5b
2 changed files with 221 additions and 148 deletions

View File

@@ -1,3 +1,13 @@
2007-12-27 Nicolas François <nicolas.francois@centraliens.net>
libmisc/copydir.c cleanup
* libmisc/copydir.c: Split copy_tree() in more maintainable functions:
copy_entry(), copy_dir(), copy_symlink(), copy_hardlink(),
copy_special(), and copy_file().
* libmisc/copydir.c: -1 is used to indicate an error, directly set err
to -1, instead of incrementing it, and checking if not nul at the
end.
2007-12-27 Nicolas François <nicolas.francois@centraliens.net>
gpasswd cleanup