diff options
author | Eric Blake <ebb9@byu.net> | 2009-08-31 09:00:45 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-08-31 19:19:51 -0600 |
commit | d6127191016725b6be0cd65bb10124fd3f69d752 (patch) | |
tree | e6dfed09810174e5da8ef67aff794e60e643f4ff /modules/chown | |
parent | f8a4a054965da520b295b8249b4324b271b8ca93 (diff) | |
download | gnulib-d6127191016725b6be0cd65bb10124fd3f69d752.tar.gz |
chown: avoid compilation warning on mingw
* m4/chown.m4 (gl_FUNC_CHOWN): Recognize missing chown.
* lib/chown.c (rpl_chown) [!HAVE_CHOWN]: Always return failure on
mingw.
* lib/lchown.c (lchown) [!HAVE_CHOWN]: Likewise.
* modules/chown (Depends-on): Add errno.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/chown')
-rw-r--r-- | modules/chown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/chown b/modules/chown index cf9921089b..7cd07f590b 100644 --- a/modules/chown +++ b/modules/chown @@ -7,6 +7,7 @@ lib/fchown-stub.c m4/chown.m4 Depends-on: +errno open unistd sys_stat |