From a3501dfd95121f66991c6cb4f24b7279b3bfd12a Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 1 Jan 2008 14:48:04 +0000 Subject: [PATCH] De-comment code (duplicate the entry when the _R function is not present on the system). --- ChangeLog | 5 +++++ libmisc/xgetXXbyYY.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cc9b1b84..defb640f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-01 Nicolas François + + * libmisc/xgetXXbyYY.c: De-comment code (duplicate the entry when + the _R function is not present on the system). + 2008-01-01 Nicolas François * src/lastlog.c: Remove statbuf, not used. diff --git a/libmisc/xgetXXbyYY.c b/libmisc/xgetXXbyYY.c index fe2454f1..81a497a5 100644 --- a/libmisc/xgetXXbyYY.c +++ b/libmisc/xgetXXbyYY.c @@ -95,7 +95,7 @@ LOOKUP_TYPE *XFUNCTION_NAME (ARG_TYPE ARG_NAME) LOOKUP_TYPE *result = FUNCTION_NAME(ARG_NAME); if (result) { -// result = DUP_FUNCTION(result); + result = DUP_FUNCTION(result); if (NULL == result) { fprintf (stderr, _("%s: out of memory\n"), "x" STRINGIZE(FUNCTION_NAME));