Note in a comment that references to C++ bits are obsolete

libio is not used by libstdc++ anymore, but there are references to
streambuf are all over.
This commit is contained in:
Siddhesh Poyarekar 2012-11-16 18:56:31 +05:30
parent d14fbb177a
commit b1848fdeec
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
* libio/libioP.h: Add comment note that the references to C++
bits are now obsolete.
2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* math/libm-test.inc (check_complex): Use asprintf.

View File

@ -25,6 +25,14 @@
This exception applies to code released by its copyright holders
in files containing the exception. */
/* NOTE: libio is now exclusively used only by glibc since libstdc++ has its
own implementation. As a result, functions that were implemented for C++
(like *sputn) may no longer have C++ semantics. This is of course only
relevant for internal callers of these functions since these functions are
not intended for external use otherwise.
FIXME: All of the C++ cruft eventually needs to go away. */
#include <errno.h>
#ifndef __set_errno
# define __set_errno(Val) errno = (Val)