From 2468e805d83d3d2188826694826732ddf35a2164 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 10 Nov 2004 19:36:30 +0000 Subject: [PATCH] - added comment about why stdin/stdout/stderr and cin/cout/cerr synchronization never worked in BeOS (and why it works now). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9901 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/glibc/libio/stdio.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/kernel/libroot/posix/glibc/libio/stdio.h b/src/kernel/libroot/posix/glibc/libio/stdio.h index 3f64b6cdfe..8e9430cfd2 100644 --- a/src/kernel/libroot/posix/glibc/libio/stdio.h +++ b/src/kernel/libroot/posix/glibc/libio/stdio.h @@ -69,6 +69,16 @@ typedef struct _IO_FILE __FILE; #ifdef _STDIO_H +/* + * [zooey]: operations on cin/cout/cerr and stdin/stdout/stderr should support + * being mixed on a character by character basis: + * printf("this is "); cout << "a string" << endl; + * should yield "this is a string" on a single line. + * This never worked on BeOS, as the supposedly unique stream-symbols + * existed in libroot as well as in libstdc++. + * Since we do no longer have this problem, activating + * _STDIO_USES_IOSTREAM does no harm. + */ #define _STDIO_USES_IOSTREAM #include