From 440566c3f427ae2096f57a7651de5767003a02c2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 9 Jul 2010 19:25:23 -0700 Subject: Avoid namespace pollution. --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/fpathconf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3e58a1831e..c6d9b1afe5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-09 Ulrich Drepper + + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not + fcntl. + 2010-07-06 Andreas Schwab * elf/dl-version.c (match_symbol): Don't pass NULL occation to diff --git a/sysdeps/unix/sysv/linux/fpathconf.c b/sysdeps/unix/sysv/linux/fpathconf.c index 67dc3845f2..617a5a93cf 100644 --- a/sysdeps/unix/sysv/linux/fpathconf.c +++ b/sysdeps/unix/sysv/linux/fpathconf.c @@ -52,7 +52,7 @@ __fpathconf (fd, name) return __statfs_chown_restricted (__fstatfs (fd, &fsbuf), &fsbuf); case _PC_PIPE_BUF: - r = fcntl (fd, F_GETPIPE_SZ); + r = __fcntl (fd, F_GETPIPE_SZ); if (r > 0) return r; /* FALLTHROUGH */ -- cgit v1.2.3-70-g09d2