]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Note in a comment that references to C++ bits are obsolete
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 16 Nov 2012 13:26:31 +0000 (18:56 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 16 Nov 2012 13:42:28 +0000 (19:12 +0530)
libio is not used by libstdc++ anymore, but there are references to
streambuf are all over.

ChangeLog
libio/libioP.h

index fa279585c14136a4df5c6acac8fc490bf143fd6e..6d522d60db0008208df57f7173a5f99f8608955e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index a2800524ec1d04568a59dca6978a0ea2d4f18269..fe81115094295a070feb6a97d60a58d6d0b56f27 100644 (file)
    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)