[PATCH] libstdc++/8399
Paolo Carlini
pcarlini@unitus.it
Thu Nov 14 06:15:00 GMT 2002
So, finally, here it is, ready for review...
Thanks to everyone for helping me in my first work touching
the autoconf machinery!
Tested x86-linux, a testcase is in fact test03 in
narrow_stream_objects.cc, which resurfaced due to its
interactive nature. As suggested by Loren, we should learn
from gdb to add interactive tests in the v3 testsuite.
Of course, I have also checked that on linux we didn't regress
performancewise in 2211-type situations.
However, there is a risk that systems without isatty will
experience a performance regression for having 8399 fixed.
Ok?
Ciao,
Paolo
///////
2002-11-13 Paolo Carlini <pcarlini@unitus.it>
Loren J. Rittle <ljrittle@acm.org>
PR libstdc++/8399
* acinclude.m4
(GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): New macro to
check for unistd.h functions.
(GLIBCPP_CHECK_UNISTD_SUPPORT): New macro, check for isatty
in unistd.h.
* configure.in: Call here.
* src/ios.cc (ios_base::Init::_S_ios_create(bool)):
Use _GLIBCPP_HAVE_ISATTY: ifdef, in case of interactive
input __in_size = 1 even when sync_with_stdio is false;
otherwise fall back to __in_size = 1.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_8399
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20021114/5a901590/attachment.ksh>
More information about the Libstdc++
mailing list