From 9de26050ef8a950fd62ebadeeab2eb7505631028 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 2 Sep 2009 17:06:43 -0600 Subject: errno: use consistently * lib/c-stack.c (ENOTSUP): guarantees a definition. * lib/canonicalize-lgpl.c (ENAMETOOLONG): Likewise. * lib/canonicalize.c (ELOOP): Likewise. * lib/inet_ntop.c (EAFNOSUPPORT): Likewise. * lib/inet_pton.c (EAFNOSUPPORT): Likewise. * lib/lchown.c (EOPNOTSUPP): Likewise. * lib/openat-priv.h (ENOSYS, EOPNOTSUPP): Likewise. * lib/savewd.c (ESTALE): Likewise. * lib/settime.c (ENOSYS): Likewise. * lib/utimens.c (ENOSYS): Likewise. * lib/xgethostname.c (ENAMETOOLONG): Likewise. * lib/chdir-safer.c (ELOOP): Likewise. (chdir_no_follow): Use HAVE_READLINK, not ELOOP, as witness. * modules/c-stack (Depends-on): Add errno. * modules/canonicalize (Depends-on): Likewise. * modules/chdir-safer (Depends-on): Likewise. * modules/fdopendir (Depends-on): Likewise. * modules/inet_ntop (Depends-on): Likewise. * modules/inet_pton (Depends-on): Likewise. * modules/lchown (Depends-on): Likewise. * modules/openat (Depends-on): Likewise. * modules/savewd (Depends-on): Likewise. * modules/settime (Depends-on): Likewise. * m4/chdir-safer.m4 (gl_CHDIR_SAFER): Check for readlink. Signed-off-by: Eric Blake --- modules/fdopendir | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/fdopendir') diff --git a/modules/fdopendir b/modules/fdopendir index 7a90aa367f..83c2af7d32 100644 --- a/modules/fdopendir +++ b/modules/fdopendir @@ -8,8 +8,9 @@ lib/openat-proc.c m4/fdopendir.m4 Depends-on: -extensions dirent +errno +extensions fchdir openat-die save-cwd -- cgit v1.2.1