From 2157aa8ba714f6a78dc56db6aea2570a9c746018 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Jan 2005 13:44:54 +0000 Subject: [PATCH] (AT_SYMLINK_NOFOLLOW): Define to 4096, so it's the same value as for Solaris 9. --- lib/openat.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/openat.h b/lib/openat.h index 43aa70fb77..2c93663438 100644 --- a/lib/openat.h +++ b/lib/openat.h @@ -1,5 +1,5 @@ /* provide a replacement openat function - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,12 +28,7 @@ #ifndef AT_FDCWD # define AT_FDCWD (-3041965) /* same value as Solaris 9 */ - -enum -{ - /* FIXME: use same value Solaris uses */ - AT_SYMLINK_NOFOLLOW = 100 -}; +# define AT_SYMLINK_NOFOLLOW 4096 /* same value as Solaris 9 */ # ifdef __OPENAT_PREFIX # undef openat -- 2.47.3