public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Use fopen64 rather than fopen for nscd log file
@ 2005-09-20 20:07 Jakub Jelinek
  2005-09-20 20:15 ` Roland McGrath
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2005-09-20 20:07 UTC (permalink / raw)
  To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers

Hi!

Some users sometimes create awfully huge log files...

2005-09-20  Jakub Jelinek  <jakub@redhat.com>

	* nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.

--- libc/nscd/dbg_log.c.jj	2005-09-20 21:15:16.000000000 +0200
+++ libc/nscd/dbg_log.c	2005-09-20 21:52:39.000000000 +0200
@@ -44,7 +44,7 @@ init_logfile (void)
 {
   if (logfilename)
     {
-      dbgout = fopen (logfilename, "a");
+      dbgout = fopen64 (logfilename, "a");
       return dbgout == NULL ? 0 : 1;
     }
   return 1;

	Jakub

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Use fopen64 rather than fopen for nscd log file
  2005-09-20 20:07 [PATCH] Use fopen64 rather than fopen for nscd log file Jakub Jelinek
@ 2005-09-20 20:15 ` Roland McGrath
  0 siblings, 0 replies; 2+ messages in thread
From: Roland McGrath @ 2005-09-20 20:15 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Ulrich Drepper, Glibc hackers

Applied.


Thanks,
Roland

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-20 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-20 20:07 [PATCH] Use fopen64 rather than fopen for nscd log file Jakub Jelinek
2005-09-20 20:15 ` Roland McGrath

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).