]> granicus.if.org Git - shadow/commit
* libmisc/fields.c: Avoid assignments in comparisons, assignments
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 24 May 2008 15:19:02 +0000 (15:19 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 24 May 2008 15:19:02 +0000 (15:19 +0000)
commit9c41a8ad38ab58b8c072ef04af9135cac15507f7
treede9775da60001165fa99abcbcb9c9c9753eafd8c
parentcda1f9a23db6d9d8e43d27e164c8e93248ed6fc3
* libmisc/fields.c: Avoid assignments in comparisons, assignments
with post increments (x++), use of integers as booleans, and
explicitly mark blocks with brackets.
* libmisc/copydir.c: Likewise.
* libmisc/fields.c: Add comments.
* libmisc/copydir.c: Mark function whose return value is not
checked as such.

* libmisc/copydir.c (remove_tree): Make sure unlink is successful
when removing files.
ChangeLog
libmisc/copydir.c
libmisc/fields.c