Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/machine/powerpc/vfprintf.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 7682e9c54..5eaac3ba1 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-18 Aldy Hernandez <aldyh@redhat.com>
+
+ * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
+ _VFPRINTF_R.
+
2005-01-07 Paul Brook <paul@codesourcery.com>
* configure.in: Add test for .init_array.
diff --git a/newlib/libc/machine/powerpc/vfprintf.c b/newlib/libc/machine/powerpc/vfprintf.c
index aac5fb2fb..b80c58c65 100644
--- a/newlib/libc/machine/powerpc/vfprintf.c
+++ b/newlib/libc/machine/powerpc/vfprintf.c
@@ -322,8 +322,7 @@ _DEFUN (VFPRINTF, (fp, fmt0, ap),
_CONST char *fmt0 _AND
va_list ap)
{
- CHECK_INIT (fp);
- return _VFPRINTF_R (fp->_data, fp, fmt0, ap);
+ return _VFPRINTF_R (_REENT, fp, fmt0, ap);
}
int