aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-01-10 18:18:07 +0000
committerUlrich Drepper <drepper@redhat.com>2006-01-10 18:18:07 +0000
commitdebf73246a6ba873e912fd446f711a0c09b6586a (patch)
tree774a16069ab4806cbe531f2f36365a8200cf8b81
parent95a2c3899696dc317bdaee5ba68d6bf89ec5c925 (diff)
downloadglibc-debf73246a6ba873e912fd446f711a0c09b6586a.zip
glibc-debf73246a6ba873e912fd446f711a0c09b6586a.tar.gz
glibc-debf73246a6ba873e912fd446f711a0c09b6586a.tar.bz2
* wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than
vswprintf recursively.
-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 4032db5..b355269 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 6eac952..00fd877 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);
}