aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-23 01:54:03 +0000
committerRoland McGrath <roland@gnu.org>2003-04-23 01:54:03 +0000
commitf478103ff0ab69829f32537947024269296cff17 (patch)
treeb59cefc0f402231e82d6821e1e035cf48d7079c4 /iconv
parent4c5dd2a2071c60eaa2d36f8a000fb90a5a5a5813 (diff)
downloadglibc-f478103ff0ab69829f32537947024269296cff17.zip
glibc-f478103ff0ab69829f32537947024269296cff17.tar.gz
glibc-f478103ff0ab69829f32537947024269296cff17.tar.bz2
2003-04-22 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. (open_not_cancel): Make last argument non-optional. * sysdeps/generic/check_fds.c (check_one_fd): Update caller. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/gconv_cache.c b/iconv/gconv_cache.c
index 8038f5f..6d19f9f 100644
--- a/iconv/gconv_cache.c
+++ b/iconv/gconv_cache.c
@@ -60,7 +60,7 @@ __gconv_load_cache (void)
return -1;
/* See whether the cache file exists. */
- fd = open_not_cancel (GCONV_MODULES_CACHE, O_RDONLY);
+ fd = open_not_cancel (GCONV_MODULES_CACHE, O_RDONLY, 0);
if (__builtin_expect (fd, 0) == -1)
/* Not available. */
return -1;