diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-05-14 14:11:02 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-05-14 14:11:02 +0000 |
commit | ffb7875d03e224584fd1e3dc8bb6e90c79ed606e (patch) | |
tree | 7735bbae8f840773afe241281ae1184cd956acc8 /sysdeps/unix/sysv/linux/powerpc/fchownat.c | |
parent | 1bfb72913bf82781ae232d056991362b2b071800 (diff) | |
download | glibc-ffb7875d03e224584fd1e3dc8bb6e90c79ed606e.tar glibc-ffb7875d03e224584fd1e3dc8bb6e90c79ed606e.tar.gz glibc-ffb7875d03e224584fd1e3dc8bb6e90c79ed606e.tar.bz2 glibc-ffb7875d03e224584fd1e3dc8bb6e90c79ed606e.zip |
Remove pre-2.2 Linux kernel support.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/fchownat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/fchownat.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/fchownat.c b/sysdeps/unix/sysv/linux/powerpc/fchownat.c index 16aacb36f7..b92e35a9e7 100644 --- a/sysdeps/unix/sysv/linux/powerpc/fchownat.c +++ b/sysdeps/unix/sysv/linux/powerpc/fchownat.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc. +/* Copyright (C) 2005-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -86,7 +86,6 @@ fchownat (int fd, const char *file, uid_t owner, gid_t group, int flag) file = buf; } -# if __ASSUME_LCHOWN_SYSCALL INTERNAL_SYSCALL_DECL (err); if (flag & AT_SYMLINK_NOFOLLOW) @@ -99,15 +98,6 @@ fchownat (int fd, const char *file, uid_t owner, gid_t group, int flag) __atfct_seterrno (INTERNAL_SYSCALL_ERRNO (result, err), fd, buf); return -1; } -# else - /* Don't inline the rest to avoid unnecessary code duplication. */ - if (flag & AT_SYMLINK_NOFOLLOW) - result = __lchown (file, owner, group); - else - result = __chown (file, owner, group); - if (result < 0) - __atfct_seterrno (errno, fd, buf); -# endif return result; |