* [hurd,commited] Revert __dirfd PLT avoidance for now
@ 2018-04-02 19:47 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2018-04-02 19:47 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault
* io/fts.c (fts_build): Call dirfd instead of __dirfd.
---
ChangeLog | 1 -
io/fts.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e63f9878e9..cbc98364a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -317,7 +317,6 @@
(_hurd_siginfo_handler): Call _IO_puts instead of puts.
* hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
munmap.
- * io/fts.c (fts_build): Call __dirfd instead of dirfd.
* mach/devstream.c: Include <libioP.h>.
(dealloc_ref): Call __mach_port_deallocate instead of
mach_port_deallocate.
diff --git a/io/fts.c b/io/fts.c
index a30491c230..ad9d333f45 100644
--- a/io/fts.c
+++ b/io/fts.c
@@ -680,7 +680,7 @@ fts_build (FTSOBJ *sp, int type)
*/
cderrno = 0;
if (nlinks || type == BREAD) {
- if (fts_safe_changedir(sp, cur, __dirfd(dirp), NULL)) {
+ if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) {
if (nlinks && type == BREAD)
cur->fts_errno = errno;
cur->fts_flags |= FTS_DONTCHDIR;
--
2.16.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-02 19:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-02 19:47 [hurd,commited] Revert __dirfd PLT avoidance for now Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).