No exception is made for symlinks in the spec, so use
authorguenther <guenther@openbsd.org>
Tue, 14 Jan 2014 02:55:09 +0000 (02:55 +0000)
committerguenther <guenther@openbsd.org>
Tue, 14 Jan 2014 02:55:09 +0000 (02:55 +0000)
commit007bef9e1fb7cdc0d7095b5d0fae0c21410c9cee
tree26700b3548d8b800f2c9e02ac0a4623a79185605
parent6def4870fc000b3f92457ea7b2ce64a839cfae17
No exception is made for symlinks in the spec, so use
fchmodat(AT_SYMLINK_NOFOLLOW) to set the mode on symlinks, pass
AT_SYMLINK_NOFOLLOW to utimensat(), and then let those be called
on symlinks by dropping the test that skipped them.  Eliminate
set_lids() by changing set_ids() to use fchownat(AT_SYMLINK_NOFOLLOW)
and delete a redundant conditional in each of set_ftime()/fset_ftime().

suggested by espie@
ok millert@
bin/pax/file_subs.c