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