[lib/ChangeLog]
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 Oct 2006 22:49:57 +0000 (22:49 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 5 Oct 2006 22:49:57 +0000 (22:49 +0000)
commit4131c37368040602add83fb12dfda11505f884e7
treeccb283e2f6c6b3f028874834a19d63b1dde134cc
parent2e749d9876b6c6cbc098dff94b94d4df3981cbb0
[lib/ChangeLog]
Fix some Darwin-7.9.0 porting problems reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00063.html>.
* dirchownmod.c: Include lchown.h.
* lchown.c: Don't include files that lchown.h now includes.
Don't declare chown, since lchown.h now does that.
* lchown.h: Include errno.h, sys/types.h, unistd.h.
(lchown): Define to rpl_chown if lchown is declared but
does not exist.  Declare using a prototype if lchown is not
declared.  Add a copyright notice.
* mkstemp.h: Include <unistd.h>.
* openat.c: Include lchown.h.
[m4/ChangeLog]
* lchown.m4 (gl_FUNC_LCHOWN): Check whether lchown is declared.
lib/ChangeLog
lib/dirchownmod.c
lib/lchown.c
lib/lchown.h
lib/mkstemp.h
lib/openat.c
m4/ChangeLog
m4/lchown.m4