From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 0918D3870891; Wed, 2 Sep 2020 13:01:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0918D3870891 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] linux: Remove __ASSUME_ATFCTS X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: fcdbd910679997f257de70e9e49801dc4db93222 X-Git-Newrev: bbedd75c41ff801c7606bbaf1b7bdfc45d3f45a5 Message-Id: <20200902130149.0918D3870891@sourceware.org> Date: Wed, 2 Sep 2020 13:01:49 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 13:01:49 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=bbedd75c41ff801c7606bbaf1b7bdfc45d3f45a5 commit bbedd75c41ff801c7606bbaf1b7bdfc45d3f45a5 Author: Adhemerval Zanella Date: Tue Aug 25 16:57:12 2020 -0300 linux: Remove __ASSUME_ATFCTS The __have_atfcts is not used anywhere. Checked on x86_64-linux-gnu. Diff: --- io/openat.c | 5 ----- sysdeps/unix/sysv/linux/kernel-features.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/io/openat.c b/io/openat.c index a7ce65bee2..2f5a9f04de 100644 --- a/io/openat.c +++ b/io/openat.c @@ -23,11 +23,6 @@ #include #include -/* Some mostly-generic code (e.g. sysdeps/posix/getcwd.c) uses this variable - if __ASSUME_ATFCTS is not defined. */ -#ifndef __ASSUME_ATFCTS -int __have_atfcts; -#endif /* Open FILE with access OFLAG. Interpret relative paths relative to the directory associated with FD. If O_CREAT or O_TMPFILE is in OFLAG, a diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index a6bbc3c94e..e648eecc0d 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -49,10 +49,6 @@ SH this appeared first in 2.6.19-rc1, on ia64 in 2.6.22-rc1. */ #define __ASSUME_PSELECT 1 -/* The *at syscalls were introduced just after 2.6.16-rc1. On PPC - they were introduced in 2.6.17-rc1, on SH in 2.6.19-rc1. */ -#define __ASSUME_ATFCTS 1 - /* Support for inter-process robust mutexes was added in 2.6.17 (but some architectures lack futex_atomic_cmpxchg_inatomic in some configurations). */