From 727211c42911512f71d23eacf584ce1c3dbfd4c2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Nov 1999 23:44:12 +0000 Subject: Update. 1999-11-08 Andreas Jaeger * locale/findlocale.c (_nl_find_locale): Free normalized_codeset; this fixes a memory leak (closes PR libc/1435). * intl/l10nflist.c (_nl_normalize_codeset): Update comment to reflect memory allocation. * intl/loadinfo.h: Comment _nl_normalize_codeset, comment memory allocation in _nl_explode_name. 1999-11-06 Andreas Jaeger * time/tzset.c: Use __libc_lock_define_initialized for tzset_lock to initialize it. Reported by wes@surety.com, closes PR libc/1432. 1999-11-05 Geoff Keating * sysdeps/powerpc/fpu/bits/fenv.h: Don't put commas at the end of enumerator lists (-pedantic complains). (feraiseexcept): Use i#*X as the constraint. Fix a bug in the test for 'one bit set'. (feclearexcept): Likewise. --- time/tzset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'time') diff --git a/time/tzset.c b/time/tzset.c index 6af2fba..db08a47 100644 --- a/time/tzset.c +++ b/time/tzset.c @@ -38,7 +38,7 @@ weak_alias (__daylight, daylight) weak_alias (__timezone, timezone) /* This locks all the state variables in tzfile.c and this file. */ -__libc_lock_define (static, tzset_lock) +__libc_lock_define_initialized (static, tzset_lock) #define min(a, b) ((a) < (b) ? (a) : (b)) -- cgit v1.1