2003-03-09 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
PR libstdc++/7744
* config/io/basic_file_stdio.h (__basic_file<>::xsgetn, xsputn,
seekoff, seekpos): Add a boolean parameter __stdio.
* config/io/basic_file_stdio.cc (__basic_file<>::xsgetn, xsputn,
seekoff, seekpos): If __stdio == true, use fread (fwrite, fseek/ftell,
fseek/ftell, respectively), otherwise read (write, lseek, lseek,
respectively).
* include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external,
_M_really_overflow, seekoff): Use the boolean parameter in the calls.
* include/std/std_fstream.h (sync): Likewise.
* src/fstream.cc (basic_filebuf<>::_M_underflow_common): Likewise.
* src/ios.cc (ios_base::Init::_S_ios_create(bool)): Revert libstdc++/8399
commit involving isatty(0).
* acinclude.m4 (GLIBCPP_CHECK_UNISTD_DECL_AND_LINKAGE_1): Remove.
(GLIBCPP_CHECK_UNISTD_SUPPORT): Remove
* configure.in: Remove call.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* testsuite/27_io/narrow_stream_objects.cc (test11): Add.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r64051
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| std_algorithm.h | Loading commit data... | |
| std_bitset.h | Loading commit data... | |
| std_complex.h | Loading commit data... | |
| std_deque.h | Loading commit data... | |
| std_fstream.h | Loading commit data... | |
| std_functional.h | Loading commit data... | |
| std_iomanip.h | Loading commit data... | |
| std_ios.h | Loading commit data... | |
| std_iosfwd.h | Loading commit data... | |
| std_iostream.h | Loading commit data... | |
| std_istream.h | Loading commit data... | |
| std_iterator.h | Loading commit data... | |
| std_limits.h | Loading commit data... | |
| std_list.h | Loading commit data... | |
| std_locale.h | Loading commit data... | |
| std_map.h | Loading commit data... | |
| std_memory.h | Loading commit data... | |
| std_numeric.h | Loading commit data... | |
| std_ostream.h | Loading commit data... | |
| std_queue.h | Loading commit data... | |
| std_set.h | Loading commit data... | |
| std_sstream.h | Loading commit data... | |
| std_stack.h | Loading commit data... | |
| std_stdexcept.h | Loading commit data... | |
| std_streambuf.h | Loading commit data... | |
| std_string.h | Loading commit data... | |
| std_utility.h | Loading commit data... | |
| std_valarray.h | Loading commit data... | |
| std_vector.h | Loading commit data... |