OSDN Git Service

Use VAR=${VAR=...} form.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
2
3         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
4
5 2001-02-23  David Edelsohn <dje@watson.ibm.com>
6
7         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
8
9 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
10
11         c++/2052
12         * include/backward/iostream.h:  Expose std::flush in old headers.
13
14 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
15
16         * mknumeric_limits: Remove special-casing on target.  Use gcc
17         instead of g++ to build gen-num-limits.cc
18
19 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
20
21         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
22
23         * include/bits/codecvt.h: Use alloca instead of __extension__ for
24         the time being.
25         * include/bits/ostream.tcc: Same.
26         * include/bits/std_ostream.h: Same.
27         * include/bits/fstream.tcc: Same.
28         * include/bits/locale_facets.tcc: Add typename.
29         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
30
31 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
32
33         * tests_flags.in:  Remove -n flag from call to echo.
34
35 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
36
37         * config/c_locale_gnu.h: Add clocale include.
38
39 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
40
41         * include/bits/stl_config.h:  Remove file.
42         * src/Makefile.am (base_headers):  Remove from list.
43         * configure:  Regenerate.
44         * Makefile.in:  Ditto.
45         * libio/Makefile.in:  Ditto.
46         * libmath/Makefile.in:  Ditto.
47         * libsupc++/Makefile.in:  Ditto.
48         * src/Makefile.in:  Ditto.
49
50         * include/bits/c++config:  Move relevant macros to here.
51         * include/backward/alloc.h:  Include c++config.h instead.
52         * include/backward/function.h:  Ditto.
53         * include/backward/heap.h:  Ditto.
54         * include/backward/pair.h:  Ditto.
55         * include/bits/pthread_allocimpl.h:  Ditto.
56         * include/bits/std_functional.h:  Ditto.
57         * include/bits/std_iterator.h:  Ditto.
58         * include/bits/std_numeric.h:  Ditto.
59         * include/bits/std_utility.h:  Ditto.
60         * include/bits/stl_algobase.h:  Ditto.
61         * include/bits/type_traits.h:  Ditto.
62         * src/stl-inst.cc:  Ditto.
63
64 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
65
66         * include/bits/basic_file.h: Add #pragma system_header
67         * include/bits/basic_ios.h: Ditto.
68         * include/bits/basic_string.h: Ditto.
69         * include/bits/char_traits.h: Ditto.
70         * include/bits/codecvt.h: Ditto.
71         * include/bits/cpp_type_traits.h:  Ditto.
72         * include/bits/fpos.h: Ditto.
73         * include/bits/gslice.h: Ditto.
74         * include/bits/gslice_array.h: Ditto.
75         * include/bits/indirect_array.h: Ditto.
76         * include/bits/ios_base.h: Ditto.
77         * include/bits/limits_generic.h: Ditto.
78         * include/bits/locale_facets.h: Ditto.
79         * include/bits/localefwd.h: Ditto.
80         * include/bits/mask_array.h: Ditto.
81         * include/bits/sbuf_iter.h: Ditto.
82         * include/bits/sequence_concepts.h: Ditto.
83         * include/bits/slice.h: Ditto.
84         * include/bits/slice_array.h: Ditto.
85         * include/bits/std_algorithm.h: Likewise.
86         * include/bits/std_bitset.h: Likewise.
87         * include/bits/std_complex.h: Likewise.
88         * include/bits/std_deque.h: Likewise.
89         * include/bits/std_fstream.h: Likewise.
90         * include/bits/std_functional.h: Likewise.
91         * include/bits/std_iomanip.h: Likewise.
92         * include/bits/std_ios.h: Likewise.
93         * include/bits/std_iosfwd.h: Likewise.
94         * include/bits/std_iostream.h: Likewise.
95         * include/bits/std_istream.h: Likewise.
96         * include/bits/std_iterator.h: Likewise.
97         * include/bits/std_list.h: Likewise.
98         * include/bits/std_locale.h: Likewise.
99         * include/bits/std_map.h: Likewise.
100         * include/bits/std_memory.h: Likewise.
101         * include/bits/std_numeric.h: Likewise.
102         * include/bits/std_ostream.h: Likewise.
103         * include/bits/std_queue.h: Likewise.
104         * include/bits/std_set.h: Likewise.
105         * include/bits/std_sstream.h: Likewise.
106         * include/bits/std_stack.h: Likewise.
107         * include/bits/std_stdexcept.h: Likewise.
108         * include/bits/std_streambuf.h: Likewise.
109         * include/bits/std_string.h: Likewise.
110         * include/bits/std_utility.h: Likewise.
111         * include/bits/std_valarray.h: Likewise.
112         * include/bits/std_vector.h: Likewise.
113         * include/bits/stringfwd.h: Likewise.
114         * include/bits/type_traits.h: Likewise.
115         * include/bits/valarray_array.h: Likewise.
116         * include/bits/valarray_meta.h: Likewise.
117
118 2001-02-19  Andreas Jaeger  <aj@suse.de>
119
120         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
121         Fix typo.
122
123 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
124
125         libstdc++/1734
126         * include/bits/std_ostream.h: Replaced usage of
127         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.  
128         * include/bits/char_traits.h: Removed non-standard
129         methods that cannot be used elsewhere.  
130         
131         libstdc++/1885
132         * include/bits/basic_ios.h: Uncommented #include of
133         bits/basic_ios.tcc 
134         
135         libstdc++/1897
136         * include/bits/codecvt.h: See next...
137         * include/bits/fstream.tcc: See next...
138         * include/bits/ostream.tcc: Add __extension__ 
139         to variable-length arrays.  
140         
141         libstdc++/1967
142         * include/bits/localefwd.h: Changed int counter type to size_t.
143
144         libstdc++/1968
145         * include/bits/std_fstream.h: Added typedef for __ctype_type.
146
147 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
148
149         * testsuite/21_strings/char_traits.cc: Move to ...
150         * testsuite/21_strings/char_traits_requirements.cc: ..here.
151         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
152         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
153
154 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
155
156         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
157         definitions. 
158
159 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
160
161         * include/bits/c++config: Revert.
162
163 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
164
165         * include/bits/istream.tcc: Use ios_base::iostate in place of
166         iostate throughout.  Insert `typename' keyword where necessary.
167         * include/bits/ostream.tcc: Insert `typename' keyword where
168         necessary.
169         
170 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
171
172         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
173         Define so library is compliant.
174
175 2001-02-15  Anthony Green  <green@redhat.com>
176
177         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
178         compilation.
179         * aclocal.m4: Regenerate.
180         * configure: Regenerate.
181
182 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
183
184         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
185         Include ieeefp.h for fpclass on UnixWare{2,7}.
186         * aclocal.m4: Regenerate.
187         * configure: Regenerate.
188         * mkcheck.in (size_command): Do without GNU-grep when using
189         size from binutils.
190
191 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
192
193         Remove old ABI support from libsupc++.
194         * libsupc++/cxxabi.h: Remove conditionally compiled code.
195         * libsupc++/exception_support.cc: Likewise.
196         * libsupc++/pure.cc: Likewise.
197         * libsupc++/tinfo.cc: Likewise.
198         * libsupc++/tinfo.h: Likewise.
199         * libsupc++/tinfo2.cc: Likewise.
200         * libsupc++/typeinfo: Likewise.
201         * libsupc++/vec.cc: Likewise.
202
203 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
204
205         Add support for -fno-exceptions.
206         * include/bits/exception_support.h: Remove.
207         * include/bits/basic_string.h: Remove exception_support.
208         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
209         (string::at): Same.
210         (string::substr): Same.
211         * include/bits/basic_string.tcc (string::reserve): Replace
212         __LENGTHERROR with __throw_length_error.
213         (string::_S_create): Same.
214         (string::resize): Same.
215         (string::_M_replace): Same.
216         (string::replace): Same.
217         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
218         (string::compare): Same.
219         * include/bits/stl_vector.h: Remove exception_support.
220         * src/Makefile.am (base_headers): Remove here.
221         * src/Makefile.in: Regenerate.
222
223         * include/bits/stl_range_errors.h: Remove.
224         * include/bits/stl_deque.h: Use __throw_range_error.
225         * include/bits/std_deque.h: Include functexcept.h.
226         * include/bits/std_vector.h: Same.
227         * src/Makefile.am (base_headers): Remove here.
228         * src/Makefile.in: Regenerate.
229         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
230         * include/ext/bvector: Remove stl_range_errors.h
231
232         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
233
234         * include/bits/functexcept.h: New file.
235         * src/functexcept.cc: New file. Definitions for function-based
236         exception routines.
237         * src/Makefile.am (sources): Add functexcept.cc.
238         * src/Makefile.in: Regenerate.
239
240         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
241         __EXCEPTIONS.
242
243         * include/bits/localefwd.h: Include functexcept.h.
244         * include/bits/std_iosfwd.h: Same.
245
246         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
247         throw basic_ios::failure.
248         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
249         Use __throw_exception_again.
250         (filebuf::_M_filebuf_init): Same.
251         * include/bits/streambuf.tcc (__copy_streambufs): Same.
252         * include/bits/ostream.tcc (ostream::operator<<): Same.
253         * include/bits/istream.tcc (istream::operator>>): Same.
254         * include/bits/basic_string.tcc (string::_M_mutate): Same.
255         (string::_S_construct): Same.
256         (string::_M_clone): Same.
257         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
258         __throw_bad_cast.
259         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
260         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
261         __throw_exception_again.
262         (locale::_Imp::_Imp(string, size_t): Same.
263         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
264         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
265         (locale::locale(const char*)): Use __throw_runtime_error.
266         (locale::classic): Use __throw_exception_again.
267         (locale::_S_normalize_category): Use __throw_runtime_error.
268
269         * src/stdexcept.cc: Remove cruft.
270
271         * libsupc++/exception_defines.h: New file.
272         * libsupc++/new_opnt.cc: Include exception_defines.h.
273         * libsupc++/vec.cc: Same.
274         (__cxa_vec_new2): Use __throw_exception_again.
275         (__cxa_vec_new3): Same.
276         (__cxa_vec_ctor): Same.
277         (__cxa_vec_delete3): Same.
278         (__cxa_vec_cctor): Same.
279         (__cxa_vec_delete2): Same.
280         (__cxa_vec_dtor): Same.
281         * libsupc++/exception_support.cc: Include exception_defines.h. Only
282         compile exception-handling bits if __EXCEPTIONS is defined.
283         Remove old ABI support.
284         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
285         std::__throw_bad_alloc() instead of throw bad_alloc.
286         * libsupc++/Makefile.am: Add exception_defines.h.
287         * libsupc++/Makefile.in: Reformat.
288         * libsupc++/*: Format.
289
290 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
291
292         * docs/html/configopts.html:  Minor updates and typo fixes.
293         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
294         * docs/html/faq/index.txt:  Regenerated.
295
296 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
297
298         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
299         dejagnu/dg.exp.  Adapt to log options used to run testcases.
300
301 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
302
303         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
304         dejagnu/dg.exp.
305
306 2001-02-13  Dirk Mueller <dmuell@gmx.net>
307             Phil Edwards  <pme@sources.redhat.com>
308
309         * include/backward/function.h:  Do not use rel_ops for older
310           headers either.
311         * include/backward/pair.h:  Likewise.
312
313 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
314
315         * src/locale.cc: Remove bogus locale::id definitions.
316
317 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
318
319         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
320         not _DEFINE_VALARRAY_OPERATOR which is not existent.
321
322         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
323         thinko in member initialisation.
324
325 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
326
327         * include/bits/std_valarray.h(valarray<>::shift): Avoid
328         comparaison between signed and unsigned integer types.
329         (valarray<>::cshift): Reformat.
330
331 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
332
333         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
334         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
335         * configure.in: Test for sigsetjmp.
336         * configure, config.h.in: Rebuilt.
337
338 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
339
340         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip 
341         lengths and strides.
342         (__gslice_to_index): Document.
343
344 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
345
346         * include/bits/char_traits.h char_traits<char>::int_type: Change
347         to `int' to match 21.1.3.1/2.
348
349         * testsuite/21_strings/char_traits-int_type.C: New test.
350
351 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
352
353         * testsuite/Makefile.am: New file.
354
355 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
356
357         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
358
359 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
360
361         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
362
363 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
364
365         * configure.target (aix4*): Remove extra set of brackets.
366
367 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
368
369         Clean up stdexcept.
370         * include/bits/stringfwd.h: New file.
371         * include/bits/stl_string_fwd.h: Remove.
372         * include/bits/localefwd.h: Remove declaration for allocator.
373         * include/bits/std_iosfwd: Same.
374         * include/bits/std_string.h: Include it.
375         * include/bits/std_ios.h: Remove include.
376         * include/bits/basic_string.h: Tweak.
377         * libsupc++/new: Format.
378         * src/Makefile.am (base_headers): Add stringfwd.h, remove
379         stl_string_fwd.h
380         * src/Makefile.in: Regenerate.
381         * include/bits/std_stdexcept.h: Rewrite.
382         * src/stdexcept.cc: Same.
383         
384 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
385
386         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
387         install locations too.
388         * aclocal.m4: Regenerate.
389         * configure.in: Remove USE_LIBDIR.
390         * configure: Regenerate.
391         * src/Makefile.am (toolexecdir): Simplify, use
392         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
393         * src/Makefile.in: Regenerate.
394         * libsupc++/Makefile.am: Same.
395         * libsupc++/Makefile.in: Regenerate.
396
397         * src/Makefile.am: Just remove special rules for locale-inst.cc and
398         misc-inst.cc as no longer necessary.
399
400         Follow C++STYLE for naming non-static functions.
401         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
402         __pad_char.
403         * include/bits/streambuf.tcc: Same.
404         * include/bits/ostream.tcc: Same.
405         * include/bits/istream.tcc: Same.
406         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
407         (_S_output_float): To __output_float.
408         * include/bits/std_streambuf.h (_S_copy_streambufs): To
409         __copy_streambufs.
410         * include/bits/locale_facets.tcc (_S_build_float_format): To
411         __build_float_format.
412         (_S_format): To __output_integer.
413         (_S_fill): To __pad.
414         * src/locale.cc: Same.
415         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
416         names.
417         * include/bits/locale_facets.tcc (_S_group_digits): To
418         __group_digits.
419         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
420         for collate, numpunct.
421         
422 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
423
424         * docs/html/configopts.html:  Fix HTML markup.
425         * docs/html/install.html:  Bring up to date.
426         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
427         * docs/html/21_strings/howto.html:  More notes.
428         * docs/html/22_locale/howto.html:  Fix HTML markup.
429         * docs/html/27_io/howto.html:  More notes.
430         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
431         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
432
433 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
434
435         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
436         to match header files.
437         (_S_output_float): Likewise.
438         (_S_copy_streambufs): Likewise.
439
440 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
441             Phil Edwards  <pme@sources.redhat.com>
442
443         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
444           use reinterpret_cast, not static_cast.
445
446 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
447
448         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
449         * aclocal.m4: Regenerate.
450         * configure: Regenerate.
451         
452 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
453
454         * include/bits/locale_facets.h (class moneypunct): Fix typos.
455         * libsupc++/pure.cc: Revert.
456
457 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
458
459         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
460         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
461         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
462         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
463         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
464         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
465         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
466         * aclocal.m4: Regenerate.
467         * configure: Regenerate.
468         
469 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
470
471         * include/bits/locale_facets.tcc: Remove `static' keyword on
472         function definitions.
473         * include/bits/std_streambuf.h: Likewise.
474         * src/Makefile.am: Remove use of -fimplicit-templates.
475         * src/Makefile.in: Regenerated.
476         * src/locale-inst.cc: Explicitly instantiate more functions.
477         * src/misc-inst.cc: Likewise.
478         * src/string-inst.cc: Likewise.
479
480 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
481
482         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
483         macro. Consolidate all the bits to do with where includes might be
484         installed.
485         * aclocal.m4: Regenerate.
486         * configure.in: Use it.
487         * configure: Regenerate.        
488         * src/Makefile.am (targetincludep): Use simplified rules.
489         (targetincludep): Rename gxx_target_include_dir.
490         (myincludep): Rename gxx_include_dir.
491         * src/Makefile.in: Regenerate.
492         * libsupc++/Makefile.am: Use simplified rules.
493         * libsupc++/Makefile.in: Regenerate.
494         
495 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
496
497         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
498         * include/c_std/bits/std_cctype.h: Same.
499         * include/c_std/bits/std_cassert.h: Same.
500         * include/c_std/bits/std_cstdarg.h: Same.
501         * include/c_std/bits/std_cstddef.h: Same.
502         
503         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
504         namespace std.
505         * include/c_std/bits/std_ctime.h: Same.
506         * include/c_std/bits/std_clocale.h: Same.
507         * include/c_std/bits/std_cmath.h: Same.
508         * include/c_std/bits/std_csetjmp.h: Same.
509         * include/c_std/bits/std_csignal.h: Same.
510         * include/c_std/bits/std_cstring.h: Same.
511         * include/c_std/bits/std_cstdlib.h: Same.
512         * include/c_std/bits/std_cwchar.h: Same.
513         
514 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
515
516         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
517
518 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
519
520         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
521         (string::_S_construct): Likewise.
522
523 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
524
525         * testsuite/config/default.exp: New file.
526         * testsuite/config: New directory.
527
528 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
529
530         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
531         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
532         whenever !__GXX_MERGED_TYPEINFO_NAMES.
533         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
534
535 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
536             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
537
538         * Makefile.am (mkinstalldirs): Set.
539         * src/Makefile.am (mkinstalldirs): Set.
540         * libmath/Makefile.am (mkinstalldirs): Set.
541         * libsup++/Makefile.am (mkinstalldirs): Set.
542         * libio/Makefile.am (mkinstalldirs): Set.       
543         * */Makefile.in: Regenerate.
544
545 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
546
547         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
548         * include/bits/localefwd.h: More initialization cleanups.
549
550 2001-02-03  Jeffrey A Law  <law@cygnus.com>
551
552         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
553         correctly targets with 16bit ints.
554         (_S_ios_openmode_end): Similarly.
555         (_S_ios_iostate_end): Similarly.
556         (_S_ios_Seekdir_end): Similarly.
557         
558 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
559
560         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
561
562 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
563
564         * configure.in (toplevel_srcdir, auxdir): Set.
565         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
566         * aclocal.m4, configure, Makefile.in: Rebuilt.
567         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
568         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
569         * libsupc++-v3/Makefile.in: Rebuilt.
570         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
571         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
572
573 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
574
575         * config/c_locale_generic.cc: Remove langinfo include.
576
577 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
578
579         Preliminary named locales.
580         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
581         * aclocal.m4: Regenerate.
582         * configure.in: Use it.
583         * configure: Regerate.
584         * src/Makefile.am (sources): Add c++locale.cc.
585         (build_headers): Add c++locale.h.
586         * src/Makefile.in: Regenerate.
587         * config/c_locale_gnu.h: New file.      
588         * config/c_locale_gnu.cc: New file. Non-inline member functions
589         for named locales, gnu-specific.
590         * config/c_locale_generic.h: New file.          
591         * config/c_locale_generic.cc: New file. Non-inline member
592         functions for named locales, generic version.
593         * docs/html/configopts.html: Add documentation on new options.
594
595         * include/bits/locale_facets.h (class _Messages): Remove.
596         (class _Moneypunct): Remove.
597         * src/locale-inst.cc: Remove.
598         
599         * include/bits/locale_facets.h (class _Collate): Remove.
600         * src/locale-inst.cc (std): Remove.
601         * src/locale.cc: And here.
602         
603         * include/bits/localefwd.h (locale::_M_coalesce): New
604         function. Correctly put together multi-name locales.
605         (_Impl(const _Impl&, category, size_t)): Remove.
606
607         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
608         member functions.
609         (_M_normalize_category_names): Remove.
610         (_M_replace_categories): Fix.
611
612         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
613         (locale::_Impl::_M_construct_ctype): Remove.
614         (locale::_Impl::_M_construct_monetary): Remove. 
615         (locale::_Impl::_M_construct_numeric): Remove.  
616         (locale::_Impl::_M_construct_time): Remove.             
617         (locale::_Impl::_M_construct_messages): Remove.         
618
619         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
620         (_Use_facet_failure_handle): Remove.
621         * src/locale.cc: Remove definitions.
622         * src/locale-inst.cc: And here.
623         
624         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
625
626         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
627         create and error-check underlying locale object.
628         (locale::facet::_S_destroy_c_locale): Add, take care of properly
629         tearing down underlying locale object.
630         * include/bits/localefwd.h (locale::facet): Declare.
631         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
632         correctness, as glibc apparently has incorrect info in it. Test
633         with it when it works again.....        
634
635         * include/bits/localefwd.h (locale::_Impl::__vec_string):
636         Remove. Number of categories is fixed at six, so just simplify and
637         make this an array of strings.
638         (locale::_Impl::_M_has_name): Remove.
639         (locale::_Impl::_M_name): Remove.       
640         (locale::_Impl::_M_category_names): Turns into...       
641         (locale::_Impl::_M_names): ...this.
642         (locale::_Impl::_M_has_same_name()): New function.
643         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
644         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
645         signature.
646         * src/locale.cc (locale::name()): Construct mangled name
647         accurately reflecting combined locale categories.
648
649         * src/locale.cc (locale::classic()): Don't initialize here.
650         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
651         __refs, bool __has_name, string __str): Do it here.
652
653         * include/bits/localefwd.h: _S_categories_num to
654         _S_num_categories. _S_facets_num to _S_num_facets.
655         (locale::id::id()): Explicitly set _M_index to zero.
656         * src/locale.cc: Same.
657
658         * src/locale.cc: (locale::locale(const char*)): Construct named
659         locales uniquely.
660
661         * src/locale.cc: Remove numpunct_byname ctors.
662         * testsuite/22_locale/numpunct_byname.cc: New file.
663         * testsuite/22_locale/numpunct.cc: New file.    
664         
665         * include/bits/localefwd.h (class locale): Change data members to
666         protected, from private.
667         (_Impl::_M_get_c_locale): Add member function.
668         (locale::facet::_M_get_global_impl()): Add member function.
669         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
670         a __c_locale pointer.
671         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
672         named locales.
673         * testsuite/22_locale/members.cc: New file, test name and combine.
674         
675         * include/bits/locale_facets.h (class numpunct): Remove class
676         _Punct and _Numpunct. Rewrite class numpunct to be correct for
677         named locales.
678         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
679         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
680         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
681         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
682         * testsuite/22_locale/numpunct_char_members.cc: New file.
683         
684 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
685
686         * testsuite/README: Add more comment.
687         * testsuite/lib/libstdc++.exp: Tweak comment.
688
689 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
690
691         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
692
693 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
694
695         * testsuite/21_strings/inserters_extractors.cc: Remove
696         explicit reference to 'testsuite/'.
697
698 2001-01-25  Richard Henderson  <rth@redhat.com>
699
700         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
701         bits. Fixes Tru64 build issues.
702         
703 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
704
705         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
706         (use ${MAKE-make}, not ${MAKE:-make}).
707         * aclocal.m4, configure: Regenerate.
708
709 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
710
711         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
712         checkin.
713
714         * src/Makefile.am (sources): Add globals.cc.
715         * src/Makefile.in: Regenerated.
716         * src/globals.cc: New file.
717         * src/ios.cc (cin): Don't define here, just declare extern.
718         (cout): Likewise.
719         (cerr): Likewise.
720         (clog): Likewise.
721         (wcin): Likewise.
722         (wcout): Likewise.
723         (wcerr): Likewise.
724         (wclog): Likewise.
725
726 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
727
728         * include/bits/std_iterator.h:  Do not include stl_relops.h.
729         * include/bits/std_numeric.h:  Ditto.
730         * include/bits/stl_algobase.h:  Ditto.
731         * include/bits/stl_relops.h:  Add comment warning about problems.
732
733 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
734
735         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
736         in testcases.  Prepare for the DejaGnu based framework.
737         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
738         directory -- it is now mkcheck working directory.
739         * tests_flags.in: Remove reference to $(top_srcdir).  Use
740         ${SRC_DIR} instead.
741         * Makefile.am (check, check-install): Change mkcheck invocation
742         logic. 
743         * Makefile.in: Regenerate.
744
745 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
746
747         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
748         (__always_swap): Likewise.
749
750 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
751
752         * libsupc++/exception_support.cc (__terminate_func): Remove
753         declaration.
754         (__terminate_func_ptr): New typedef.
755         (__terminate, __terminate_set_func): New extern function
756         prototypes.
757         (std::terminate): Use __terminate function.
758         (std::set_terminate): Use __terminate_set_func function.
759
760 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
761
762         * configure.target: Just use os_include_dir always.
763         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
764         Link atomicity files and ctype files here.
765         * configure: Regenerate.
766         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
767         (GLIBCPP_ENABLE_ATOMICITY): Remove.
768         * aclocal.m4: Regenerate.
769         
770 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
771
772         * configure.in: Place definition of MULTISUBDIR in
773         libsupc++/Makefile as is done for src/Makefile.
774         * configure: Regenerate.
775
776 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
777
778         * acinclude.m4:  Cosmetic changes only.
779         * aclocal.m4:  Regenerated.
780         * configure:  Regenerated.
781         * configure.target:  Update documented list of changed variables.
782         * docs/html/install.html:  Fix typo.
783         * docs/html/20_util/howto.html:  More notes on auto_ptr.
784         * docs/html/27_io/howto.html:  More notes on streabufs.
785         * docs/html/faq/index.html:  Add rel_ops problem and mention the
786           DEC as(1) .subsection difficulty.
787         * docs/html/faq/index.txt:  Regenerated.
788
789 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
790
791         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
792         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
793         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
794         its already provided in config.target.
795         * aclocal.m4: Regenerated.
796         * configure: Likewise.
797         * configure.target: Set ctype_include_dir for lots of systems.
798         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
799         * libsupc++/Makefile.in: Regenerated.
800
801 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
802
803         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
804         keyword capability.
805
806         * testsuite/README: Add comment.
807
808 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
809
810         * docs/html/configopts.html:  Update for current status.  Fix HTML.
811         * docs/html/install.html:  Update for current status.
812
813 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
814
815         * testsuite/libstdc++.tests/tests.exp: New file.
816         * testsuite/lib/libstdc++.exp: Itou.
817         * testsuite/README: Itou.
818
819 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
820
821         * tests_flags.in: Just output the bare minimum to run tests.
822         Let's the caller do its own arrangement.
823
824         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
825         computations.
826
827 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
828
829         * testsuite/17_intro: Prepare testcases for new style DejaGnu
830         framework. 
831
832 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
833
834         * testsuite/libstdc++.tests, testsuite/lib: New directories.
835
836 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
837
838         * mkcheck.in: Construct file names that match $objdir structure.
839         * testsuite/27_io/filebuf_members-1.txt: New file.
840         * testsuite/27_io/ifstream_members-1.txt: New file.
841         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
842
843         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
844         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
845
846 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
847
848         * testsuite/27_io/istream_sentry.cc (test02): Fix.
849
850 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
851
852         libstdc++/1605
853         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
854         * src/ios.cc (ios_base::failure): Make definitions match.
855         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
856         (class bad_cast): Same.
857         * libsupc++/exception (class exception): Add throw specs.
858         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
859         (set_unexpected): Same.
860         (uncaught_exception): Same.
861         (what): Same.
862
863         * docs/html/17_intro/C++STYLE (classname): Fix.
864         
865 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
866
867         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
868         Use it do explicitly instantiate predicate<T> and value<T> for
869         all the builtin Ts.
870
871 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
872
873         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
874         uninitialized thinko in last change.
875
876 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
877
878         * libsupc++/exception_support.cc (__cp_pop_exception): Change
879         prototype.
880
881 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
882
883         * docs/html/17_intro/C++STYLE (classname): Add more existing
884         and stylish patterns.
885
886         libstdc++/944
887         * include/bits/istream.tcc (istream::sentry::sentry()): Set
888         failbit if the state of the stream is not good.
889         * testsuite/27_io/istream_sentry.cc (test02): Add test.
890         * testsuite/27_io/istream_manip.cc (test01): Modify.
891
892         libstdc++/1019
893         reported by Paolo Carlini <pcarlini@unitus.it>
894         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix. 
895         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
896
897         libstdc++/1057
898         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
899         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
900         (xsgetn): Same. Simplify.
901         * testsuite/27_io/streambuf.cc (test04): Add testcases.
902
903         reported by Larry Evans <jcampbell3@prodigy.net> 
904         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
905         equality with eof on returned value from overflow.
906
907 2001-01-14  Andreas Jaeger  <aj@suse.de>
908
909         * libio/libio.h: Add test for glibc 2.0.
910
911 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
912
913         * config/os/djgpp/bits/*: Fix dates.
914
915         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
916         _CharT* __end, _CharT __c): Remove.
917         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
918         * include/bits/char_traits.h: Tweak.
919
920 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
921
922         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
923         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
924         bash bug.
925         * aclocal.m4: regenerated.
926         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
927         * configure: regenerated.
928         * config/os/djgpp, config/os/djgpp/bits: new directories.
929         * config/os/djgpp/bits/ctype_base.h,
930         config/os/djgpp/bits/ctype_inline.h,
931         config/os/djgpp/bits/ctype_noninline.h,
932         config/os/djgpp/bits/os_defines.h: new files.
933
934 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
935
936         * include/c_std/bits/std_cstdio.h: Undef printf.
937
938 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
939
940         * src/ios.cc: Fix typo: change cout->wcout.
941
942         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
943         * src/Makefile.in: Regenerate.
944
945 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
946
947          * include/bits/std_complex.h: Fix a typo.
948
949 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
950                              <kainz@ilm.com>
951
952         Fixes for libstdc++/1576
953         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
954         file, move contents into....
955         * src/ios.cc: ...Here. Put defines for iostreams objects and
956         initialization routines into one file to simplify DSO interaction.
957         * include/bits/std_iostream.h: Touch.
958         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
959         * src/Makefile.am (sources): Remove stdstreams.cc.
960         * src/Makefile.in: Regenerate.
961
962 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
963
964         * tests_flags.in (check_directory): Fix typo.
965
966 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
967
968          * include/bits/std_complex.h: Fix a typo.
969
970 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
971
972         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
973         code path:) Remove magic constants and restructure to handle
974         ctype.h bit mask layout changes more gracefully.  (Make fast
975         code path:) Use __maskrune (), if available.
976         (is): Remove special case for digit and xdigit masks.
977
978 2001-01-09  Robert Lipe <robertlipe@usa.net>
979
980         * include/c_std/bits/std_ctime.h: Undefine difftime.
981
982 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
983
984         * src/gen-num-limits.cc (signal_adapter): New template function.
985         (signal_handler): Use it, instead of signal.
986         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
987         require both tests to trap to set trap_flag.
988
989 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
990
991         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
992         initialize mbstate_t member, name offset data members *off, not pos.
993         * include/bits/fstream.tcc (filebuf::filebuf): Same.
994
995 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
996
997         reported by Chris G. Demetriou <cgd@sibyte.com>
998         * configure.in: Change -linux-* to -linux*.
999         * configure: Regenerate.
1000
1001 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
1002
1003         Fix 27_io/filebuf_members.cc
1004         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
1005         const string& __name, category __cat, size_t __refs): Set
1006         _M_has_name with _M_name.
1007         * include/bits/localefwd.h (locale::operator!=): Protect member
1008         function call with this->.
1009         * src/locale.cc (locale::operator==): Make fast checks first.
1010         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
1011
1012         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
1013         to ios_base::Init.
1014         * src/ios.cc (ios_base::Init::Init): Initialize here.
1015         (ios_base::sync_with_stdio): Set here.
1016
1017 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
1018
1019         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
1020         systems that support it, call dup() before fdopen().
1021
1022 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
1023
1024         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
1025         * testsuite/17_intro/header_cwctype.cc (main): New file.
1026
1027         * src/Makefile.am (base_headers): Change.
1028         * include/bits/std_string.h: And here.
1029         * include/bits/string.tcc: Tweaks, move to...
1030         * include/bits/basic_string.tcc: ...Here.
1031         * src/string-inst.cc: Simplify, just instantiate the whole class,
1032         not member-by-member.
1033
1034 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
1035
1036         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
1037         * aclocal.m4: Regenerate.
1038         * configure: Regenerate.
1039
1040         * include/bits/c++config (__GLIBCPP__): Bump version number.
1041
1042         * ChangeLog: Start new log for year 2001
1043         * ChangeLog-2000: New file.
1044
1045         * docs/html/configopts.html: Make sure default values are current,
1046         add commentary.
1047
1048 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
1049
1050         * include/c_std/bits/std_cwchar.h: Same.
1051         * testsuite/17_intro/header_cwchar.cc: Same.
1052         * include/c_std/bits/std_ctime.h: Same.
1053         * testsuite/17_intro/header_ctime.cc: Same.
1054         * include/c_std/bits/std_cstdlib.h: Same.
1055         Clean up undefs, make consistent with cwchar and cmath, etc.
1056         * testsuite/17_intro/header_cstdlib.cc: Same.
1057         * include/c_std/bits/std_cstdio.h: Same here.
1058         * testsuite/17_intro/header_cstring.cc: Same.
1059         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
1060         * testsuite/17_intro/header_cstring.cc: New file. Check for
1061         size_t in namespace std.
1062
1063         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
1064         * acconfig.h (HAVE_MBSTATE_T): Add.
1065         * config.h.in: Regenerate.
1066         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
1067         mbstate_t.
1068         * aclocal.m4: Regenerate.
1069         * configure: Regenerate.
1070         * testsuite/17_intro/headers_c++.cc: New file.
1071         * testsuite/17_intro/headers_c.cc: Small changes.
1072
1073 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
1074
1075         * tests_flags.in: Fix typo in usage.
1076
1077         * tests_flags.in: Set target specific LIBS for cygwin.