Paolo Carlini
cc27f5a21c
locale_facets.tcc (time_get::_M_extract_num): Absolutely avoid dereferencing end iterators.
...
2003-10-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get::_M_extract_num):
Absolutely avoid dereferencing end iterators.
(time_get::_M_extract_name): Likewise.
* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format, case 'e'): Don't try to
be smart wrt returning the right __beg in case of parse
error, time_get::_M_extract_num must be fixed instead.
From-SVN: r73004
2003-10-28 12:23:31 +00:00
GCC Administrator
f4d0b3d4fd
Daily bump.
...
From-SVN: r72996
2003-10-28 00:16:07 +00:00
Paolo Carlini
0c6b814ac9
re PR libstdc++/12778 (1022 bootstrap failure building libstdc++-v3/src/basic_file.cc)
...
2003-10-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12778
* acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r72994
2003-10-27 23:11:52 +00:00
Benjamin Kosnik
0f09879bd2
TODO: Add links.
...
2003-10-27 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/TODO: Add links.
* testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
Uncomment.
From-SVN: r72991
2003-10-27 21:43:33 +00:00
Paolo Carlini
f20d2b7871
re PR libstdc++/12750 (time_get::_M_extract_via_format doesn't deal with 'e')
...
2003-10-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12750
* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format): Deal with code 'e'.
* testsuite/22_locale/time_get/get_date/char/12750.cc: New.
* testsuite/22_locale/time_get/get_date/wchar_t/12750.cc: Ditto.
* include/bits/locale_facets.tcc
(time_get::_M_extract_via_format): Tweak to absolutely avoid
dereferencing end iterators.
* include/bits/locale_facets.h (__verify_grouping):
Const-ify second parameter.
* include/bits/locale_facets.tcc (__verify_grouping): Ditto.
* src/locale-inst.cc (__verify_grouping): Ditto.
2003-10-27 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get::_M_extract_float):
Various things: 1- Avoid absolutely end iterator dereferences;
2- Improve performance-wise the code skipping leading zeros;
3- Fix two bugs wrt early bail out in case of parsing errors
(see testcases); 4- General clean up.
(num_get::_M_extract_int): Likewise, except 3-. Additionally,
use __builtin_expect to favor base 10 inputs.
* testsuite/22_locale/num_get/get/char/7.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/7.cc: Ditto.
From-SVN: r72987
2003-10-27 16:21:14 +00:00
GCC Administrator
60b6a81550
Daily bump.
...
From-SVN: r72969
2003-10-27 00:16:37 +00:00
Paolo Carlini
f883c8dce3
1.cc: Clean up.
...
2003-10-26 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/money_put/put/char/1.cc: Clean up.
* testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
From-SVN: r72949
2003-10-26 10:33:30 +00:00
GCC Administrator
6cadb6e375
Daily bump.
...
From-SVN: r72939
2003-10-26 00:16:07 +00:00
Paolo Carlini
999bf60f6a
locale_facets.tcc (num_get::_M_extract_int): __pos in only incremented, never used its value, remove it.
...
2003-10-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get::_M_extract_int):
__pos in only incremented, never used its value, remove it.
From-SVN: r72922
2003-10-25 09:28:39 +00:00
Robert Millan
b2398b4947
acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu and knetbsd*-gnu.
...
2003-10-24 Robert Millan <robertmh@gnu.org>
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu
and knetbsd*-gnu.
* aclocal.m4: Regenerated.
* configure: Regenerated.
From-SVN: r72917
2003-10-25 02:48:34 +00:00
GCC Administrator
569827c9b6
Daily bump.
...
From-SVN: r72914
2003-10-25 00:16:05 +00:00
Paolo Carlini
761faeec31
locale_facets.tcc (money_get::do_get(..., long double&): Properly size the temporary buffer.
...
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(...,
long double&): Properly size the temporary buffer.
* testsuite/22_locale/money_get/get/char/11.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/11.cc: Ditto.
* include/bits/locale_facets.tcc (num_put::_M_group_int,
num_put::_M_group_float, money_put::do_put(..., const
string_type&), collate::do_compare, collate::do_transform):
Prefer basic_string::data() to c_str() when the '\0'
terminator is not really needed.
From-SVN: r72911
2003-10-24 22:51:15 +00:00
Paolo Carlini
eebf21ef99
locale_facets.tcc (__verify_grouping): Prefer '=' to an unnecessary '&='.
...
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (__verify_grouping):
Prefer '=' to an unnecessary '&='.
From-SVN: r72908
2003-10-24 20:21:48 +00:00
Paolo Carlini
ebaeca8b55
basic_ios.tcc (copyfmt(const basic_ios&)): Tweak my fix for libstdc++/12657.
...
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
Tweak my fix for libstdc++/12657.
From-SVN: r72895
2003-10-24 14:24:00 +00:00
Paolo Carlini
bf22935f99
locale_facets.tcc (money_get::do_get(..., string_type&): Minor tweak to the previous commit.
...
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Minor tweak to the previous commit.
From-SVN: r72892
2003-10-24 12:21:18 +00:00
Paolo Carlini
1462870004
locale_facets.tcc (money_get::do_get(..., string_type&): Disregard the previous commit...
...
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Disregard the previous commit: doesn't hurt but
doesn't accomplish anything useful either. This is the right
one, speeding up greatly the function in case of early fail.
From-SVN: r72888
2003-10-24 11:20:55 +00:00
Paolo Carlini
cdd5cf7255
locale_facets.tcc (money_get::do_get(..., string_type&): Move an if block...
...
2003-10-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get::do_get(...,
string_type&): Move an if block, thus minimizing the amount
of code processed anyway when __tmp_units.size() == 0.
From-SVN: r72887
2003-10-24 10:12:05 +00:00
Paolo Carlini
c21dbe8553
2003-10-24 Paolo Carlini <pcarlini@suse.de>
...
* include/bits/locale_facets.tcc
(time_get<>::_M_extract_via_format): Deal with case 'C' too,
equivalent to 'y'.
From-SVN: r72884
2003-10-24 09:19:07 +00:00
GCC Administrator
9ab791c044
Daily bump.
...
From-SVN: r72874
2003-10-24 00:16:07 +00:00
Benjamin Kosnik
d2c354f380
documentation.html: Add a pointer to the doxygen style guide.
...
2003-10-23 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/documentation.html: Add a pointer to the doxygen style
guide.
* docs/html/17_intro/TODO: Update.
* docs/html/test.html: Add instructions for running a subset of
tests, update.
From-SVN: r72867
2003-10-23 20:35:13 +00:00
Paolo Carlini
60aa9fc304
locale_facets.tcc (money_get<>::do_get(..., string_type&)): Use find_first_not_of to strip leading zeros...
...
2003-10-23 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (money_get<>::do_get(...,
string_type&)): Use find_first_not_of to strip leading
zeros; if __tmp_units == "0" never prefix it with '-';
always fail if __tmp_units is empty.
* testsuite/22_locale/money_get/get/char/10.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/10.cc: Ditto.
From-SVN: r72860
2003-10-23 17:05:01 +00:00
Phil Edwards
861f9573d0
ctype_noninline.h: Adjust ctor to match 2003-10-21 change.
...
2003-10-23 Phil Edwards <phil@codesourcery.com>
* config/os/vxworks/ctype_noninline.h: Adjust ctor to match
2003-10-21 change.
From-SVN: r72835
2003-10-23 05:33:49 +00:00
GCC Administrator
8f9ba40588
Daily bump.
...
From-SVN: r72831
2003-10-23 00:16:08 +00:00
Paolo Carlini
3c21d6e0f7
locale_facets.tcc (__int_to_char): Remove the const int parameter.
...
2003-10-22 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (__int_to_char): Remove
the const int parameter.
(_M_insert_int): Update caller.
* src/locale-inst.cc (__int_to_char): Update instantiations.
From-SVN: r72825
2003-10-22 21:53:21 +00:00
Benjamin Kosnik
bf5fe4734c
locale_facets.h: Correct byname facets for "C" locale.
...
2003-10-22 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h: Correct byname facets for "C"
locale.
* config/locale/generic/ctype_members.cc: Same.
* config/locale/generic/messages_members.h: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/messages_members.h: Same.
* include/bits/codecvt.h: Same.
* src/ctype.cc: Same.
* testsuite/22_locale/codecvt_byname/1.cc: New.
* testsuite/22_locale/collate/1.cc: Edit.
* testsuite/22_locale/collate_byname/1.cc: Derivation tests, move to...
* testsuite/22_locale/collate_byname/named_equivalence.cc: ...here.
* testsuite/22_locale/ctype/1.cc: Derivation tests.
* testsuite/22_locale/ctype/11844.cc: Move...
* testsuite/22_locale/ctype_base/11844.cc: ...here.
* testsuite/22_locale/ctype_base/1.cc: Move mask bits here.
* testsuite/22_locale/ctype_byname/1.cc: Name.
* testsuite/22_locale/messages_byname/1.cc: New.
* testsuite/22_locale/messages_byname/named_equivalence.cc: New.
* testsuite/22_locale/moneypunct_byname/1.cc: Derivation test.
* testsuite/22_locale/moneypunct_byname/named_equivalence.cc: New.
* testsuite/22_locale/numpunct/1.cc: Edit.
* testsuite/22_locale/numpunct_byname/2.cc: Move...
* testsuite/22_locale/numpunct/members/char/3.cc: ...here.
* testsuite/22_locale/numpunct_byname/1.cc: Derivation tests.
* testsuite/22_locale/numpunct_byname/named_equivalence.cc: New.
From-SVN: r72814
2003-10-22 18:58:35 +00:00
Paolo Carlini
3d05b34592
re PR libstdc++/8610 (large file support in libstdc++-v3 (std::streamoff type is 32-bit in GCC 3.2 whereas it was 64-bit in GCC 2.96))
...
2003-10-22 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/8610
* acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro,
checking for the availability of int64_t.
(GLIBCXX_CHECK_LFS): New macro, checking for LFS support.
* configure.ac: Call here.
* acconfig.h: Add undef for the corresponding symbols.
* config/io/basic_file_stdio.cc (__basic_file<char>::open):
Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen.
(__basic_file<char>::seekoff): Likewise, call lseek64 when
available, otherwise lseek, checking the __off parameter.
* include/bits/postypes.h: Typedef __streamoff_base_type
to int64_t if available, otherwise long long.
* aclocal.m4: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.
* acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV):
Use AC_TRY_LINK instead of AC_TRY_COMPILE.
From-SVN: r72806
2003-10-22 15:51:55 +00:00
Paolo Carlini
57d01e696f
re PR libstdc++/12657 (Resolution of DR 292 (WP) still unimplemented)
...
2003-10-22 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12657
* include/bits/basic_ios.tcc (copyfmt(const basic_ios&)):
Implement resolution of DR 292 (WP).
* docs/html/ext/howto.html: Add entry for DR 292.
From-SVN: r72803
2003-10-22 15:44:19 +00:00
GCC Administrator
f30e21238a
Daily bump.
...
From-SVN: r72781
2003-10-22 00:16:07 +00:00
Benjamin Kosnik
6b5a2662c7
mt_allocator.h: Change include to gthr.h.
...
2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h: Change include to gthr.h.
* include/ext/rope: Same. Add _Refcount_base definitions.
* include/ext/pool_allocator.h: Adjust namespaces.
* include/bits/stl_threads.h (_Refcount_base): Move.
Put remaining into namespace __gnu_cxx.
From-SVN: r72763
2003-10-21 18:01:37 +00:00
Benjamin Kosnik
82c2e3d44a
re PR libstdc++/9858 (Extra virtual functions in ctype<char>)
...
2003-10-21 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/9858
* include/bits/locale_facets.h (ctype<char>): Remove
__ctype_abstract_base.
(ctype<char>::do_is): Remove.
(ctype<char>::do_scan_is): Remove.
* src/ctype.cc: Same. Inline the rest.
* testsuite/22_locale/ctype/is/char/9858.cc: New.
* config/os/aix/ctype_noninline.h: Adjust ctor.
* config/os/bsd/freebsd/ctype_noninline.h: Same.
* config/os/bsd/netbsd/ctype_noninline.h: Same.
* config/os/djgpp/ctype_noninline.h: Same.
* config/os/generic/ctype_noninline.h: Same.
* config/os/gnu-linux/ctype_noninline.h: Same.
* config/os/hpux/ctype_noninline.h: Same.
* config/os/irix/irix5.2/ctype_noninline.h: Same.
* config/os/irix/irix6.5/ctype_noninline.h: Same.
* config/os/mingw32/ctype_noninline.h: Same.
* config/os/newlib/ctype_noninline.h: Same.
* config/os/qnx/qnx6.1/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/ctype_noninline.h: Same.
* config/os/solaris/solaris2.7/ctype_noninline.h: Same.
* config/os/windiss/ctype_noninline.h: Same.
From-SVN: r72753
2003-10-21 14:22:43 +00:00
Paolo Carlini
d23ad8c84e
locale.cc: Tweak a comment.
...
2003-10-21 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc: Tweak a comment.
* src/localename.cc: Move a comment.
From-SVN: r72745
2003-10-21 11:42:29 +00:00
GCC Administrator
d9c6bbf63c
Daily bump.
...
From-SVN: r72733
2003-10-21 00:16:09 +00:00
Benjamin Kosnik
9540958eff
re PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face of unknown locales)
...
2003-10-20 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/10081
* testsuite_hooks.h: Add pod_type, ctype and numpunct specializations.
* testsuite_hooks.cc: Same.
* 22_locale/numpunct/members/pod/1.cc: Edit.
* 22_locale/numpunct/members/pod/2.cc: Same.
* 27_io/basic_istream/sentry/char/3983-fstream.cc: Move ...
* 27_io/basic_istream/sentry/char/3983-sstream.cc: Move ...
* 27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Here.
* 27_io/basic_istream/extractors_character/pod/3983-2.cc: Here.
* 27_io/basic_istream/extractors_other/pod/3983-3.cc: Here.
* 27_io/basic_ostream/sentry/char/3983-fstream.cc: Remove.
* 27_io/basic_ostream/sentry/char/3983-sstream.cc: Remove.
* 27_io/basic_istream/sentry/pod/1.cc: New.
* 27_io/basic_ostream/sentry/pod/1.cc: New.
* 21_strings/basic_string/inserters_extractors/pod/10081-in.cc: New.
* 21_strings/basic_string/inserters_extractors/pod/10081-out.cc: New.
From-SVN: r72728
2003-10-20 22:11:40 +00:00
Rainer Orth
27d54b2a6c
ffi.c: Use _ABIN32, _ABIO32 instead of external _MIPS_SIM_NABI32, _MIPS_SIM_ABI32.
...
libffi:
* src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external
_MIPS_SIM_NABI32, _MIPS_SIM_ABI32.
libstdc++-v3:
* config/cpu/mips/atomicity.h (__atomic_add): Use _ABIO32 instead
of external _MIPS_SIM_ABI32.
boehm-gc:
* mips_sgi_mach_dep.s: Use _ABIO32 instead of external
_MIPS_SIM_ABI32.
gcc:
* config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Define _ABIO32.
Use it in _MIPS_SIM definition.
* config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Likewise.
From-SVN: r72713
2003-10-20 18:37:22 +00:00
Phil Edwards
65fc9769d5
configure.ac: Fix comment typo.
...
2003-10-20 Phil Edwards <phil@codesourcery.com>
* configure.ac: Fix comment typo.
* configure.host: Add vxworks to host_os switch.
* crossconfig.m4: Remove old commented os_include_dir variables
left over from autotools transition.
(*-vxworks): New stanza.
(*-windiss): Add missing symbols.
* configure: Regenerate.
* config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
New files.
* config/os/windiss/os_defines.h: Define __C9X__.
From-SVN: r72710
2003-10-20 18:27:17 +00:00
GCC Administrator
31762a1ce7
Daily bump.
...
From-SVN: r72689
2003-10-20 00:16:07 +00:00
David Edelsohn
47395a24e6
re PR libstdc++/12506 (build failure of libstdc++ due to Makefile error)
...
PR other/12506
* configure.host (aix4,aix*): Define os_include_dir to os/generic.
From-SVN: r72684
2003-10-19 16:58:22 -04:00
Andreas Tobler
8f4c7b679c
locale.cc (locale::_S_initialize): Re-apply workaround a confusion of the use of the gthr API when...
...
2003-10-18 Andreas Tobler <a.tobler@schweiz.ch>
* src/locale.cc (locale::_S_initialize): Re-apply workaround a
confusion of the use of the gthr API when __gthread_active_p()
returns true.
From-SVN: r72679
2003-10-19 17:43:44 +00:00
GCC Administrator
72f1978f42
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r72665.2
2003-10-19 00:16:10 +00:00
GCC Administrator
66e2911fea
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r72629.2
2003-10-18 00:16:11 +00:00
Benjamin Kosnik
c755e77d63
Makefile.am: Add new files.
...
2003-10-17 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am: Add new files.
* src/Makefile.in: Regenerate.
* src/globals.cc: Split into..
* src/globals_io.cc: New.
* src/globals_locale.cc: New.
* src/ios.cc: Split into...
* src/ios_init.cc: New.
* src/ios_locale.cc: New.
* src/locale-inst.cc: Split into..
* src/wlocale-inst.cc: New.
* src/locale-misc-inst.cc: New.
* src/locale.cc, src/localename: Split into...
* src/locale_facets.cc: New.
* src/locale_init.cc: New.
* src/wstring-inst.cc: Add copyright info.
From-SVN: r72607
2003-10-17 14:47:30 +00:00
GCC Administrator
1dd04bcaee
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r72587.2
2003-10-17 00:16:09 +00:00
Paolo Carlini
fb68dabb19
Remove PR 8610 heading mistakenly added to last ChangeLog entry.
...
From-SVN: r72584
2003-10-16 22:53:32 +00:00
Benjamin Kosnik
4c4809c175
[multiple changes]
...
2003-10-16 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/8610
PR libstdc++/11450
PR libstdc++/11543
PR libstdc++/12065
* config/io/basic_file_stdio.cc (__basic_file::seekoff):
Change return value from streampos to streamoff.
(__basic_file::seekpos): Delete.
* config/io/basic_file_stdio.h: Same.
* config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
* include/Makefile.am (bits_headers): Add bits/postypes.h.
* include/bits/char_traits.h: Include bits/postypes.h instead of
bits/fpos.h.
* include/bits/fstream.tcc (basic_filebuf::open,
basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
values, use == and != instead.
(basic_filebuf::_M_seek): Use explicit conversion from streamoff
to pos_type.
(basic_filebuf::imbue): Don't use ! on pos_type values, use
== instead. Don't use __check_facet(_M_codecvt) unless is_open().
* include/bits/postypes.h: New file.
Add __streamoff_base_type typedef, streamsize.
(streamoff, streampos, wstreampos): Define typedefs, with
streamoff defined as...
(streamoff): New class. Document implementation defined
aspects.
(fpos): New implementation. Document implementation defined
aspects.
* include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
explicit conversion from pos_type to off_type.
* include/std/std_iosfwd.h: Include bits/postypes.h instead
of bits/fpos.h.
* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
* testsuite/27_io/fpos/11450.cc: New test.
* testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
* testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
* testsuite/27_io/types/3.cc: New test.
2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
* configure.host: Remove fpos_include_dir.
* configure.ac: Remove FPOS_INC_SRCDIR.
* configure: Regenerate.
* acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
* aclocal.m4: Regenerate.
* include/Makefile.am (host_headers): Remove fpos.h.
(bits_headers): Add postypes.h.
* include/Makefile.in: Regenerate.
* config/os/gnu-linux/fposh: Remove.
* config/os/generic/fpos.h: Remove.
* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
* testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
* testsuite/27_io/fpos/mbstate_t/3.cc: Same.
* testsuite/27_io/objects/char/10.cc: Same.
From-SVN: r72582
2003-10-16 22:37:53 +00:00
Benjamin Kosnik
5d78fe723c
acconfig.h: Add HAVE_DRAND48.
...
2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h: Add HAVE_DRAND48.
* crossconfig.m4: Remove ISATTY.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
* configure: Regenerated.
From-SVN: r72575
2003-10-16 21:01:01 +00:00
Paolo Carlini
0392ff984f
locale.cc (locale::locale(const char*)): ...
...
2003-10-16 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc (locale::locale(const char*)): ... one
more comparison missed in the previous commit.
From-SVN: r72574
2003-10-16 20:36:45 +00:00
Benjamin Kosnik
d2f663d109
acconfig.h: Add HAVE_DRAND48 and HAVE_ISATTY.
...
2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h: Add HAVE_DRAND48 and HAVE_ISATTY.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
From-SVN: r72573
2003-10-16 20:33:43 +00:00
Bernardo Innocenti
068c84e3b5
atomicity.h (__exchange_and_add): Use TAS on __mcf5400__.
...
* config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
__mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
Document SMP safeness of asm macros.
From-SVN: r72570
2003-10-16 21:47:45 +02:00
Paolo Carlini
eaed902bf7
locale.cc (locale::locale(const char*)): Tweak a couple of comparisons to use basic_string operators.
...
2003-10-16 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc (locale::locale(const char*)): Tweak
a couple of comparisons to use basic_string operators.
From-SVN: r72554
2003-10-16 17:53:49 +00:00
Paolo Carlini
f991b1d853
re PR libstdc++/12540 (Memory leak in locale::locale(const char*))
...
2003-10-16 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12540
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
Don't leak memory if new throws.
* src/locale.cc (locale::locale(const char*)): In order not
to leak memory in case new throws, use a basic_string type
for __res too and avoid strdup.
From-SVN: r72553
2003-10-16 17:24:07 +00:00