From a5a11654ea5ea89bfffb295fbb2f17cbb45839b6 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 3 Oct 2005 20:44:20 +0000 Subject: Updated to fedora-glibc-20051003T2040 --- nscd/dbg_log.c | 2 +- nscd/nscd_getpw_r.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'nscd') 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; diff --git a/nscd/nscd_getpw_r.c b/nscd/nscd_getpw_r.c index 61a712c6b4..e8e4d7364f 100644 --- a/nscd/nscd_getpw_r.c +++ b/nscd/nscd_getpw_r.c @@ -227,8 +227,6 @@ nscd_getpw_r (const char *key, size_t keylen, request_type type, mapped = NO_MAPPING; } - free (resultbuf); - goto retry; } -- cgit v1.2.1