]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(AT_SYMLINK_NOFOLLOW): Define to 4096, so it's the same value as for Solaris 9.
authorJim Meyering <jim@meyering.net>
Wed, 19 Jan 2005 13:44:54 +0000 (13:44 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 19 Jan 2005 13:44:54 +0000 (13:44 +0000)
lib/openat.h

index 43aa70fb77a0584eb76ef20bb7a55597ce5cad63..2c936634384ca5e21c8bf88b01d1674bd70244ef 100644 (file)
@@ -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
 
 #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