about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-07-09 19:25:23 -0700
committerUlrich Drepper <drepper@redhat.com>2010-07-09 19:25:23 -0700
commit440566c3f427ae2096f57a7651de5767003a02c2 (patch)
tree9533a13fe5d7c01c0974c9ae84e67667fbad622c
parent5be9d05d3136460cf6cedd3823fd236aeebe83ef (diff)
downloadglibc-440566c3f427ae2096f57a7651de5767003a02c2.tar.gz
glibc-440566c3f427ae2096f57a7651de5767003a02c2.tar.xz
glibc-440566c3f427ae2096f57a7651de5767003a02c2.zip
Avoid namespace pollution.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/fpathconf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e58a1831e..c6d9b1afe5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-09  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
+	fcntl.
+
 2010-07-06  Andreas Schwab  <schwab@redhat.com>
 
 	* 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 */