From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>, Roland McGrath <roland@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Use fopen64 rather than fopen for nscd log file
Date: Tue, 20 Sep 2005 20:07:00 -0000 [thread overview]
Message-ID: <20050920200651.GN15708@sunsite.mff.cuni.cz> (raw)
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
next reply other threads:[~2005-09-20 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-20 20:07 Jakub Jelinek [this message]
2005-09-20 20:15 ` Roland McGrath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050920200651.GN15708@sunsite.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
--cc=roland@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).