aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/libio/genops.c
AgeCommit message (Collapse)AuthorFilesLines
2003-06-12acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.Benjamin Kosnik1-1123/+0
2003-06-11 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. * aclocal.m4: Regenerate. * Makefile.am (SUBDIRS): Remove libio. * Makefile.in: Regenerate. * configure.in: Same. * configure: Regenerate. * config/io/basic_file_libio.cc: Remove. * config/io/basic_file_libio.h: Remove. * config/io/c_io_libio_codecvt.c: Remove. * config/io/c_io_libio.h: Remove. * libio/*: Remove. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * docs/html/configopts.html: Edits. * docs/html/explanations.html: Edits. From-SVN: r67813
2000-08-15C/C++ io merge/sync.Benjamin Kosnik1-3/+6
2000-08-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com> C/C++ io merge/sync. * libio/fileops.c * libio/genops.c * libio/iofclose.c * libio/iofopen.c * libio/iofwide.c * libio/libio.h * libio/libioP.h * libio/stdio.c * libio/wfileops.c * libio/wgenops.c * config/c_io_libio.cc (__basic_file): Add hacky casts to ((struct _IO_FILE_plus *) in ctors. (__basic_file<wchar_t>): Adjust _wide_data->_codecvt to just _codecvt. * libio/Makefile.am: Fix copyright. Remove cleanup.c. * libio/cleanup.c: Remove. * libio/filedoalloc.c (_IO_file_doallocate): Don't call _IO_cleanup_registration_needed, even if not libc. * testsuite/27_io/stringstream.cc (test02): Fix. From-SVN: r35694
2000-08-09[multiple changes]Benjamin Kosnik1-1/+3
2000-08-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com> Preliminary wchar_t implementation, with trivial encodings. * docs/configopts.html: Add bits about canonical configure option checking. * testsuite/27_io/iostream_objects.cc: Replace this file (which has newly-declared-illegal mixing of wide/narrow stdstreams) with... * testsuite/27_io/narrow_stream_objects.cc: New file. * testsuite/27_io/wide_stream_objects.cc: New file. * bits/fstream.tcc (underflow): Temporarily hack a solution together that writes from the external file to the internal buffers. This removes codecvt from the loop, and is incorrect. (_M_really_overflow): Same here. * testsuite/21_strings/inserters_extractors.cc (test05): Tweaks. 2000-08-08 Benjamin Kosnik <bkoz@cygnus.com> Ulrich Drepper <drepper@cygnus.com> * config/c_io_libio.h: Tweak. * config/c_io_libio_codecvt.c: New file. * libio/Makefile.am: Add c_codecvt.c. * libio/Makefile.in: Regenerate. * libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the stream is not orientated. * acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until encoding gets fleshed out. * bits/basic_file.h: Add specialization declarations. * config/c_io_libio.cc: Add specializations for pbackfail, uflow. * config/c_io_libio.h: Add __c_wfile_type. * bits/basic_file.h: Add _M_wfile. * config/c_io_libio.cc (__basic_file<char>): Initialize the streams without setting the orientation of the underlying FILE to either wide or narrow. (__basic_file<wchar_t>)): Enable tricky wchar_t io bits. From-SVN: r35584
2000-08-01fileops.cc: Update to current glibc sources.Benjamin Kosnik1-25/+30
2000-07-31 Benjamin Kosnik <bkoz@cygnus.com> * libio/fileops.cc: Update to current glibc sources. * libio/genops.c: Same. * libio/iofwide.c: Same. * libio/libio.h: Same. * libio/libioP.h: Same. * libio/wfiledoalloc.c: Same. * libio/wgenops.c: Same. From-SVN: r35407
2000-07-19acinclude.m4: Tweaks.Benjamin Kosnik1-4/+2
2000-07-18 Benjamin Kosnik <bkoz@soma.redhat.com> * acinclude.m4: Tweaks. * config/c_io_libio.cc: Tweaks. * bits/sstream.tcc (stringbuf::pbackfail): Simplify. * libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE. * libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files. * libio/iofclose.c iofopen.c, stdio.c: New files. * libio/Makefile.am: Add files, add flags, etc. * src/Makefile.am (sources): Add filebuf.cc. * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): (GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc. From-SVN: r35127
2000-07-02Sync libio to glibc-2.2 current CVS.Benjamin Kosnik1-99/+242
2000-07-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com> Ulrich Drepper <drepper@purist.soma.redhat.com> Sync libio to glibc-2.2 current CVS. * libio/_G_config.h: New file. * libio/wfileops.c: New file. * libio/wfiledoalloc.c: New file. * libio/wgenops.c: New file. * libio/iofwide.c: New file. * libio/Makefile.am: Tweaks. * libio/Makefile.in: Regenerate. * libio/gen-params: Remove. Generic replacement for this yet undone. * libio/[filedoalloc.c, fileops.c, genops.c, iolibio.h, libio.h, libioP.h, stdfiles.c]: Update. * config/c_io_libio.cc: Tweaks. * acinclude.m4: Complete hacks to test wide io. * aclocal.m4: Regenerate. * configure: Regenerate. * src/Makefile.am: Update. * src/Makefile.in: Regenerate. * math/cargl.c: Remove underscores. * bits/locale_facets.h: Tweaks. Start adding iconv details and notes. * bits/locale_facets.tcc: Tweaks. * bits/std_cwchar.h: Tweaks. Co-Authored-By: Ulrich Drepper <drepper@purist.soma.redhat.com> From-SVN: r34822
2000-04-28[multiple changes]Benjamin Kosnik1-5/+31
2000-04-26 Nathan C. Myers <ncm@cantrip.org> * bits/basic_string.h: include <bits/atomicity.h> instead of <atomicity.h>, and use the uglified names. * config/cpu/*/atomicity.h: replace with bits/atomicity.h; uglify names, eliminate dependence on <inttypes.h>. * src/Makefile.in, src/Makefile.am: refer to correct place for atomicity.h header. 2000-04-25 Steven King <sxking@uswest.net> * bits/basic_string.h: Fix syntax error. 2000-04-25 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for USE_LONG_DOUBLE. (GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2. * math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long versions to this as copysignl is needed anyway for these targets. * math/Makefile.in: Regenerate. * bits/streambuf.tcc (streambuf::xsgetn): Tweak. * bits/fstream.tcc (underflow): Cast to libio types. * bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff. * config/c_io_libio.cc (seekoff): And here. From-SVN: r33501
2000-04-21libstdc++-v3: New directory.Benjamin Kosnik1-0/+946
2000-04-21 Benjamin Kosnik <bkoz@redhat.com> * libstdc++-v3: New directory. From-SVN: r33317