about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-09-20 20:15:15 +0000
committerRoland McGrath <roland@gnu.org>2005-09-20 20:15:15 +0000
commita8d131a717d14bd359d730b42205f304b58ea27a (patch)
tree025c6889af64f7e8d1bb3a0937b8594f3da52f1e
parent3dead500998b2bad2fd7c2869ae943915e4d03d2 (diff)
downloadglibc-a8d131a717d14bd359d730b42205f304b58ea27a.tar.gz
glibc-a8d131a717d14bd359d730b42205f304b58ea27a.tar.xz
glibc-a8d131a717d14bd359d730b42205f304b58ea27a.zip
* nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.
-rw-r--r--ChangeLog4
-rw-r--r--nscd/dbg_log.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 02be637b26..ad4cde07f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-20  Jakub Jelinek  <jakub@redhat.com>
+
+	* nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.
+
 2005-09-20  Roland McGrath  <roland@redhat.com>
 
 	* sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl.
diff --git a/nscd/dbg_log.c b/nscd/dbg_log.c
index afa06dcbe9..4b8843037b 100644
--- a/nscd/dbg_log.c
+++ b/nscd/dbg_log.c
@@ -44,7 +44,7 @@ init_logfile (void)
 {
   if (logfilename)
     {
-      dbgout = fopen (logfilename, "a");
+      dbgout = fopen64 (logfilename, "a");
       return dbgout == NULL ? 0 : 1;
     }
   return 1;