aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--wcsmbs/bits/wchar2.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4032db51d5..b35526910a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-10 Jakub Jelinek <jakub@redhat.com>
+
+ * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than
+ vswprintf recursively.
+
2006-01-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif.
diff --git a/wcsmbs/bits/wchar2.h b/wcsmbs/bits/wchar2.h
index 6eac952ac9..00fd8776f5 100644
--- a/wcsmbs/bits/wchar2.h
+++ b/wcsmbs/bits/wchar2.h
@@ -1,5 +1,5 @@
/* Checking macros for wchar functions.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -224,7 +224,7 @@ __NTH (vswprintf (wchar_t *__s, size_t __n, __const wchar_t *__format,
if (__bos (__s) != (size_t) -1 || __USE_FORTIFY_LEVEL > 1)
return __vswprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, __bos (__s),
__format, __arg);
- return vswprintf (__s, __n, __format, __arg);
+ return __vswprintf_alias (__s, __n, __format, __arg);
}