OSDN Git Service

73bbce6b157b4d15854b1a153e11b6f03a8dd7c1
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
1 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
2
3         * docs/doxygen/user.cfg.in:  Minor addition.
4         * docs/html/documentation.html:  Reorganize.  Put most-looked-at
5         stuff first.
6         * docs/html/install.html:  Update for 3.0.  HTML fixups.
7         * docs/html/17_intro/howto.html:  Likewise.
8         * docs/html/18_support/howto.html:  Likewise.
9         * docs/html/19_diagnostics/howto.html:  Likewise.
10         * docs/html/20_util/howto.html:  Likewise.
11         * docs/html/23_containers/howto.html:  Likewise.
12         * docs/html/24_iterators/howto.html:  Likewise.  More notes.
13         * docs/html/25_algorithms/howto.html:  Likewise.
14         * docs/html/26_numerics/howto.html:  Likewise.  More notes.
15         * docs/html/27_io/howto.html:  Likewise.
16         * docs/html/ext/howto.html:  Likewise.
17         * docs/html/faq/index.html:  Likewise.
18         * docs/html/faq/index.txt:  Regenerate.
19         * docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
20         Doxygen-created documentation.
21
22 2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
23
24         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
25         get_multilibs to find gcc.
26         
27 2001-05-30  Phil Edwards  <pme@sources.redhat.com>
28
29         * acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
30         * aclocal.m4:  Regenerate.
31         * configure:  Regenerate.
32
33 2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
34  
35        * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::. 
36        * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
37  
38 2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
39
40        * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
41        * include/c_std/bits/std_cstdlib.h: Same.
42        * include/c_std/bits/std_cwchar.h: Same.
43
44 2001-05-30  Loren J. Rittle  <ljrittle@acm.org>
45
46         * docs/html/17_intro/howto.html: Update link.
47         * docs/html/23_containers/howto.html: Likewise.  Add new link.
48
49 2001-05-26  Gabriel Dos Reis  <gdr@codesourcery.com>
50
51         * include/c_std/bits/std_cmath.h (sqrt): #undef.
52         
53 2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
54
55         * mknumeric_limits: Stop if gen-num-limits dies.
56
57 2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>
58
59         other/2931
60         * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
61         * aclocal.m4: Regenerate.
62         * configure: Same.
63         
64 2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
65             Phil Edwards  <pme@sources.redhat.com>
66             Alexandre Oliva  <aoliva@redhat.com>
67
68         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
69         in an amd-safe manner. Revert glibcpp_prefixdir.
70
71 2001-05-25  Gabriel Dos Reis  <gdr@codesourcery.com>
72
73         * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
74         fabs, sin, sqrt.  They are now implemented in terms of __builtin_
75         variants. 
76
77 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
78
79         libstdc++/2830
80         * testsuite/21_strings/inserters_extractors.cc (test09): New test.
81         * include/bits/ostream.tcc: Format to match istream.tcc.
82         (operator<<(basic_ostream __out, const basic_string __s)): Fix.
83         
84 2001-05-24  Phil Edwards  <pme@sources.redhat.com>
85
86         * libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
87         malloc with std:: .
88         (__cxa_free_exception):  Likewise with free.
89
90 2001-05-24  Mark Mitchell  <mark@codesourcery.com>
91
92         * include/c_std/bin/std_cstring.h: #define away all global
93         functions we will redeclare in namespace `std'.
94         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
95         std::memset, instead of memset.
96         * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
97         not plain `strcmp'.
98         * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
99         plain `strcpy'.
100         
101 2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>
102
103         libstdc++/2832
104         * include/bits/basic_ios.tcc: Small tweak.
105         * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
106         ctors and dtors, and rdbuf settings.
107         (ofstream): Same.
108         (fstream): Same.
109         * include/bits/std_sstream.h: Same, but for stringstream classes.
110         * testsuite/27_io/ostringstream_members.cc: New.
111         * testsuite/27_io/stringstream_members.cc: New. 
112         * testsuite/27_io/fstream_members.cc: New.              
113         * testsuite/27_io/ifstream_members.cc: Add test.
114         * testsuite/27_io/istringstream_members.cc: Add test.
115         * testsuite/27_io/ofstream_members.cc: Add test.
116
117 2001-05-24  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
118
119         * include/bits/c++config(__NO_MATH_INLINES): Move to...
120         * config/os/gnu-linux/bits/os_defines.h: ...here.
121
122 2001-05-24  Gabriel Dos Reis  <gdr@codesourcery.com>
123
124         * include/bits/c++config (__NO_MATH_INLINES): New macro.
125         * testsuite/26_numerics/fabs_inline.cc (main): New test.
126
127 2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>
128
129         libstdc++/2841
130         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
131         ld_library_path.  
132         (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
133         (libstdc++-v3-finish): Remove.
134         (libstdc++-v3_exit): Remove.
135
136 2001-05-22  Phil Edwards  <pme@sources.redhat.com>
137
138         * docs/html/documentation.html:  Point to doxygen output.
139
140 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
141
142         * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
143
144         * include/bits/std_sstream.h (stringbuf::setbuf): Require both
145         arguments to be non-null.
146         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
147         try allocations if allocated size is greater than zero.
148         (filebuf::_M_filebuf_init): Change to
149         (filebuf::_M_allocate_file): Which is what it does now. 
150         (filebuf::_M_allocate_bufers): Change to
151         (filebuf::_M_allocate_internal_buffer): This, and create
152         (filebuf::_M_allocate_pback_buffer): New.
153         (filebuf::_M_destroy_internal_buffer): New.
154         (filebuf::_M_buf_allocated): New data member.
155         (filebuf::setbuf): Use new logic, allow use of external buffer.
156         * testsuite/27_io/stringbuf_virtuals.cc: New file.
157         * testsuite/27_io/filebuf_virtuals.cc: New file.
158
159 2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>
160
161         * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
162         __glibcpp_memchr.
163         (strchr): Same, but to __glibcpp_strchr.
164         (strpbrk): Same.
165         (strrchr): Same.
166         (strstr): Same.  
167         * include/c_std/bits/std_cwchar.h (wcschr): Same.
168         (wcsbrk): Same.
169         (wcsrchr): Same.
170         (wcsstr): Same.
171         (wmemchr): Same.
172
173 2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>
174
175         * testsuite/21_strings/c_strings.cc (main): Fix.
176
177 2001-05-19  Phil Edwards  <pme@sources.redhat.com>
178
179         * acinclude.m4:  Fix --help spacing, correct comments.
180         * aclocal.m4:  Regenerate.
181         * configure:  Regenerate.
182         * mkcheck.in:  Add usage comments.
183         * docs/html/documentation.html:  Point to doxygen'd tarball.
184
185 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
186
187         * testsuite/README: Add notes.
188
189         * src/Makefile.am (libstdc++.INC): Remove.
190         * src/Makefile.in: Regenerate.
191
192         Phil Edwards <pedwards@disaster.jaj.com>
193         * mkcheck.in: Add missing '#'.
194
195 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
196
197         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
198         appropriately for remote testing and testing installed files without
199         a build dir.
200
201 2001-05-18  Benjamin Kosnik  <bkoz@redhat.com>
202
203         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
204         amd glibcpp_prefixdir with absolute paths.
205
206         * include/bits/c++config (__GLIBCPP__): Bump.
207         * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
208
209 2001-05-18  Gabriel Dos Reis  <gdr@codesourcery.com>
210
211         * include/bits/std_valarray.h (valarray<>::operator[] const):
212         Return a const reference. 
213         * testsuite/26_numerics/valarray_const_bracket.cc: New test.
214
215 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
216
217         * configure.target (ATOMICITYH): Actually use AIX-specific code on
218         earlier versions of AIX 4.*.
219
220 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
221
222         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test):  Set
223         output_file based on the name of the testcase.
224
225 2001-05-18  Angela Marie Thomas <angela@cygnus.com>
226
227         * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init):  Build
228         gluefile and use it if needs_status_wrapper is set.
229
230 2001-05-18  Alexandre Oliva  <aoliva@redhat.com>
231
232         * configure.target (ATOMICITYH): Use cpu/generic code on earlier
233         versions of AIX.
234
235 2001-05-17  Alexandre Oliva  <aoliva@redhat.com>
236
237         * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
238         on earlier versions of AIX.
239
240 2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>
241
242         * testsuite_flags.in (query): Add backwards, ext directories.
243
244 2001-05-15  Mark Mitchell  <mark@codesourcery.com>
245
246         * porting.texi: Correct documentation about handling
247         _LARRGEFILE_SOURCE and its ilk.
248         * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
249         definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and 
250         __EXTENSIONS__.
251         * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
252         * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
253
254 2001-05-15  Zack Weinberg  <zackw@stanford.edu>
255         
256         * testsuite/21_strings/inserters_extractors.cc,
257         testsuite/27_io/istream_unformatted.cc,
258         testsuite/27_io/stringstream.cc:
259         Replace multi-line string constants with C89-style
260         concatenated string constants.
261         
262 2001-05-14  Richard Henderson  <rth@redhat.com>
263
264         * mknumeric_limits: Build with -fno-exceptions.
265
266 2001-05-13   Benjamin Kosnik  <bkoz@redhat.com>
267
268         Switch over to new harness.
269         * testsuite_flags.in: Tweaks via Gaby.
270         * testsuite/Makefile.am: Change tool to libstdc++-v3.
271         (EXPECT): Quote directly.
272         (RUNTEST): Same.
273         * configure.in: Output testsuite_flags.
274         * acinclude.m4: Substitute src, bld, and prefix dirs.
275         Remove glibcpp_expect, glibcpp_runtestflags.
276         * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
277         * mkcheck.in: Port to new interface.
278         
279         * aclocal.m4: Regerate.
280         * configure: Regnerate.
281         * Makefile.in: Regnerate.
282         * */Makefile.in: Regenerate.
283         
284         * tests_flags.in: Remove.
285         * testsuite/lib/libstdc++.exp: Remove.
286         * testsuite/libstdc++.tests/tests.exp: Remove.
287         
288 2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
289
290         * configure.target: Remove detection of AIX pthread multilib, now
291         obtained from `gcc -v'.
292
293 2001-05-13  John David Anglin  <dave@hiauly1.hia.nrc.ca>
294
295         * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
296         size.  Add hpux case for HP size.
297
298 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
299
300         * testsuite_flags.in: New, simplified interface.
301         * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
302         * testsuite/libstdc++-v3.dg: Add.
303         * testsuite/libstdc++-v3.dg/dg.exp: Add.        
304
305 2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>
306
307         * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
308         * testsuite/config/default.exp: Update bugs email address.
309         
310 2001-05-11  Richard Henderson  <rth@redhat.com>
311
312         * libsupc++/eh_personality.cc: Include unwind-pe.h.  Remove
313         all pointer encoding logic.
314         (struct lsda_header_info): Add ttype_base.
315         (get_ttype_entry): Use it instead of a context.
316         (check_exception_spec): Likewise.
317         (PERSONALITY_FUNCTION): Initialize ttype_base.  Store it in
318         the c++ exception header for __cxa_call_unexpected.
319         (__cxa_call_unexpected): Use it.
320
321 2001-05-09  Benjamin Kosnik  <bkoz@redhat.com>
322
323         * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
324         libgloss_link_flags to find crt0.o for targets that use libgloss
325         instead of newlib.
326         Change LDFLAGS to LIBS.
327         Consistently name procedures libstdc++-XXX.
328         * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
329         
330 2001-05-08  Benjamin Kosnik  <bkoz@fillmore.constant.com>
331
332         * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
333         (strchr): Same.
334         (strpbrk): Same.
335         (strrchr): Same.
336         (strstr): Same.
337         * include/c_std/bits/std_cwchar.h (wcschr): Same.
338         (wcsbrk): Same.
339         (wcsrchr): Same.
340         (wcsstr): Same.
341         (wmemchr): Same.
342         * testsuite/21_strings/c_strings.cc: Add tests.
343         
344 2001-05-07  Benjamin Kosnik  <bkoz@redhat.com>
345
346         libstdc++/2523
347         * include/bits/std_fstream.h (basic_filebuf): Change signature.
348         * include/bits/fstream.tcc (basic_filebuf): Change bool argument
349         to int_type, pass in buffer size info.
350         * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
351         unbuffered situation.
352         (underflow): Remove codecvt bits for the time being.
353         * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
354         * include/bits/locale_facets.tcc (_M_extract): Cache dereference
355         values from iterators, clean.
356         * src/locale.cc: Ditto.
357         * include/bits/sbuf_iter.h: Format.
358         * src/ios.cc: Explicitly pass in buffer sizes at creation time.
359         * testsuite/27_io/narrow_stream_objects.cc: Add tests.
360         * testsuite/27_io/filebuf.cc: Tweaks.
361         * testsuite/27_io/filebuf_members.cc: Tweaks.
362         
363 2001-05-07  Mark Mitchell  <mark@codesourcery.com>
364
365         * config/os/solaris/solaris2.7/bits/os_defines.h
366         (_LARGEFILE_SOURCE): Define it.
367
368 2001-05-03  Alexandre Oliva  <aoliva@redhat.com>
369
370         * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
371         -prefer-non-pic depending on whether libtool has shared libraries
372         enabled or disabled.
373         * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
374         $(LIBSUPCXX_PICFLAGS).
375         * configure, */Makefile.in: Rebuilt.
376
377 2001-05-01  Benjamin Kosnik  <bkoz@redhat.com>
378
379         * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
380         * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
381
382         * include/bits/std_sstream.h (stringbuf): Leak
383         copied string.
384         * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
385         
386 2001-05-01  Tom Browder  <tbrowder@home.com>
387
388         * docs/html/ext/howto.html:  Fix typo.
389
390 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
391
392         * testsuite/libstdc++.tests/tests.exp: Add comment.
393
394 2001-05-01  Gabriel Dos Reis  <gdr@codesourcery.com>
395
396         * testsuite/libstdc++.tests/tests.exp: Set ulimits.
397
398 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
399
400         * porting.texi: Use the GFDL.
401
402 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
403
404         libstdc++/2627 
405         * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
406         * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
407         specializations.
408
409 2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>
410
411         libstdc++/2964
412         * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
413
414 2001-04-28  Phil Edwards  <pme@sources.redhat.com>
415
416         * docs/doxygen/run_doxygen:  Minor tweaks.
417         * docs/doxygen/style.css:  New file.
418         * docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
419         latest parameters available.  Use style.css.
420
421 2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>
422
423         * docs/doxygen/mainpage.doxy: New.
424         * docs/doxygen/user.cfg.in: Change default configuration. Single
425         frame, other tweaks.
426
427 2001-04-26  Mark Mitchell  <mark@codesourcery.com>
428
429         * docs/html/17_intro/BADNAMES: Remove EGCS reference.
430         Indicate obsolete nature of thelist for G++ 3.0.
431
432 2001-04-26  Alexandre Oliva  <aoliva@redhat.com>
433
434         * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
435         target_thread_file with `gcc -v'.
436         * aclocal.m4, configure: Rebuilt.
437
438 2001-04-25  Benjamin Kosnik  <bkoz@redhat.com>
439
440         * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
441         * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
442         * include/c_std/bits/std_cwchar.h (std): Same.
443         * acconfig.h (std): Remove c99 injection into std.
444         * config.h.in: Regenerate.
445         
446         * testsuite/README: Fix typo.
447
448         * include/bits/codecvt.h: Remove warnings.
449         
450 2001-04-24  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
451
452         * include/ext/slist: Include required header files. 
453
454 2001-04-23  Loren J. Rittle  <ljrittle@acm.org>
455
456         * include/c_std/bits/std_cerrno.h (errno): Define macro from
457         identifier declared with external linkage, if needed.
458         * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
459         * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
460
461 2001-04-23  Benjamin Kosnik  <bkoz@fillmore.constant.com>
462
463         * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
464         re-configures find the build compiler.
465         (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
466         libstdc++/2609.
467         * aclocal.m4: Regenerate.
468         * configure: Regenerate.
469
470 2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>
471
472         * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
473         support is enabled correctly before long long is activated.
474         * aclocal.m4: Regenerate.
475         * configure: Regenerate.
476         
477         * include/backward/backward_warning.h: Format correctly.
478
479         * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
480         * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
481         * testsuite/26_numerics/c99_macros.cc: Remove.
482         
483 2001-04-20  Phil Edwards  <pme@sources.redhat.com>
484
485         * include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
486         __iterator_category.
487
488 2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>
489
490         * acconfig.h (_GLIBCPP_USE_C99): Add.
491         * config.h.in: Regenerate.
492         * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
493         9899: 1999 support.
494         * aclocal.m4: Regenerate.
495         * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
496         * configure: Regenerate.
497         * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
498         * configure: Regenerate.
499         * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
500         into c99.
501         * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
502         namespace.
503         * include/c_std/bits/std_cstdlib.h: Same.
504         * docs/html/configopts.html: Update.
505         * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
506         math.h
507         (test_c99_classify): Add.
508         * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
509         (_ISOC99_SOURCE): Remove.
510
511         * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
512         * include/bits/c++config (__STL_ASSERTIONS): Simplify.
513         * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
514         * aclocal.m4: Regenerate.
515         * configure: Regenerate.
516         
517 2001-04-19  Phil Edwards  <pme@sources.redhat.com>
518
519         * Makefile.am (doxygen):  Assume script is missing execute perms.
520         * Makefile.in:  Regenerated.
521         * docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.
522
523 2001-04-17  Loren J. Rittle  <ljrittle@acm.org>
524
525         * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
526
527 2001-04-17  Benjamin Kosnik  <bkoz@redhat.com>
528
529         * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
530         * testsuite/23_containers/set_operators.cc: Same.
531
532         * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
533         default.
534         (__GLIBCPP__): Bump from value of last release.
535         * include/bits/concept_check.h: Default to off, edit comments.
536         * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
537         * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS. 
538         * src/Makefile.in: Regenerate.
539         
540 2001-04-14  Martin Reinecke <martin@MPA-Garching.MPG.DE>
541
542         * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
543         Properly uglify member.
544
545 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
546
547         * include/bits/stl_algobase.h (equal):  Use EqualOpConcept instead
548         of EqualityCo
549         mparableConcept.
550
551 2001-04-13  Phil Edwards  <pme@sources.redhat.com>
552
553         * include/bits/boost_concept_check.h:  Uglify, fork from Boost.
554         * include/bits/concept_check.h:  Uglify.
555         * include/bits/stl_algo.h:  Likewise.
556         * include/bits/stl_algobase.h:  Likewise.
557         * include/bits/stl_deque.h:  Likewise.
558         * include/bits/stl_heap.h:  Likewise.
559         * include/bits/stl_iterator_base_funcs.h:  Likewise.
560         * include/bits/stl_list.h:  Likewise.
561         * include/bits/stl_map.h:  Likewise.
562         * include/bits/stl_multimap.h:  Likewise.
563         * include/bits/stl_multiset.h:  Likewise.
564         * include/bits/stl_numeric.h:  Likewise.
565         * include/bits/stl_queue.h:  Likewise.
566         * include/bits/stl_set.h:  Likewise.
567         * include/bits/stl_stack.h:  Likewise.
568         * include/bits/stl_vector.h:  Likewise.
569         * include/ext/hash_map:  Likewise.
570         * include/ext/hash_set:  Likewise.
571         * include/ext/slist:  Likewise.
572
573 2001-04-13  Gabriel Dos Reis  <gdr@codesourcery.com>
574
575         * testsuite/23_containers/set_operators.cc: Just try to compile.
576         Mark as XFAIL.   
577         * testsuite/23_containers/map_operators.cc: Same.
578
579 2001-04-12  Jason Merrill  <jason_merrill@redhat.com>
580
581         * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
582         output_file.
583         (dg-test): Revert rth's change.
584
585 2001-04-12  Nathan Sidwell  <nathan@codesourcery.com>
586
587         * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
588         terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
589
590 2001-04-12  Gabriel Dos Reis  <gdr@codesourcery.com>
591
592         * testsuite/README: Add DejaGnu specific documentation.
593
594 2001-04-11  Benjamin Kosnik  <bkoz@redhat.com>
595         
596         * acinclude.m4: AC_CHECK_TOOL for expect.
597         * aclocal.m4: Regenerate.
598         * configure: Regenerate.
599         * testsuite/Makefile.am (RUNTEST): Use substituted.
600         (EXPECT): Same.
601
602         * configure.in: Remove xcompiling substitution.
603         * tests_flags.in (CROSS_LIB_PATH): Remove.
604         (xcompiling): Remove.
605         (CXX): Use substituted CXX.
606         
607 2001-04-11  Richard Henderson  <rth@redhat.com>
608
609         * testsuite/lib/libstdc++.exp: Specify path for output_file.
610
611 2001-04-08  Gabriel Dos Reis  <gdr@codesourcery.com>
612
613         * include/bits/std_valarray.h(valarray<>::operator[]): Make
614         inline. 
615
616 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
617   
618         * testsuite/25_algorithms/equal.cc: New test.
619
620 2001-04-06  Joe Buck  <jbuck@welsh-buck.org>
621
622         * stl_algobase.h (std::equal): avoid use of possibly-undefined
623         operator != (one line patch).
624
625 2001-04-06   Benjamin Kosnik  <bkoz@redhat.com>
626
627         * include/backward/backward_warning.h: Re-enable.
628
629 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
630             Alexandre Oliva  <aoliva@redhat.com>
631         
632         * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
633
634 2001-04-06  Gabriel Dos Reis  <gdr@codesourcery.com>
635
636         * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
637         * testsuite/26_numerics/c99_macros.cc: Add test.
638
639 2001-04-06  Phil Edwards  <pme@sources.redhat.com>
640
641         * docs/html/faq/index.html:  Update for 2.92, grab from RELEASE-NOTES.
642         * docs/html/faq/index.txt:  Regenerated.
643
644 2001-04-06  Benjamin Kosnik  <bkoz@redhat.com>
645
646         * include/backward/backward_warning.h: Temporarily disable until
647         g++ testsuite changes go in.
648         * tests_flags.in (CROSS_LIB_PATH): Add.
649
650 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
651
652         Warn when using backward headers.
653         * include/backward/algo.h: Include warning file.        
654         * include/backward/vector.h: Same.
655         * include/backward/tree.h: Same.
656         * include/backward/tempbuf.h: Same.
657         * include/backward/strstream: Same.
658         * include/backward/streambuf.h: Same.
659         * include/backward/stream.h: Same.
660         * include/backward/stack.h: Same.
661         * include/backward/slist.h: Same.
662         * include/backward/set.h: Same.
663         * include/backward/rope.h: 
664         * include/backward/queue.h: Same.
665         * include/backward/pair.h: Same.
666         * include/backward/ostream.h: Same.
667         * include/backward/new.h: Same.
668         * include/backward/multiset.h: Same.
669         * include/backward/multimap.h: Same.
670         * include/backward/map.h: Same.
671         * include/backward/list.h: Same.
672         * include/backward/iterator.h: Same.
673         * include/backward/istream.h: Same.
674         * include/backward/iostream.h: 
675         * include/backward/iomanip.h: 
676         * include/backward/heap.h: Same.
677         * include/backward/hashtable.h: 
678         * include/backward/hash_set.h: 
679         * include/backward/hash_map.h: 
680         * include/backward/function.h: 
681         * include/backward/fstream.h: 
682         * include/backward/deque.h: 
683         * include/backward/defalloc.h: Same.
684         * include/backward/complex.h: Same.
685         * include/backward/bvector.h: 
686         * include/backward/alloc.h: 
687         * include/backward/algobase.h: Same.
688
689         * include/backward/backward_warning.h: New file.
690         * src/Makefile.am (backward_headers): Add backward_warning.h
691         * src/Makefile.in: Regenerate.
692
693 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
694
695         * src/Makefile.am (myinstalldirs): Make sure backward directory is
696         created.
697         (myinstallheaders): Install backward headers in backward directory.
698         * src/Makefile.in: Regenerate.
699         
700 2001-04-05  Benjamin Kosnik  <bkoz@redhat.com>
701
702         Prepare for libstdc++-2.92.
703         * docs/html/17_intro/RELEASE-NOTES (New): Update.
704         * docs/html/configopts.html: Fix formatting.
705         * README (file): Updates.
706         * include/bits/c++config (__GLIBCPP__): Update.
707
708 2001-04-05  Phil Edwards  <pme@sources.redhat.com>
709
710         * docs/doxygen/run_doxygen:  Check for the existence of Doxygen.
711
712 2001-04-04  Phil Edwards  <pme@sources.redhat.com>
713
714         * docs/doxygen/user.cfg.in:  Extract all non-private members;
715           reduce confusing documentation output.
716
717 2001-04-04  Geoffrey Keating  <geoffk@redhat.com>
718
719         * include/backward/fstream.h: Add missing semicolons.
720
721 2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>
722
723         * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
724         * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
725         _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
726         (ios_base::Init::_S_ios_create): New.
727         (ios_base::Init::_S_ios_destroy): New.  
728         * include/bits/std_fstream.h: Change ctor args.
729         * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
730         (ios_base::Init::~Init): Use _S_ios_destroy.
731         (ios_base::sync_with_stdio): Use new members.
732         * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
733         filebuf ctor.
734
735 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
736
737         * include/backward/fstream.h:  Expose streampos to global
738           namespace.
739         
740 2001-04-03  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
741
742         * include/bits/stl_iterator_base_types.h: Fix typo
743
744 2001-04-03  Andreas Schwab  <schwab@suse.de>
745
746         * include/backward/fstream.h: Define filebuf and wfilebuf.
747
748 2001-04-02  Phil Edwards  <pme@sources.redhat.com>
749
750         New concept checking implementation.
751         * docs/html/19_diagnostics/howto.html:  Document.
752         * docs/html/17_intro/concept_check.diff:  New file, for reference.
753         * include/bits/boost_concept_check.h:  New file from Boost.
754         * include/bits/c++config:  Update comments.
755
756         * include/bits/concept_check.h:  New file.
757         * include/bits/concept_checks.h:  Removed.
758         * include/bits/container_concepts.h:  Removed.
759         * include/bits/sequence_concepts.h:  Removed.
760         * include/bits/stl_iterator_base.h:  Removed; split into...
761         * include/bits/stl_iterator_base_funcs.h:  ...this new file...
762         * include/bits/stl_iterator_base_types.h:  ...and this new file.
763
764         * include/bits/sbuf_iter.h:  Update to use new implementation.
765         * include/bits/std_iterator.h:  Likewise.
766         * include/bits/std_memory.h:  Likewise.
767         * include/bits/stl_algo.h:  Likewise.
768         * include/bits/stl_algobase.h:  Likewise.
769         * include/bits/stl_construct.h:  Likewise.
770         * include/bits/stl_deque.h:  Likewise.
771         * include/bits/stl_heap.h:  Likewise.
772         * include/bits/stl_list.h:  Likewise.
773         * include/bits/stl_map.h:  Likewise.
774         * include/bits/stl_multimap.h:  Likewise.
775         * include/bits/stl_multiset.h:  Likewise.
776         * include/bits/stl_numeric.h:  Likewise.
777         * include/bits/stl_queue.h:  Likewise.
778         * include/bits/stl_set.h:  Likewise.
779         * include/bits/stl_stack.h:  Likewise.
780         * include/bits/stl_uninitialized.h:  Likewise.
781         * include/bits/stl_vector.h:  Likewise.
782         * include/ext/hash_map:  Likewise.
783         * include/ext/hash_set:  Likewise.
784         * include/ext/slist:  Likewise.
785         * include/ext/stl_hashtable.h:  Likewise.
786
787         * src/Makefile.am (base_headers):  Update list of headers.
788         * Makefile.in:  Regenerated.
789         * src/Makefile.in:  Regenerated.
790         * libio/Makefile.in:  Regenerated.
791         * libmath/Makefile.in:  Regenerated.
792         * libsupc++/Makefile.in:  Regenerated.
793         * testsuite/Makefile.in:  Regenerated.
794
795         * docs/html/install.html:  Update contact information.
796         * docs/html/17_intro/howto.html:  Ditto.
797         * docs/html/18_support/howto.html:  Ditto.
798         * docs/html/20_util/howto.html:  Ditto.
799         * docs/html/21_strings/howto.html:  Ditto.
800         * docs/html/22_locale/howto.html:  Ditto.
801         * docs/html/23_containers/howto.html:  Ditto.
802         * docs/html/24_iterators/howto.html:  Ditto.
803         * docs/html/25_algorithms/howto.html:  Ditto.
804         * docs/html/26_numerics/howto.html:  Ditto.
805         * docs/html/27_io/howto.html:  Ditto.
806         * docs/html/faq/index.html:  Ditto, plus info on new checking code.
807         * docs/html/ext/howto.html:  Ditto, plus info on new checking code.
808         * docs/html/faq/index.txt:  Regenerated.
809
810 2001-04-02  Zack Weinberg  <zackw@stanford.edu>
811
812         * testsuite/lib/libstdc++.exp (dg-test): Annotate result
813         messages with $which_library as well as $tool_flags and
814         ${dg-extra-tool-flags}.  Factor out annotation text into
815         a single variable.
816
817 2001-04-02  Stephen M. Webb  <stephen@bregmasoft.com>
818
819         * include/c_std/bits/std_cstring.h: Fix for const-correctness.
820         * include/c_std/bits/std_cwchar.h: Same.
821         * testsuite/21_strings/c_strings.cc: Add.
822
823 2001-04-01  Benjamin Kosnik  <bkoz@codesourcery.com>
824
825         * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
826
827 2001-04-01  Zack Weinberg  <zackw@stanford.edu>
828
829         * tests_flags.in: Use test a = b, not test a == b which is not
830         portable.
831
832 2001-03-31  Benjamin Kosnik  <bkoz@redhat.com>
833
834         * configure.target: Remove duplicate aix entry.
835
836 2001-03-30  Benjamin Kosnik  <bkoz@redhat.com>
837
838         * include/ext/stl_bvector.h: Move to...
839         * include/bits/stl_vector.h: ...here.
840         * include/ext/bvector: Move to...
841         * include/backward/bvector.h: ...here.
842         * include/bits/std_vector.h: Change stl_bvector include.
843         * include/bits/std_queue.h: Remove bvector include.
844         * include/ext/tree: Insert using rb_tree, move to...
845         * include/backward/tree.h: ...here.
846         * include/backward/hash_map.h: Include ext/hash_map.
847         * include/backward/hash_set.h: Include ext/hash_set.
848         * include/backward/queue.h: New file.
849         * include/backward/stack.h: Edit.
850         * include/backward/algo.h: Same.
851         * include/backward/algobase.h: Same.
852         * include/backward/alloc.h: Same.
853         * include/backward/function.h: Same.
854         * include/backward/iomanip.h: Same.
855         * include/backward/istream.h: Same.
856         * include/backward/iterator.h: Same.
857         * include/backward/list.h: Same.
858         * include/backward/map.h: Same.
859         * include/backward/multimap.h: Same.
860         * include/backward/multiset.h: Same.
861         * include/backward/ostream.h: Same.
862         * include/backward/pair.h: Same
863         * include/backward/rope.h: Same.
864         * include/backward/set.h: Same.
865         * include/backward/stream.h: Same.
866         * include/backward/strstream.h: Same.
867         * include/backward/tempbuf.h: Same.
868         * src/Makefile.am (ext_headers): Edit.
869         * src/Makefile.in: Regenerate.
870         * testsuite/ext/headers.cc (main): Fix.
871         * mkcheck.in: Fix.
872
873 2001-03-30  Phil Edwards  <pme@sources.redhat.com>
874
875         * tests_flags.in (LIBS):  Pass correct path for installed testing.
876
877 2001-03-28  Benjamin Kosnik  <bkoz@redhat.com>
878
879         * mkcheck.in (LIBTOOL): Don't construct -B argument here...
880         * tests_flags.in (CXX): Construct here.
881         (static_fail): Don't remove compile.out. Format with spaces.
882         (INCLUDES): Deal with xcompiling.
883         * configure.in (xcompiling): Substitute.
884         * testsuite/Makefile.am: Snake libjava configury.
885         * testsuite/Makefile.in: Regenerate.
886         * testsuite/23_containers/map_operators.cc: Tweaks.
887         * testsuite/23_containers/set_operators.cc: Tweaks.
888
889 2001-03-28  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
890
891         Enable dejagnu testing framework.
892         * configure.in: Generate testsuite/Makefile.
893         * configure: Regenerate.
894         * Makefile.am (check-install): Change rule from this...
895         (check-script-install): ...to this.
896         (check): Change rule from this...
897         (check-script):...to this.
898         * Makefile.in: Regenerate.
899
900 2001-03-28  Alexandre Oliva  <aoliva@redhat.com>
901
902         * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
903         --tag CXX.
904         (LIBTOOL): Let automake take care of its definition.
905         * libsupc++/Makefile.in: Rebuilt.
906
907 2001-03-28  Richard Henderson  <rth@redhat.com>
908
909         IA-64 ABI Exception Handling:
910         * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
911         * configure.in: Use it.
912         * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
913         * libsupc++/Makefile.am (sources): Update files list.
914         * libsupc++/Makefile.in: Regenerate.
915         * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
916         * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
917         * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
918         * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
919         * libsupc++/exception_support.cc: Remove.
920         * libsupc++/exception_support.h: Remove.
921         * libsupc++/pure.cc: Use std::terminate.
922         * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
923         (__is_pointer): Remove.
924         * libsupc++/unwind-cxx.h: New file.
925         * libsupc++/vec.cc (uncatch_exception): Update for new abi.
926
927 2001-03-27  Alexandre Oliva  <aoliva@redhat.com>
928
929         * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
930         CXX tag explicitly.
931         * src/Makefile.am (CXXLINK): Likewise.
932         * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
933
934 2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
935
936         * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
937
938 2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
939
940         * libstdc++-v3/tests_flags.in: Change the order of libstdc++
941           and libc
942
943 2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
944
945         * include/bits/basic_file.h (get_fileno): Remove.
946         (_M_fileno): Remove.
947         (_M_cfile_created): Add.
948         (basic_file::basic_file(__c_file_type*, openmode): Add.
949         (basic_file::basic_file(int, const char*, openmode): Remove.
950         * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
951         const char*, ios_base::openmode): Don't allocate
952         internal buffers. Turn off internal buffers.
953         (basic_filebuf::overflow): Remove test for null buffer.
954         (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
955         * include/bits/streambuf.cc: Tweak.
956         * include/bits/std_ostream.h: Tweak.
957         * config/basic_file_libio.h: Same.
958         * config/basic_file_stdio.h: Same.
959         * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
960         * testsuite/27_io/filebuf_members.cc: Tweaks.
961         * testsuite/27_io/ios_base_members_static.cc: Tweaks.
962
963 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
964
965         * Makefile.am:  New targets, doxygen and doxygen-maint.
966         * Makefile.in:  Regenerated.
967         * docs/doxygen/run_doxygen:  Finally implemented.
968         * docs/doxygen/maint.cfg.in:  New file.
969         * docs/doxygen/user.cfg.in:  New file.
970
971 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
972
973         * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
974         * src/Makefile.am:  Replace leading spaces with tabs on continuation
975         lines.
976         * aclocal.m4:  Regenerated.
977         * configure:  Ditto.
978         * Makefile.in:  Ditto.
979         * src/Makefile.in:  Ditto.
980         * libio/Makefile.in:  Ditto.
981         * libmath/Makefile.in:  Ditto.
982         * libsupc++/Makefile.in:  Ditto.
983
984 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
985
986         * docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
987         concept-checking code and current status of same.
988         * docs/html/ext/howto.html:  Ditto.
989         * docs/html/faq/index.html:  Ditto.
990         * docs/html/faq/index.txt:  Regenerated.
991
992 2001-03-24  Phil Edwards  <pme@sources.redhat.com>
993
994         * include/bits/std_bitset.h:  Include ostream and istream headers
995         instead of iostream.
996
997 2001-03-22  Greg Bumgardner <bumgard@roguewave.com>
998
999         * include/bits/ostream.tcc: Use __builtin_alloca.
1000
1001 2001-03-22  Benjamin Kosnik  <bkoz@redhat.com>
1002
1003         * src/misc-inst.cc (__sink_unused_warning): Move to...
1004         * src/locale-inst.cc (__sink_unused_warning): Move to...
1005         * src/stl-inst.cc: Here.
1006         * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
1007         commented it out.
1008
1009 2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1010
1011         * intclude/bits/basic_file.h: Fix typos in comments.
1012
1013 2001-03-20  Richard Henderson  <rth@redhat.com>
1014
1015         * src/gen-num-limits.cc: Instantiate for wchar_t.
1016         * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
1017
1018 2001-03-20  Jason Merrill  <jason@redhat.com>
1019
1020         * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1021         (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1022         * libsupc++/cxxabi.h: Declare it.
1023
1024 2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
1025
1026         * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1027         signal_func with an unspecified argument list.
1028
1029 2001-03-15  Benjamin Kosnik  <bkoz@redhat.com>
1030
1031         * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1032
1033 2001-03-15  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1034
1035         * include/bits/basic_string.tcc (operator+): Fix thinko.
1036
1037 2001-03-14  Benjamin Kosnik  <bkoz@redhat.com>
1038
1039         libstdc++/2020
1040         * include/bits/std_streambuf.h: Remove cached locale facets.
1041         (basic_streambuf::_M_buf_fctype): Remove.
1042         (basic_streambuf::~basic_streambuf): Remove here.
1043         (basic_streambuf::basic_streambuf): Same.
1044         (basic_streambuf::imbue): Same.
1045         * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1046         * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1047         (basic_filebuf::~basic_filebuf()): Remove here.
1048         * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1049         (basic_filebuf::imbue): Same.
1050         * include/bits/localefwd.h (_Count_ones): Remove.
1051         (locale::_S_num_categories): Just use 6, since this doesn't
1052         actually change, ever.
1053         * include/bits/locale_facets.tcc (has_facet): Simplify.
1054         (use_facet): Same.
1055         * testsuite/27_io/filebuf.cc (test06): Add tests.
1056
1057 2001-03-13  Steve Ellcey  <sje@cup.hp.com>
1058
1059         * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1060         match HP-UX ctype.h header file.
1061
1062 2001-03-13  Andris Pavenis <pavenis@latnet.lv>
1063
1064         * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1065         duplicate definitions of __dj_ctype_*
1066
1067 2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
1068
1069         * libsupc++/new: Remove pragma interface.
1070         * libsupc++/typeinfo: Same.
1071         * libsupc++/exception: Same.
1072         * libsupc++/new_handler.cc: Remove pragma implementation.
1073         (bad_alloc::~bad_alloc()): Add.
1074         * libsupc++/exception_support.cc: Same.
1075         (exception::~exception): Add.
1076         (bad_exception::~bad_exception): Add.
1077         * libsupc++/tinfo.cc: Same.
1078         (bad_cast::~bad_cast): Add.
1079         (bad_typeid::~bad_typeid): Add.
1080
1081 2001-03-13  Phil Edwards  <pme@sources.redhat.com>
1082
1083         * mkcheck.in:  Fix IFS regression for non-bash-2.01 hosts.
1084
1085 2001-03-12  Felix Lee  <flee@redhat.com>
1086
1087         * mkcheck.in: workaround for bash 2.01 IFS bug.
1088
1089 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1090
1091         Fixups for -fno-for-scope
1092         * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1093         * src/valarray-inst.cc (__gslice_to_index): Same.
1094
1095 2001-03-12  Rodney Brown  <RodneyBrown@mynd.com>
1096
1097         * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1098         prior to trapping signal (UnixWare 7 workaround).
1099
1100 2001-03-12  Craig Rodrigues  <rodrigc@mediaone.net>
1101
1102         * include/backward/hashtable.h: Same.
1103         * include/backward/rope.h: Fix include.
1104
1105 2001-03-12  Benjamin Kosnik  <bkoz@redhat.com>
1106
1107         * include/backward/vector.h: Include std_vector.h.
1108
1109         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1110         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1111         Fix typo.
1112
1113 2001-03-11  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1114
1115         * include/ext/stl_hashtable.h: Change type of __n to size_t
1116         * include/backward/bvector.h: Include <ext/stl_bvector.h>
1117
1118 2001-03-09  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1119
1120         * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1121         operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1122         Use streamsize, not int_type.
1123
1124 2001-03-08  Benjamin Kosnik  <bkoz@redhat.com>
1125
1126         * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1127         moment.
1128
1129 2001-03-08  Andreas Schwab  <schwab@suse.de>
1130
1131         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1132         command.
1133         * aclocal.m4, configure: Regenerated.
1134
1135 2001-03-07  Benjamin Kosnik  <bkoz@redhat.com>
1136
1137         * include/bits/std_iosfwd.h: Remove string forward decls here.
1138         * include/bits/stringfwd.h: Add forward decls for char_traits
1139         specializations.
1140         * config/c_io_libio.h (wstreamoff): Delete.
1141         * config/c_io_stdio.h (wstreamoff): Same.
1142         * include/bits/char_traits.h: Use streamoff not wstreamoff for
1143         char_traits<wchar_t>::off_type.
1144         Remove duplicate typedefs.
1145         * include/bits/fpos.h: Define streampos/wstreampos here.
1146         * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1147         values to off_type.
1148         (test05): Same.
1149         Changeup output files.
1150         * testsuite/27_io/istream_unformatted.cc: Change output files.
1151         * testsuite/27_io/istream_seeks-1.txt: Add.
1152         * testsuite/27_io/istream_seeks-2.tst: Add.
1153         * testsuite/27_io/istream_seeks-1.tst: Add.
1154         * testsuite/27_io/istream_unformatted-2.tst: Delete.
1155         * testsuite/27_io/istream_unformatted-3.tst: Delete.
1156         * testsuite/27_io/istream_unformatted-3.txt: Delete.
1157
1158 2001-03-07  Alexandre Oliva  <aoliva@redhat.com>
1159
1160         Add Irix 5.2, 6.3 support.
1161         * config/os/irix/bits: Renamed to...
1162         * config/os/irix/irix6.5/bits: this.
1163         * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1164         * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1165         _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1166         * config/os/irix/irix5.2/bits/ctype_noninline.h
1167         (ctype<char>::ctype): Initialize _M_table with __ctype.
1168         * configure.target: Adjust.
1169
1170 2001-03-06  Benjamin Kosnik  <bkoz@redhat.com>
1171
1172         libstdc++/2181
1173         * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1174         operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1175         sentry.
1176         (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1177         (*__pf)(__ios_type&)): Same.
1178         (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1179         (*__pf)(ios_base&))): Same.
1180         * testsuite/27_io/istream_extractor_other.cc: Add tests.
1181         * testsuite/27_io/istream_manip.cc (test01): Fix.
1182
1183 2001-03-06  Nathan Myers  <ncm@cantrip.org>
1184             Benjamin Kosnik  <bkoz@redhat.com>
1185
1186         * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1187         * testsuite/17_intro/header_cerrno.cc (test01): New file.
1188         * testsuite/17_intro/header_cassert.cc (test01): New file.
1189         * testsuite/17_intro/header_cstddef.cc (test01): New file.
1190         * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1191         * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1192
1193 2001-03-05  scott snyder  <snyder@fnal.gov>
1194
1195         libstdc++/2190
1196         * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1197         from here...
1198         * include/c_std/bits/std_cstdlib.h: ... to here.
1199         * testsuite/17_intro/header_cstdlib.cc: Add test.
1200
1201 2001-03-05  Stephen M. Webb  <stephen.webb@cybersafe.com>
1202
1203         * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1204
1205 2001-03-05  Laurynas Biveinis  <lauras@softhome.net>
1206
1207         * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1208         definition. Replace enum with static const variables.
1209
1210         * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1211         throw specification, fix typos, use <static_cast>.
1212         (ctype<char>::scan_is): remove throw specification.
1213         (ctype<char>::scan_not): likewise.
1214
1215         * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1216         (ctype<char>::do_toupper(char)): use <static_cast>.
1217         (ctype<char>::do_toupper(char *, const char *)): likewise.
1218         (ctype<char>::do_tolower(char)): likewise.
1219         (ctype<char>::do_tolower(char *, const char *)): likewise.
1220
1221 2001-03-04  Phil Edwards  <pme@sources.redhat.com>
1222
1223         http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1224         * include/backward/algo.h:  Use std not __STD.  Remove unneeded
1225         macros and "never happens" code.  Adjust to C++STYLE guidelines.
1226         * include/backward/algobase.h:  Likewise.
1227         * include/backward/alloc.h:  Likewise.
1228         * include/backward/bvector.h:  Likewise.
1229         * include/backward/deque.h:  Likewise.
1230         * include/backward/function.h:  Likewise.
1231         * include/backward/hash_map.h:  Likewise.
1232         * include/backward/hash_set.h:  Likewise.
1233         * include/backward/hashtable.h:  Likewise.
1234         * include/backward/heap.h:  Likewise.
1235         * include/backward/iterator.h:  Likewise.
1236         * include/backward/list.h:  Likewise.
1237         * include/backward/map.h:  Likewise.
1238         * include/backward/multimap.h:  Likewise.
1239         * include/backward/multiset.h:  Likewise.
1240         * include/backward/pair.h:  Likewise.
1241         * include/backward/rope.h:  Likewise.
1242         * include/backward/set.h:  Likewise.
1243         * include/backward/slist.h:  Likewise.
1244         * include/backward/stack.h:  Likewise.
1245         * include/backward/strstream:  Likewise.
1246         * include/backward/tempbuf.h:  Likewise.
1247         * include/backward/tree.h:  Likewise.
1248         * include/backward/vector.h:  Likewise.
1249         * include/bits/basic_ios.h:  Likewise.
1250         * include/bits/basic_ios.tcc:  Likewise.
1251         * include/bits/basic_string.h:  Likewise.
1252         * include/bits/c++config:  Likewise.
1253         * include/bits/concept_checks.h:  Likewise.
1254         * include/bits/fpos.h:  Likewise.
1255         * include/bits/fstream.tcc:  Likewise.
1256         * include/bits/functexcept.h:  Likewise.
1257         * include/bits/ios_base.h:  Likewise.
1258         * include/bits/istream.tcc:  Likewise.
1259         * include/bits/mask_array.h:  Likewise.
1260         * include/bits/ostream.tcc:  Likewise.
1261         * include/bits/pthread_allocimpl.h:  Likewise.
1262         * include/bits/sbuf_iter.h:  Likewise.
1263         * include/bits/slice.h:  Likewise.
1264         * include/bits/slice_array.h:  Likewise.
1265         * include/bits/sstream.tcc:  Likewise.
1266         * include/bits/std_bitset.h:  Likewise.
1267         * include/bits/std_fstream.h:  Likewise.
1268         * include/bits/std_iomanip.h:  Likewise.
1269         * include/bits/std_ios.h:  Likewise.
1270         * include/bits/std_istream.h:  Likewise.
1271         * include/bits/std_iterator.h:  Likewise.
1272         * include/bits/std_memory.h:  Likewise.
1273         * include/bits/std_ostream.h:  Likewise.
1274         * include/bits/std_sstream.h:  Likewise.
1275         * include/bits/std_streambuf.h:  Likewise.
1276         * include/bits/std_string.h:  Likewise.
1277         * include/bits/std_valarray.h:  Likewise.
1278         * include/bits/stl_algo.h:  Likewise.
1279         * include/bits/stl_algobase.h:  Likewise.
1280         * include/bits/stl_alloc.h:  Likewise.
1281         * include/bits/stl_construct.h:  Likewise.
1282         * include/bits/stl_deque.h:  Likewise.
1283         * include/bits/stl_function.h:  Likewise.
1284         * include/bits/stl_heap.h:  Likewise.
1285         * include/bits/stl_iterator.h:  Likewise.
1286         * include/bits/stl_iterator_base.h:  Likewise.
1287         * include/bits/stl_list.h:  Likewise.
1288         * include/bits/stl_map.h:  Likewise.
1289         * include/bits/stl_multimap.h:  Likewise.
1290         * include/bits/stl_multiset.h:  Likewise.
1291         * include/bits/stl_numeric.h:  Likewise.
1292         * include/bits/stl_pair.h:  Likewise.
1293         * include/bits/stl_pthread_alloc.h:  Likewise.
1294         * include/bits/stl_queue.h:  Likewise.
1295         * include/bits/stl_raw_storage_iter.h:  Likewise.
1296         * include/bits/stl_relops.h:  Likewise.
1297         * include/bits/stl_set.h:  Likewise.
1298         * include/bits/stl_stack.h:  Likewise.
1299         * include/bits/stl_tempbuf.h:  Likewise.
1300         * include/bits/stl_threads.h:  Likewise.
1301         * include/bits/stl_tree.h:  Likewise.
1302         * include/bits/stl_uninitialized.h:  Likewise.
1303         * include/bits/stl_vector.h:  Likewise.
1304         * include/bits/streambuf.tcc:  Likewise.
1305         * include/bits/type_traits.h:  Likewise.
1306         * include/bits/valarray_meta.h:  Likewise.
1307         * include/ext/bvector:  Likewise.
1308         * include/ext/hash_map:  Likewise.
1309         * include/ext/hash_set:  Likewise.
1310         * include/ext/ropeimpl.h:  Likewise.
1311         * include/ext/slist:  Likewise.
1312         * include/ext/stl_bvector.h:  Likewise.
1313         * include/ext/stl_hash_fun.h:  Likewise.
1314         * include/ext/stl_hashtable.h:  Likewise.
1315         * include/ext/stl_rope.h:  Likewise.
1316         * src/complex_io.cc:  Likewise.
1317         * src/ios.cc:  Likewise.
1318         * src/locale-inst.cc:  Likewise.
1319         * src/locale.cc:  Likewise.
1320         * src/localename.cc:  Likewise.
1321         * src/misc-inst.cc:  Likewise.
1322         * src/stdexcept.cc:  Likewise.
1323         * src/stl-inst.cc:  Likewise.
1324         * src/strstream.cc:  Likewise.
1325         * src/valarray-inst.cc:  Likewise.
1326
1327 2001-03-03  Benjamin Kosnik  <bkoz@redhat.com>
1328
1329         * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1330
1331 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1332
1333         * include/bits/istream.tcc: change type of __extracted to __size_type
1334
1335 2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>
1336
1337         * src/wstring-inst.cc: New file.
1338         * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1339         (libinst_wstring_la_SOURCES): Remove.
1340         (libstdc___la_LIBADD): Remove libinst_wstring_la.
1341         (sources): Add wstring-inst.cc
1342         * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1343         libinst_wstring_la.
1344
1345 2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
1346
1347         * src/locale.cc: initialise __ret with zero
1348         * src/strstream.cc:cast gptr to int_type
1349
1350 2001-03-01  Phil Edwards  <pme@sources.redhat.com>
1351
1352         * docs/html/faq/index.html:  Update broken links.
1353         * docs/html/faq/index.txt:  Regenerated.
1354
1355 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1356
1357         libstdc++/2064
1358         * configure.target: Change irix* to irix6.5* in target_os table.
1359
1360 2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
1361
1362         libstdc++/2103
1363         * include/bits/c++config (__GLIBCPP__): Bump number in
1364         anticipation of 2.92.
1365
1366         * include/bits/codecvt.h: Fix typo.
1367         * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1368         stdio model.
1369         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1370         instantiations for stdio model.
1371
1372 2001-02-28  Phil Edwards  <pme@sources.redhat.com>
1373
1374         * acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
1375           and GLIBCPP_CXXFLAGS as unused variables.
1376         * configure.host:  Likewise.
1377         * configure.target:  Likewise.
1378         * aclocal.m4:  Regenerated.
1379         * configure:  Regenerated.
1380         * Makefile.in:  Regenerated.
1381         * libio/Makefile.in:  Regenerated.
1382         * libmath/Makefile.in:  Regenerated.
1383         * libsupc++/Makefile.in:  Regenerated.
1384         * src/Makefile.in:  Regenerated.
1385
1386 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1387
1388         libstdc++/1886
1389         * include/bits/basic_file.h: Include basic_file_model.h.
1390         * config/c_io_libio.cc: Move to...
1391         * config/basic_file_libio.cc: Here.
1392         * config/basic_file_libio.h: New file.
1393         * config/c_io_stdio.cc: Move to...
1394         * config/basic_file_stdio.cc: Here.
1395         * config/basic_file_stdio.h: New file.
1396         * config/c_io_libio.h: Tweak.
1397         * config/c_io_stdio.h: Tweak.
1398         * src/Makefile.am (build_headers): Add basic_file_model.h.
1399         (sources): Add basic_file.cc, remove c++io.cc.
1400         * src/Makefile.in: Regenerate.
1401         * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1402         basic_file_model.h and basic_file.cc.
1403         * aclocal.m4: Regenerate.
1404         * configure: Regenerate.
1405         * testsuite/27_io/filebuf.cc (test05): Add regression.
1406
1407 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1408
1409         Correct license.
1410         * config/cpu/alpha/bits/atomicity.h: Change.
1411         * config/cpu/arm/bits/atomicit3y.h
1412         * config/cpu/generic/bits/atomicity.h
1413         * config/cpu/i386/bits/atomicity.h
1414         * config/cpu/i486/bits/atomicity.h
1415         * config/cpu/ia64/bits/atomicity.h
1416         * config/cpu/powerpc/bits/atomicity.h
1417         * config/cpu/sparc/sparc32/bits/atomicity.h
1418         * config/cpu/sparc/sparc64/bits/atomicity.h
1419         * config/os/aix/bits/atomicity.h
1420         * config/os/irix/bits/atomicity.h
1421
1422 2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>
1423
1424         * include/bits/std_stdexcept.h (runtime_error): Make string
1425         member non-const.
1426         (logic_error): Same.
1427         * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1428         (test03): Fix.
1429
1430 2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>
1431
1432         libstdc++/1972
1433         libstdc++/2089
1434         * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1435         string object, not reference.
1436         (runtime_error::runtime_error): Same.
1437         * testsuite/19_diagnostics/stdexceptions.cc: New file.
1438
1439 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
1440
1441         * acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
1442           (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
1443           diagnostics.  Remove WFMT_FLAGS.
1444         * configure.in:  Replace WFMT_FLAGS with diagnostics options.
1445         * libsupc++/Makefile.am:  Likewise.
1446         * src/Makefile.am:  Likewise.
1447         * aclocal.m4:  Regenerated.
1448         * configure:  Regenerated.
1449         * Makefile.in:  Regenerated.
1450         * libio/Makefile.in:  Regenerated.
1451         * libmath/Makefile.in:  Regenerated.
1452         * libsupc++/Makefile.in:  Regenerated.
1453         * src/Makefile.in:  Regenerated.
1454
1455 2001-02-26  Phil Edwards  <pme@sources.redhat.com>
1456
1457         Fixes libstdc++/2079
1458         * include/backward/iomanip.h:  Expose <ios> manipulators to global
1459           namespace.
1460         * include/backward/iostream.h:  Also expose std::ws.
1461
1462 2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>
1463
1464         * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1465
1466 2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>
1467
1468         * include/bits/codecvt.h: Use __builtin_alloca.
1469         * include/bits/ostream.tcc: Same.
1470         * include/bits/fstream.tcc: Same.
1471
1472 2001-02-23  Alexandre Oliva <aoliva@redhat.com>
1473
1474         * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1475
1476 2001-02-23  David Edelsohn <dje@watson.ibm.com>
1477
1478         * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1479
1480 2001-02-23  Phil Edwards  <pme@sources.redhat.com>
1481
1482         c++/2052
1483         * include/backward/iostream.h:  Expose std::flush in old headers.
1484
1485 2001-02-23  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1486
1487         * mknumeric_limits: Remove special-casing on target.  Use gcc
1488         instead of g++ to build gen-num-limits.cc
1489
1490 2001-02-22  Benjamin Kosnik  <bkoz@redhat.com>
1491
1492         * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1493
1494         * include/bits/codecvt.h: Use alloca instead of __extension__ for
1495         the time being.
1496         * include/bits/ostream.tcc: Same.
1497         * include/bits/std_ostream.h: Same.
1498         * include/bits/fstream.tcc: Same.
1499         * include/bits/locale_facets.tcc: Add typename.
1500         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1501
1502 2001-02-21  Phil Edwards  <pme@sources.redhat.com>
1503
1504         * tests_flags.in:  Remove -n flag from call to echo.
1505
1506 2001-02-20  Benjamin Kosnik  <bkoz@redhat.com>
1507
1508         * config/c_locale_gnu.h: Add clocale include.
1509
1510 2001-02-20  Phil Edwards  <pme@sources.redhat.com>
1511
1512         * include/bits/stl_config.h:  Remove file.
1513         * src/Makefile.am (base_headers):  Remove from list.
1514         * configure:  Regenerate.
1515         * Makefile.in:  Ditto.
1516         * libio/Makefile.in:  Ditto.
1517         * libmath/Makefile.in:  Ditto.
1518         * libsupc++/Makefile.in:  Ditto.
1519         * src/Makefile.in:  Ditto.
1520
1521         * include/bits/c++config:  Move relevant macros to here.
1522         * include/backward/alloc.h:  Include c++config.h instead.
1523         * include/backward/function.h:  Ditto.
1524         * include/backward/heap.h:  Ditto.
1525         * include/backward/pair.h:  Ditto.
1526         * include/bits/pthread_allocimpl.h:  Ditto.
1527         * include/bits/std_functional.h:  Ditto.
1528         * include/bits/std_iterator.h:  Ditto.
1529         * include/bits/std_numeric.h:  Ditto.
1530         * include/bits/std_utility.h:  Ditto.
1531         * include/bits/stl_algobase.h:  Ditto.
1532         * include/bits/type_traits.h:  Ditto.
1533         * src/stl-inst.cc:  Ditto.
1534
1535 2001-02-19  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1536
1537         * include/bits/basic_file.h: Add #pragma system_header
1538         * include/bits/basic_ios.h: Ditto.
1539         * include/bits/basic_string.h: Ditto.
1540         * include/bits/char_traits.h: Ditto.
1541         * include/bits/codecvt.h: Ditto.
1542         * include/bits/cpp_type_traits.h:  Ditto.
1543         * include/bits/fpos.h: Ditto.
1544         * include/bits/gslice.h: Ditto.
1545         * include/bits/gslice_array.h: Ditto.
1546         * include/bits/indirect_array.h: Ditto.
1547         * include/bits/ios_base.h: Ditto.
1548         * include/bits/limits_generic.h: Ditto.
1549         * include/bits/locale_facets.h: Ditto.
1550         * include/bits/localefwd.h: Ditto.
1551         * include/bits/mask_array.h: Ditto.
1552         * include/bits/sbuf_iter.h: Ditto.
1553         * include/bits/sequence_concepts.h: Ditto.
1554         * include/bits/slice.h: Ditto.
1555         * include/bits/slice_array.h: Ditto.
1556         * include/bits/std_algorithm.h: Likewise.
1557         * include/bits/std_bitset.h: Likewise.
1558         * include/bits/std_complex.h: Likewise.
1559         * include/bits/std_deque.h: Likewise.
1560         * include/bits/std_fstream.h: Likewise.
1561         * include/bits/std_functional.h: Likewise.
1562         * include/bits/std_iomanip.h: Likewise.
1563         * include/bits/std_ios.h: Likewise.
1564         * include/bits/std_iosfwd.h: Likewise.
1565         * include/bits/std_iostream.h: Likewise.
1566         * include/bits/std_istream.h: Likewise.
1567         * include/bits/std_iterator.h: Likewise.
1568         * include/bits/std_list.h: Likewise.
1569         * include/bits/std_locale.h: Likewise.
1570         * include/bits/std_map.h: Likewise.
1571         * include/bits/std_memory.h: Likewise.
1572         * include/bits/std_numeric.h: Likewise.
1573         * include/bits/std_ostream.h: Likewise.
1574         * include/bits/std_queue.h: Likewise.
1575         * include/bits/std_set.h: Likewise.
1576         * include/bits/std_sstream.h: Likewise.
1577         * include/bits/std_stack.h: Likewise.
1578         * include/bits/std_stdexcept.h: Likewise.
1579         * include/bits/std_streambuf.h: Likewise.
1580         * include/bits/std_string.h: Likewise.
1581         * include/bits/std_utility.h: Likewise.
1582         * include/bits/std_valarray.h: Likewise.
1583         * include/bits/std_vector.h: Likewise.
1584         * include/bits/stringfwd.h: Likewise.
1585         * include/bits/type_traits.h: Likewise.
1586         * include/bits/valarray_array.h: Likewise.
1587         * include/bits/valarray_meta.h: Likewise.
1588
1589 2001-02-19  Andreas Jaeger  <aj@suse.de>
1590
1591         * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1592         Fix typo.
1593
1594 2001-02-16  Greg Bumgardner <bumgard@roguewave.com>
1595
1596         libstdc++/1734
1597         * include/bits/std_ostream.h: Replaced usage of
1598         _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1599         * include/bits/char_traits.h: Removed non-standard
1600         methods that cannot be used elsewhere.
1601
1602         libstdc++/1885
1603         * include/bits/basic_ios.h: Uncommented #include of
1604         bits/basic_ios.tcc
1605
1606         libstdc++/1897
1607         * include/bits/codecvt.h: See next...
1608         * include/bits/fstream.tcc: See next...
1609         * include/bits/ostream.tcc: Add __extension__
1610         to variable-length arrays.
1611
1612         libstdc++/1967
1613         * include/bits/localefwd.h: Changed int counter type to size_t.
1614
1615         libstdc++/1968
1616         * include/bits/std_fstream.h: Added typedef for __ctype_type.
1617
1618 2001-02-16  Benjamin Kosnik  <bkoz@redhat.com>
1619
1620         * testsuite/21_strings/char_traits.cc: Move to ...
1621         * testsuite/21_strings/char_traits_requirements.cc: ..here.
1622         * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1623         * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1624
1625 2001-02-16  Gabriel Dos Reis  <gdr@codesourcery.com>
1626
1627         * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1628         definitions.
1629
1630 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1631
1632         * include/bits/c++config: Revert.
1633
1634 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
1635
1636         * include/bits/istream.tcc: Use ios_base::iostate in place of
1637         iostate throughout.  Insert `typename' keyword where necessary.
1638         * include/bits/ostream.tcc: Insert `typename' keyword where
1639         necessary.
1640
1641 2001-02-15  Jeffrey Oldham  <oldham@codesourcery.com>
1642
1643         * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1644         Define so library is compliant.
1645
1646 2001-02-15  Anthony Green  <green@redhat.com>
1647
1648         * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1649         compilation.
1650         * aclocal.m4: Regenerate.
1651         * configure: Regenerate.
1652
1653 2001-02-15  Rodney Brown  <RodneyBrown@mynd.com>
1654
1655         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1656         Include ieeefp.h for fpclass on UnixWare{2,7}.
1657         * aclocal.m4: Regenerate.
1658         * configure: Regenerate.
1659         * mkcheck.in (size_command): Do without GNU-grep when using
1660         size from binutils.
1661
1662 2001-02-15  Mark Mitchell  <mark@codesourcery.com>
1663
1664         Remove old ABI support from libsupc++.
1665         * libsupc++/cxxabi.h: Remove conditionally compiled code.
1666         * libsupc++/exception_support.cc: Likewise.
1667         * libsupc++/pure.cc: Likewise.
1668         * libsupc++/tinfo.cc: Likewise.
1669         * libsupc++/tinfo.h: Likewise.
1670         * libsupc++/tinfo2.cc: Likewise.
1671         * libsupc++/typeinfo: Likewise.
1672         * libsupc++/vec.cc: Likewise.
1673
1674 2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
1675
1676         Add support for -fno-exceptions.
1677         * include/bits/exception_support.h: Remove.
1678         * include/bits/basic_string.h: Remove exception_support.
1679         (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1680         (string::at): Same.
1681         (string::substr): Same.
1682         * include/bits/basic_string.tcc (string::reserve): Replace
1683         __LENGTHERROR with __throw_length_error.
1684         (string::_S_create): Same.
1685         (string::resize): Same.
1686         (string::_M_replace): Same.
1687         (string::replace): Same.
1688         (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1689         (string::compare): Same.
1690         * include/bits/stl_vector.h: Remove exception_support.
1691         * src/Makefile.am (base_headers): Remove here.
1692         * src/Makefile.in: Regenerate.
1693
1694         * include/bits/stl_range_errors.h: Remove.
1695         * include/bits/stl_deque.h: Use __throw_range_error.
1696         * include/bits/std_deque.h: Include functexcept.h.
1697         * include/bits/std_vector.h: Same.
1698         * src/Makefile.am (base_headers): Remove here.
1699         * src/Makefile.in: Regenerate.
1700         * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1701         * include/ext/bvector: Remove stl_range_errors.h
1702
1703         * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1704
1705         * include/bits/functexcept.h: New file.
1706         * src/functexcept.cc: New file. Definitions for function-based
1707         exception routines.
1708         * src/Makefile.am (sources): Add functexcept.cc.
1709         * src/Makefile.in: Regenerate.
1710
1711         * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1712         __EXCEPTIONS.
1713
1714         * include/bits/localefwd.h: Include functexcept.h.
1715         * include/bits/std_iosfwd.h: Same.
1716
1717         * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1718         throw basic_ios::failure.
1719         * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1720         Use __throw_exception_again.
1721         (filebuf::_M_filebuf_init): Same.
1722         * include/bits/streambuf.tcc (__copy_streambufs): Same.
1723         * include/bits/ostream.tcc (ostream::operator<<): Same.
1724         * include/bits/istream.tcc (istream::operator>>): Same.
1725         * include/bits/basic_string.tcc (string::_M_mutate): Same.
1726         (string::_S_construct): Same.
1727         (string::_M_clone): Same.
1728         * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1729         __throw_bad_cast.
1730         (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1731         * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1732         __throw_exception_again.
1733         (locale::_Imp::_Imp(string, size_t): Same.
1734         (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1735         * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1736         (locale::locale(const char*)): Use __throw_runtime_error.
1737         (locale::classic): Use __throw_exception_again.
1738         (locale::_S_normalize_category): Use __throw_runtime_error.
1739
1740         * src/stdexcept.cc: Remove cruft.
1741
1742         * libsupc++/exception_defines.h: New file.
1743         * libsupc++/new_opnt.cc: Include exception_defines.h.
1744         * libsupc++/vec.cc: Same.
1745         (__cxa_vec_new2): Use __throw_exception_again.
1746         (__cxa_vec_new3): Same.
1747         (__cxa_vec_ctor): Same.
1748         (__cxa_vec_delete3): Same.
1749         (__cxa_vec_cctor): Same.
1750         (__cxa_vec_delete2): Same.
1751         (__cxa_vec_dtor): Same.
1752         * libsupc++/exception_support.cc: Include exception_defines.h. Only
1753         compile exception-handling bits if __EXCEPTIONS is defined.
1754         Remove old ABI support.
1755         * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1756         std::__throw_bad_alloc() instead of throw bad_alloc.
1757         * libsupc++/Makefile.am: Add exception_defines.h.
1758         * libsupc++/Makefile.in: Reformat.
1759         * libsupc++/*: Format.
1760
1761 2001-02-15  Phil Edwards  <pme@sources.redhat.com>
1762
1763         * docs/html/configopts.html:  Minor updates and typo fixes.
1764         * docs/html/faq/index.html:  Updates of the "not really bugs" list.
1765         * docs/html/faq/index.txt:  Regenerated.
1766
1767 2001-02-15  Gabriel Dos Reis  <gdr@codesourcery.com>
1768
1769         * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1770         dejagnu/dg.exp.  Adapt to log options used to run testcases.
1771
1772 2001-02-13  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1773
1774         * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1775         dejagnu/dg.exp.
1776
1777 2001-02-13  Dirk Mueller <dmuell@gmx.net>
1778             Phil Edwards  <pme@sources.redhat.com>
1779
1780         * include/backward/function.h:  Do not use rel_ops for older
1781           headers either.
1782         * include/backward/pair.h:  Likewise.
1783
1784 2001-02-12  Mark Mitchell  <mark@codesourcery.com>
1785
1786         * src/locale.cc: Remove bogus locale::id definitions.
1787
1788 2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
1789
1790         * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1791         not _DEFINE_VALARRAY_OPERATOR which is not existent.
1792
1793         * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1794         thinko in member initialisation.
1795
1796 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
1797
1798         * include/bits/std_valarray.h(valarray<>::shift): Avoid
1799         comparaison between signed and unsigned integer types.
1800         (valarray<>::cshift): Reformat.
1801
1802 2001-02-11  Alexandre Oliva  <aoliva@redhat.com>
1803
1804         * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1805         * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1806         * configure.in: Test for sigsetjmp.
1807         * configure, config.h.in: Rebuilt.
1808
1809 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
1810
1811         * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1812         lengths and strides.
1813         (__gslice_to_index): Document.
1814
1815 2001-02-11  Gabriel Dos Reis  <gdr@codesourcery.com>
1816
1817         * include/bits/char_traits.h char_traits<char>::int_type: Change
1818         to `int' to match 21.1.3.1/2.
1819
1820         * testsuite/21_strings/char_traits-int_type.C: New test.
1821
1822 2001-02-10  Gabriel Dos Reis  <gdr@codesourcery.com>
1823
1824         * testsuite/Makefile.am: New file.
1825
1826 2001-02-09  Nathan Sidwell  <nathan@codesourcery.com>
1827
1828         * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1829
1830 2001-02-08  Loren J. Rittle  <ljrittle@acm.org>
1831
1832         * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1833
1834 2001-02-08  David Edelsohn  <edelsohn@gnu.org>
1835
1836         * configure.target (aix4*): Remove extra set of brackets.
1837
1838 2001-02-07  Benjamin Kosnik  <bkoz@redhat.com>
1839
1840         Clean up stdexcept.
1841         * include/bits/stringfwd.h: New file.
1842         * include/bits/stl_string_fwd.h: Remove.
1843         * include/bits/localefwd.h: Remove declaration for allocator.
1844         * include/bits/std_iosfwd: Same.
1845         * include/bits/std_string.h: Include it.
1846         * include/bits/std_ios.h: Remove include.
1847         * include/bits/basic_string.h: Tweak.
1848         * libsupc++/new: Format.
1849         * src/Makefile.am (base_headers): Add stringfwd.h, remove
1850         stl_string_fwd.h
1851         * src/Makefile.in: Regenerate.
1852         * include/bits/std_stdexcept.h: Rewrite.
1853         * src/stdexcept.cc: Same.
1854
1855 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
1856
1857         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1858         install locations too.
1859         * aclocal.m4: Regenerate.
1860         * configure.in: Remove USE_LIBDIR.
1861         * configure: Regenerate.
1862         * src/Makefile.am (toolexecdir): Simplify, use
1863         glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1864         * src/Makefile.in: Regenerate.
1865         * libsupc++/Makefile.am: Same.
1866         * libsupc++/Makefile.in: Regenerate.
1867
1868         * src/Makefile.am: Just remove special rules for locale-inst.cc and
1869         misc-inst.cc as no longer necessary.
1870
1871         Follow C++STYLE for naming non-static functions.
1872         * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1873         __pad_char.
1874         * include/bits/streambuf.tcc: Same.
1875         * include/bits/ostream.tcc: Same.
1876         * include/bits/istream.tcc: Same.
1877         * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1878         (_S_output_float): To __output_float.
1879         * include/bits/std_streambuf.h (_S_copy_streambufs): To
1880         __copy_streambufs.
1881         * include/bits/locale_facets.tcc (_S_build_float_format): To
1882         __build_float_format.
1883         (_S_format): To __output_integer.
1884         (_S_fill): To __pad.
1885         * src/locale.cc: Same.
1886         * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1887         names.
1888         * include/bits/locale_facets.tcc (_S_group_digits): To
1889         __group_digits.
1890         * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1891         for collate, numpunct.
1892
1893 2001-02-06  Phil Edwards  <pme@sources.redhat.com>
1894
1895         * docs/html/configopts.html:  Fix HTML markup.
1896         * docs/html/install.html:  Bring up to date.
1897         * docs/html/17_intro/C++STYLE:  Add global variable conventions.
1898         * docs/html/21_strings/howto.html:  More notes.
1899         * docs/html/22_locale/howto.html:  Fix HTML markup.
1900         * docs/html/27_io/howto.html:  More notes.
1901         * docs/html/27_io/binary_iostreams_kanze.txt:  New file.
1902         * docs/html/27_io/binary_iostreams_kuehl.txt:  New file.
1903
1904 2001-02-06  Jeffrey Oldham  <oldham@codesourcery.com>
1905
1906         * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1907         to match header files.
1908         (_S_output_float): Likewise.
1909         (_S_copy_streambufs): Likewise.
1910
1911 2001-02-06  Hyman Rosen  <Hyman.Rosen@kbcfp.com>
1912             Phil Edwards  <pme@sources.redhat.com>
1913
1914         * include/bits/std_istream.h (op>> signed,unsigned char):  Must
1915           use reinterpret_cast, not static_cast.
1916
1917 2001-02-06  Benjamin Kosnik  <bkoz@redhat.com>
1918
1919         * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1920         * aclocal.m4: Regenerate.
1921         * configure: Regenerate.
1922
1923 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1924
1925         * include/bits/locale_facets.h (class moneypunct): Fix typos.
1926         * libsupc++/pure.cc: Revert.
1927
1928 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1929
1930         * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1931         (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1932         (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1933         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1934         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1935         (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1936         (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1937         * aclocal.m4: Regenerate.
1938         * configure: Regenerate.
1939
1940 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
1941
1942         * include/bits/locale_facets.tcc: Remove `static' keyword on
1943         function definitions.
1944         * include/bits/std_streambuf.h: Likewise.
1945         * src/Makefile.am: Remove use of -fimplicit-templates.
1946         * src/Makefile.in: Regenerated.
1947         * src/locale-inst.cc: Explicitly instantiate more functions.
1948         * src/misc-inst.cc: Likewise.
1949         * src/string-inst.cc: Likewise.
1950
1951 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1952
1953         * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1954         macro. Consolidate all the bits to do with where includes might be
1955         installed.
1956         * aclocal.m4: Regenerate.
1957         * configure.in: Use it.
1958         * configure: Regenerate.
1959         * src/Makefile.am (targetincludep): Use simplified rules.
1960         (targetincludep): Rename gxx_target_include_dir.
1961         (myincludep): Rename gxx_include_dir.
1962         * src/Makefile.in: Regenerate.
1963         * libsupc++/Makefile.am: Use simplified rules.
1964         * libsupc++/Makefile.in: Regenerate.
1965
1966 2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
1967
1968         * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1969         * include/c_std/bits/std_cctype.h: Same.
1970         * include/c_std/bits/std_cassert.h: Same.
1971         * include/c_std/bits/std_cstdarg.h: Same.
1972         * include/c_std/bits/std_cstddef.h: Same.
1973
1974         * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1975         namespace std.
1976         * include/c_std/bits/std_ctime.h: Same.
1977         * include/c_std/bits/std_clocale.h: Same.
1978         * include/c_std/bits/std_cmath.h: Same.
1979         * include/c_std/bits/std_csetjmp.h: Same.
1980         * include/c_std/bits/std_csignal.h: Same.
1981         * include/c_std/bits/std_cstring.h: Same.
1982         * include/c_std/bits/std_cstdlib.h: Same.
1983         * include/c_std/bits/std_cwchar.h: Same.
1984
1985 2001-02-05  Phil Edwards  <pme@sources.redhat.com>
1986
1987         * testsuite/27_io/ios_base_members_static.cc:  Swap order of tests.
1988
1989 2001-02-05  Mark Mitchell  <mark@codesourcery.com>
1990
1991         * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1992         (string::_S_construct): Likewise.
1993
1994 2001-02-05  Gabriel Dos Reis  <gdr@codesourcery.com>
1995
1996         * testsuite/config/default.exp: New file.
1997         * testsuite/config: New directory.
1998
1999 2001-02-04  Mark Mitchell  <mark@codesourcery.com>
2000
2001         * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
2002         * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
2003         whenever !__GXX_MERGED_TYPEINFO_NAMES.
2004         * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2005
2006 2001-02-03  Alexandre Oliva  <aoliva@redhat.com>
2007             Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
2008
2009         * Makefile.am (mkinstalldirs): Set.
2010         * src/Makefile.am (mkinstalldirs): Set.
2011         * libmath/Makefile.am (mkinstalldirs): Set.
2012         * libsup++/Makefile.am (mkinstalldirs): Set.
2013         * libio/Makefile.am (mkinstalldirs): Set.
2014         * */Makefile.in: Regenerate.
2015
2016 2001-02-03  Benjamin Kosnik  <bkoz@redhat.com>
2017
2018         * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
2019         * include/bits/localefwd.h: More initialization cleanups.
2020
2021 2001-02-03  Jeffrey A Law  <law@cygnus.com>
2022
2023         * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2024         correctly targets with 16bit ints.
2025         (_S_ios_openmode_end): Similarly.
2026         (_S_ios_iostate_end): Similarly.
2027         (_S_ios_Seekdir_end): Similarly.
2028
2029 2001-02-02  Phil Edwards  <pme@sources.redhat.com>
2030
2031         * mkcheck.in:  Also limit virtual memory size, for mmap-based mallocs.
2032
2033 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2034
2035         * configure.in (toplevel_srcdir, auxdir): Set.
2036         * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2037         * aclocal.m4, configure, Makefile.in: Rebuilt.
2038         * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2039         * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2040         * libsupc++-v3/Makefile.in: Rebuilt.
2041         * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2042         * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2043
2044 2001-01-30   Benjamin Kosnik  <bkoz@redhat.com>
2045
2046         * config/c_locale_generic.cc: Remove langinfo include.
2047
2048 2001-01-29  Benjamin Kosnik  <bkoz@redhat.com>
2049
2050         Preliminary named locales.
2051         * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2052         * aclocal.m4: Regenerate.
2053         * configure.in: Use it.
2054         * configure: Regerate.
2055         * src/Makefile.am (sources): Add c++locale.cc.
2056         (build_headers): Add c++locale.h.
2057         * src/Makefile.in: Regenerate.
2058         * config/c_locale_gnu.h: New file.
2059         * config/c_locale_gnu.cc: New file. Non-inline member functions
2060         for named locales, gnu-specific.
2061         * config/c_locale_generic.h: New file.
2062         * config/c_locale_generic.cc: New file. Non-inline member
2063         functions for named locales, generic version.
2064         * docs/html/configopts.html: Add documentation on new options.
2065
2066         * include/bits/locale_facets.h (class _Messages): Remove.
2067         (class _Moneypunct): Remove.
2068         * src/locale-inst.cc: Remove.
2069
2070         * include/bits/locale_facets.h (class _Collate): Remove.
2071         * src/locale-inst.cc (std): Remove.
2072         * src/locale.cc: And here.
2073
2074         * include/bits/localefwd.h (locale::_M_coalesce): New
2075         function. Correctly put together multi-name locales.
2076         (_Impl(const _Impl&, category, size_t)): Remove.
2077
2078         * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2079         member functions.
2080         (_M_normalize_category_names): Remove.
2081         (_M_replace_categories): Fix.
2082
2083         * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2084         (locale::_Impl::_M_construct_ctype): Remove.
2085         (locale::_Impl::_M_construct_monetary): Remove.
2086         (locale::_Impl::_M_construct_numeric): Remove.
2087         (locale::_Impl::_M_construct_time): Remove.
2088         (locale::_Impl::_M_construct_messages): Remove.
2089
2090         * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2091         (_Use_facet_failure_handle): Remove.
2092         * src/locale.cc: Remove definitions.
2093         * src/locale-inst.cc: And here.
2094
2095         * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2096
2097         * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2098         create and error-check underlying locale object.
2099         (locale::facet::_S_destroy_c_locale): Add, take care of properly
2100         tearing down underlying locale object.
2101         * include/bits/localefwd.h (locale::facet): Declare.
2102         * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2103         correctness, as glibc apparently has incorrect info in it. Test
2104         with it when it works again.....
2105
2106         * include/bits/localefwd.h (locale::_Impl::__vec_string):
2107         Remove. Number of categories is fixed at six, so just simplify and
2108         make this an array of strings.
2109         (locale::_Impl::_M_has_name): Remove.
2110         (locale::_Impl::_M_name): Remove.
2111         (locale::_Impl::_M_category_names): Turns into...
2112         (locale::_Impl::_M_names): ...this.
2113         (locale::_Impl::_M_has_same_name()): New function.
2114         * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2115         (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2116         signature.
2117         * src/locale.cc (locale::name()): Construct mangled name
2118         accurately reflecting combined locale categories.
2119
2120         * src/locale.cc (locale::classic()): Don't initialize here.
2121         * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2122         __refs, bool __has_name, string __str): Do it here.
2123
2124         * include/bits/localefwd.h: _S_categories_num to
2125         _S_num_categories. _S_facets_num to _S_num_facets.
2126         (locale::id::id()): Explicitly set _M_index to zero.
2127         * src/locale.cc: Same.
2128
2129         * src/locale.cc: (locale::locale(const char*)): Construct named
2130         locales uniquely.
2131
2132         * src/locale.cc: Remove numpunct_byname ctors.
2133         * testsuite/22_locale/numpunct_byname.cc: New file.
2134         * testsuite/22_locale/numpunct.cc: New file.
2135
2136         * include/bits/localefwd.h (class locale): Change data members to
2137         protected, from private.
2138         (_Impl::_M_get_c_locale): Add member function.
2139         (locale::facet::_M_get_global_impl()): Add member function.
2140         * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2141         a __c_locale pointer.
2142         (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2143         named locales.
2144         * testsuite/22_locale/members.cc: New file, test name and combine.
2145
2146         * include/bits/locale_facets.h (class numpunct): Remove class
2147         _Punct and _Numpunct. Rewrite class numpunct to be correct for
2148         named locales.
2149         * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2150         * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2151         (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2152         * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2153         * testsuite/22_locale/numpunct_char_members.cc: New file.
2154
2155 2001-01-28  Gabriel Dos Reis  <gdr@codesourcery.com>
2156
2157         * testsuite/README: Add more comment.
2158         * testsuite/lib/libstdc++.exp: Tweak comment.
2159
2160 2001-01-26  Benjamin Kosnik  <bkoz@kredhat.com>
2161
2162         * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2163
2164 2001-01-25  Loren J. Rittle  <ljrittle@acm.org>
2165
2166         * testsuite/21_strings/inserters_extractors.cc: Remove
2167         explicit reference to 'testsuite/'.
2168
2169 2001-01-25  Richard Henderson  <rth@redhat.com>
2170
2171         * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2172         bits. Fixes Tru64 build issues.
2173
2174 2001-01-25  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
2175
2176         * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2177         (use ${MAKE-make}, not ${MAKE:-make}).
2178         * aclocal.m4, configure: Regenerate.
2179
2180 2001-01-25  Mark Mitchell  <mark@codesourcery.com>
2181
2182         * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2183         checkin.
2184
2185         * src/Makefile.am (sources): Add globals.cc.
2186         * src/Makefile.in: Regenerated.
2187         * src/globals.cc: New file.
2188         * src/ios.cc (cin): Don't define here, just declare extern.
2189         (cout): Likewise.
2190         (cerr): Likewise.
2191         (clog): Likewise.
2192         (wcin): Likewise.
2193         (wcout): Likewise.
2194         (wcerr): Likewise.
2195         (wclog): Likewise.
2196
2197 2001-01-25  Phil Edwards  <pme@sources.redhat.com>
2198
2199         * include/bits/std_iterator.h:  Do not include stl_relops.h.
2200         * include/bits/std_numeric.h:  Ditto.
2201         * include/bits/stl_algobase.h:  Ditto.
2202         * include/bits/stl_relops.h:  Add comment warning about problems.
2203
2204 2001-01-25  Gabriel Dos Reis  <gdr@codesourcery.com>
2205
2206         * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2207         in testcases.  Prepare for the DejaGnu based framework.
2208         * mkcheck.in: Adjust call to tests_flags.  Don't mmkdir testsuite
2209         directory -- it is now mkcheck working directory.
2210         * tests_flags.in: Remove reference to $(top_srcdir).  Use
2211         ${SRC_DIR} instead.
2212         * Makefile.am (check, check-install): Change mkcheck invocation
2213         logic.
2214         * Makefile.in: Regenerate.
2215
2216 2001-01-24  Mark Mitchell  <mark@codesourcery.com>
2217
2218         * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2219         (__always_swap): Likewise.
2220
2221 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2222
2223         * libsupc++/exception_support.cc (__terminate_func): Remove
2224         declaration.
2225         (__terminate_func_ptr): New typedef.
2226         (__terminate, __terminate_set_func): New extern function
2227         prototypes.
2228         (std::terminate): Use __terminate function.
2229         (std::set_terminate): Use __terminate_set_func function.
2230
2231 2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>
2232
2233         * configure.target: Just use os_include_dir always.
2234         * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2235         Link atomicity files and ctype files here.
2236         * configure: Regenerate.
2237         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2238         (GLIBCPP_ENABLE_ATOMICITY): Remove.
2239         * aclocal.m4: Regenerate.
2240
2241 2001-01-23  Chris Demetriou  <cgd@broadcom.com>
2242
2243         * configure.in: Place definition of MULTISUBDIR in
2244         libsupc++/Makefile as is done for src/Makefile.
2245         * configure: Regenerate.
2246
2247 2001-01-23  Phil Edwards  <pme@sources.redhat.com>
2248
2249         * acinclude.m4:  Cosmetic changes only.
2250         * aclocal.m4:  Regenerated.
2251         * configure:  Regenerated.
2252         * configure.target:  Update documented list of changed variables.
2253         * docs/html/install.html:  Fix typo.
2254         * docs/html/20_util/howto.html:  More notes on auto_ptr.
2255         * docs/html/27_io/howto.html:  More notes on streabufs.
2256         * docs/html/faq/index.html:  Add rel_ops problem and mention the
2257           DEC as(1) .subsection difficulty.
2258         * docs/html/faq/index.txt:  Regenerated.
2259
2260 2001-01-23  Mark Mitchell  <mark@codesourcery.com>
2261
2262         * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2263         (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2264         (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2265         its already provided in config.target.
2266         * aclocal.m4: Regenerated.
2267         * configure: Likewise.
2268         * configure.target: Set ctype_include_dir for lots of systems.
2269         * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2270         * libsupc++/Makefile.in: Regenerated.
2271
2272 2001-01-23  Gabriel Dos Reis  <gdr@codesourcery.com>
2273
2274         * testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
2275         keyword capability.
2276
2277         * testsuite/README: Add comment.
2278
2279 2001-01-21  Phil Edwards  <pme@sources.redhat.com>
2280
2281         * docs/html/configopts.html:  Update for current status.  Fix HTML.
2282         * docs/html/install.html:  Update for current status.
2283
2284 2001-01-20  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2285
2286         * testsuite/libstdc++.tests/tests.exp: New file.
2287         * testsuite/lib/libstdc++.exp: Itou.
2288         * testsuite/README: Itou.
2289
2290 2001-01-20  Gabriel Dos Reis  <gdr@codesourcery.com>
2291
2292         * tests_flags.in: Just output the bare minimum to run tests.
2293         Let's the caller do its own arrangement.
2294
2295         * mkcheck.in: Rename INC_PATH to INCLUDES.  Adjust flags
2296         computations.
2297
2298 2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>
2299
2300         * testsuite/17_intro: Prepare testcases for new style DejaGnu
2301         framework.
2302
2303 2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>
2304
2305         * testsuite/libstdc++.tests, testsuite/lib: New directories.
2306
2307 2001-01-17  Loren J. Rittle  <ljrittle@acm.org>
2308
2309         * mkcheck.in: Construct file names that match $objdir structure.
2310         * testsuite/27_io/filebuf_members-1.txt: New file.
2311         * testsuite/27_io/ifstream_members-1.txt: New file.
2312         * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2313
2314         * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2315         * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2316
2317 2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2318
2319         * testsuite/27_io/istream_sentry.cc (test02): Fix.
2320
2321 2001-01-17  Benjamin Kosnik  <bkoz@redhat.com>
2322
2323         libstdc++/1605
2324         * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2325         * src/ios.cc (ios_base::failure): Make definitions match.
2326         * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2327         (class bad_cast): Same.
2328         * libsupc++/exception (class exception): Add throw specs.
2329         * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2330         (set_unexpected): Same.
2331         (uncaught_exception): Same.
2332         (what): Same.
2333
2334         * docs/html/17_intro/C++STYLE (classname): Fix.
2335
2336 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
2337
2338         * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2339         Use it do explicitly instantiate predicate<T> and value<T> for
2340         all the builtin Ts.
2341
2342 2001-01-16  Nathan Sidwell  <nathan@codesourcery.com>
2343
2344         * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2345         uninitialized thinko in last change.
2346
2347 2001-01-16  Mark Mitchell  <mark@codesourcery.com>
2348
2349         * libsupc++/exception_support.cc (__cp_pop_exception): Change
2350         prototype.
2351
2352 2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
2353
2354         * docs/html/17_intro/C++STYLE (classname): Add more existing
2355         and stylish patterns.
2356
2357         libstdc++/944
2358         * include/bits/istream.tcc (istream::sentry::sentry()): Set
2359         failbit if the state of the stream is not good.
2360         * testsuite/27_io/istream_sentry.cc (test02): Add test.
2361         * testsuite/27_io/istream_manip.cc (test01): Modify.
2362
2363         libstdc++/1019
2364         reported by Paolo Carlini <pcarlini@unitus.it>
2365         * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2366         * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2367
2368         libstdc++/1057
2369         * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2370         * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2371         (xsgetn): Same. Simplify.
2372         * testsuite/27_io/streambuf.cc (test04): Add testcases.
2373
2374         reported by Larry Evans <jcampbell3@prodigy.net>
2375         * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2376         equality with eof on returned value from overflow.
2377
2378 2001-01-14  Andreas Jaeger  <aj@suse.de>
2379
2380         * libio/libio.h: Add test for glibc 2.0.
2381
2382 2001-01-12  Benjamin Kosnik  <bkoz@redhat.com>
2383
2384         * config/os/djgpp/bits/*: Fix dates.
2385
2386         * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2387         _CharT* __end, _CharT __c): Remove.
2388         * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2389         * include/bits/char_traits.h: Tweak.
2390
2391 2001-01-12  Laurynas Biveinis  <lauras@softhome.net>
2392
2393         * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2394         (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2395         bash bug.
2396         * aclocal.m4: regenerated.
2397         * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2398         * configure: regenerated.
2399         * config/os/djgpp, config/os/djgpp/bits: new directories.
2400         * config/os/djgpp/bits/ctype_base.h,
2401         config/os/djgpp/bits/ctype_inline.h,
2402         config/os/djgpp/bits/ctype_noninline.h,
2403         config/os/djgpp/bits/os_defines.h: new files.
2404
2405 2001-01-11   Joseph S. Myers  <jsm28@cam.ac.uk>
2406
2407         * include/c_std/bits/std_cstdio.h: Undef printf.
2408
2409 2001-01-10  Benjamin Kosnik  <bkoz@redhat.com>
2410
2411         * src/ios.cc: Fix typo: change cout->wcout.
2412
2413         * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2414         * src/Makefile.in: Regenerate.
2415
2416 2001-01-10  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2417
2418          * include/bits/std_complex.h: Fix a typo.
2419
2420 2001-01-09  Benjamin Kosnik  <bkoz@redhat.com>
2421                              <kainz@ilm.com>
2422
2423         Fixes for libstdc++/1576
2424         * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2425         file, move contents into....
2426         * src/ios.cc: ...Here. Put defines for iostreams objects and
2427         initialization routines into one file to simplify DSO interaction.
2428         * include/bits/std_iostream.h: Touch.
2429         * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2430         * src/Makefile.am (sources): Remove stdstreams.cc.
2431         * src/Makefile.in: Regenerate.
2432
2433 2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2434
2435         * tests_flags.in (check_directory): Fix typo.
2436
2437 2001-01-09  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
2438
2439          * include/bits/std_complex.h: Fix a typo.
2440
2441 2001-01-09  Loren J. Rittle  <ljrittle@acm.org>
2442
2443         * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2444         code path:) Remove magic constants and restructure to handle
2445         ctype.h bit mask layout changes more gracefully.  (Make fast
2446         code path:) Use __maskrune (), if available.
2447         (is): Remove special case for digit and xdigit masks.
2448
2449 2001-01-09  Robert Lipe <robertlipe@usa.net>
2450
2451         * include/c_std/bits/std_ctime.h: Undefine difftime.
2452
2453 2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
2454
2455         * src/gen-num-limits.cc (signal_adapter): New template function.
2456         (signal_handler): Use it, instead of signal.
2457         (traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
2458         require both tests to trap to set trap_flag.
2459
2460 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2461
2462         * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2463         initialize mbstate_t member, name offset data members *off, not pos.
2464         * include/bits/fstream.tcc (filebuf::filebuf): Same.
2465
2466 2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>
2467
2468         reported by Chris G. Demetriou <cgd@sibyte.com>
2469         * configure.in: Change -linux-* to -linux*.
2470         * configure: Regenerate.
2471
2472 2001-01-05  Benjamin Kosnik  <bkoz@redhat.com>
2473
2474         Fix 27_io/filebuf_members.cc
2475         * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2476         const string& __name, category __cat, size_t __refs): Set
2477         _M_has_name with _M_name.
2478         * include/bits/localefwd.h (locale::operator!=): Protect member
2479         function call with this->.
2480         * src/locale.cc (locale::operator==): Make fast checks first.
2481         * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2482
2483         * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2484         to ios_base::Init.
2485         * src/ios.cc (ios_base::Init::Init): Initialize here.
2486         (ios_base::sync_with_stdio): Set here.
2487
2488 2001-01-04  Loren J. Rittle  <ljrittle@acm.org>
2489
2490         * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2491         systems that support it, call dup() before fdopen().
2492
2493 2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>
2494
2495         * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2496         * testsuite/17_intro/header_cwctype.cc (main): New file.
2497
2498         * src/Makefile.am (base_headers): Change.
2499         * include/bits/std_string.h: And here.
2500         * include/bits/string.tcc: Tweaks, move to...
2501         * include/bits/basic_string.tcc: ...Here.
2502         * src/string-inst.cc: Simplify, just instantiate the whole class,
2503         not member-by-member.
2504
2505 2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>
2506
2507         * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2508         * aclocal.m4: Regenerate.
2509         * configure: Regenerate.
2510
2511         * include/bits/c++config (__GLIBCPP__): Bump version number.
2512
2513         * ChangeLog: Start new log for year 2001
2514         * ChangeLog-2000: New file.
2515
2516         * docs/html/configopts.html: Make sure default values are current,
2517         add commentary.
2518
2519 2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>
2520
2521         * include/c_std/bits/std_cwchar.h: Same.
2522         * testsuite/17_intro/header_cwchar.cc: Same.
2523         * include/c_std/bits/std_ctime.h: Same.
2524         * testsuite/17_intro/header_ctime.cc: Same.
2525         * include/c_std/bits/std_cstdlib.h: Same.
2526         Clean up undefs, make consistent with cwchar and cmath, etc.
2527         * testsuite/17_intro/header_cstdlib.cc: Same.
2528         * include/c_std/bits/std_cstdio.h: Same here.
2529         * testsuite/17_intro/header_cstring.cc: Same.
2530         * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2531         * testsuite/17_intro/header_cstring.cc: New file. Check for
2532         size_t in namespace std.
2533
2534         * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2535         * acconfig.h (HAVE_MBSTATE_T): Add.
2536         * config.h.in: Regenerate.
2537         * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2538         mbstate_t.
2539         * aclocal.m4: Regenerate.
2540         * configure: Regenerate.
2541         * testsuite/17_intro/headers_c++.cc: New file.
2542         * testsuite/17_intro/headers_c.cc: Small changes.
2543
2544 2001-01-01  David Billinghurst <David.Billinghurst@riotinto.com>
2545
2546         * tests_flags.in: Fix typo in usage.
2547
2548         * tests_flags.in: Set target specific LIBS for cygwin.