]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
PR c++/9639
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
b9af005f 12003-12-03 Jan Hubicka <jh@suse.cz>
2
6d4061d0 3 * hashtab.c (htab_expand): Fix warning.
4
b9af005f 5 * hashtab.c (htab_expand): Compute the size of hashtable based
6 on the number of elements actually used.
7 (htab_traverse): Call htab_expand when table is too empty.
8
68f6f1d9 92003-03-11 Carlo Wood <carlo@gnu.org>
10
11 * cplus-dem.c (demangle_integral_value): Correction to reflect
12 patch of 2002-01-10 in order to also make negative multi-digits
13 without leading underscore work.
14
ac5e00d3 152003-03-03 Mark Mitchell <mark@codesourcery.com>
16
17 * cplus-dem.c: Add license exception to copyright notice.
18
df4b17bf 192003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20
21 * physmem.c: Formatting changes from upstream.
22
eafe92ea 232003-02-24 Danny Smith <dannysmith@users.source.forge.net>
24
25 * physmem.c (physmem_total): Add _WIN32 support.
26 (physmem_available): Likewise.
27
5833978f 282003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
29
30 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
31 GSI_PHYSMEM.
32 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
33
4195ec6a 342003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
35
36 * configure.in: Check for sys/systemcfg.h and
37 _system_configuration.
38 * physmem.c: Add support for AIX. Tweek formatting as per
39 upstream coreutils beta.
40
0991d38e 412003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
42 Richard Earnshaw <rearnsha@arm.com>
43 Geoffrey Keating <geoffk@apple.com>
44
45 * configure.in: Check for sys/sysctl.h and sysctl.
46 * physmem.c: Add support for *bsd and darwin.
47 * Makefile.in: Generate depedency for physmem.o.
48
622d92fb 492003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
50
51 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
52 Tru64 UNIX.
53 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
54 Tru64 UNIX.
55
56 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
57 machine/hal_sysinfo.h, sys/table.h.
58 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
59 * configure, config.in: Regenerate.
60
8f3b8386 612003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
62
63 * configure.in: Check for sys/sysmp.h and sysmp.
64 * physmem.c: Pull upstream copy, add support for irix6.
65
66 * config.in, configure: Regenerated.
67
25b160f7 682003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
69
70 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
71 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
72 pstat_getdynamic.
73
5cf67f1b 742003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
75
76 * Makefile.in (CFILES): Add physmem.c.
77 (REQUIRED_OFILES): Add physmem.o.
78 * configure.in: Check for sys/pstat.h.
79 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
80 * physmem.c: New file, copied from textutils.
81
82 * config.in, configure: Regenerated.
83
846a645c 842003-02-20 Daniel Jacobowitz <drow@mvista.com>
85
86 * Makefile.in (CFILES): Add lrealpath.c.
87 (REQUIRED_OFILES): Add lrealpath.o.
88 (lrealpath.o): Add rule.
89 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
90 * configure.in: Add realpath and canonicalize_file_name to
91 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
92 for canonicalize_file_name.
93 * lrealpath.c: New file.
94 * make-relative-prefix.c: Update documentation.
95 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
96 * config.in: Regenerated.
97 * configure: Regenerated.
98 * functions.texi: Regenerated.
99
82561650 1002003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
101
102 * cplus_dem.c: Fix typo: intializes -> initializes.
103
e4e6363f 1042003-02-20 Alexandre Oliva <aoliva@redhat.com>
105
106 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
107 config.status.
108 * configure: Rebuilt.
109
cc720498 1102003-02-13 Daniel Jacobowitz <drow@mvista.com>
111
112 Fix PR c++/7612.
113 * cplus-dem.c (demangle_signature): Call string_delete.
114 Remove extra string_init.
115 (demangle_arm_hp_template): Call string_delete instead of
116 string_clear. Add missing string_delete call.
117 (demangle_qualified): Add missing string_delete call.
118 (do_type): Remove unused variable btype. Add missing string_delete
119 call. Call string_delete instead of string_clear.
120 (demangle_fund_type): Move variable btype inside of the switch
121 statement. Add missing string_delete call.
122 (do_arg): Call string_delete instead of string_clear. Remove extra
123 string_init.
124 (demangle_nested_args): Free work->previous_argument.
125
d94d977c 1262003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
127
128 * acconfig.h: New file. Add uintptr_t.
129 * config.in: Regenerated.
130
5533bc76 1312003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
132
133 * libiberty.texi: Update to GFDL 1.2.
134
7f13318a 1352003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
136
137 * Makefile.in (libiberty_topdir): New subst.
138 (mkinstalldirs): Redefine in terms of the above.
139 * configure.in: AC_SUBST it.
140 * configure: Regenerate.
141
9d2299ec 1422003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
143
144 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
145 (info-subdir, install-info-subdir, clean-info-subdir)
146 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
147 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
148 Pass $(FLAGS_TO_PASS).
149
49f7db63 1502003-01-27 Alexandre Oliva <aoliva@redhat.com>
151
152 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
153 /`$$CC -print-multi-os-directory`.
154
a21acbbb 1552003-01-26 Daniel Jacobowitz <drow@mvista.com>
156
157 * hashtab.c (htab_create_alloc_ex): New function.
158 (hatab_set_functions_ex): New function.
159 (htab_delete, htab_expand): Support alternate allocation functions.
160
8c171144 1612003-01-24 Christopher Faylor <cgf@redhat.com>
162
163 * configure.in: Remove special pex-cygwin consideration.
164 * configure: Regenerate.
165 * pex-cygwin.c: Remove.
166 * Makefile.in: Remove pex-cygwin.[co] lines.
167
8cb0536d 1682003-01-24 Zack Weinberg <zack@codesourcery.com>
169
170 * Makefile.in (CFILES): Add pex-*.c.
171 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
172 (CONFIGURED_OFILES): Add pex-*.o.
173 (TEXIFILES): Add pexecute.txh.
174 (pexecute.o): Delete rule.
175 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
176 pex-unix.o, pex-win32.o): New rules.
177 * configure.in: Change AC_INIT argument to xmalloc.c.
178 Compute appropriate pexecute implementation and substitute it
179 as @pexecute@.
180
181 * pexecute.c: Split up into...
182 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
183 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
184 new files.
185
186 * functions.texi: Regenerate.
187 * configure: Regenerate.
188
aa5761b7 1892003-01-20 Josef Zlomek <zlomekj@suse.cz>
190
191 * hashtab.c (htab_expand): Fix allocation of new entries.
192
71aad3b8 1932003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
194
195 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
196
2e6a336d 197 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
198 mkinstalldirs command.
199
e162e528 2002002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
201
202 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
203 Define for hosts with HOST_EXECUTABLE_SUFFIX.
204
aba68506 2052002-11-24 Nick Clifton <nickc@redhat.com>
206
207 * make-relative-prefix.c (make_relative_prefix): Ensure return
208 string is empty before using strcat to construct it.
209
5feeeb38 2102002-11-22 Daniel Jacobowitz <drow@mvista.com>
211
212 * Makefile.in: Add make-relative-prefix.c.
213 * make-relative-prefix.c: New file.
214 * functions.texi: Rebuilt.
215
d7022963 2162002-11-16 Jakub Jelinek <jakub@redhat.com>
217
218 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
219 used with arguments in traditional C' warnings.
220
dacb9fcc 2212002-10-16 Jakub Jelinek <jakub@redhat.com>
222
223 * config.table: Use mh-s390pic for s390x too.
224
ff02de61 2252002-10-06 Andreas Jaeger <aj@suse.de>
226
227 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
228 variable and of strict-aliasing warning.
229 (grow_vect): Use char as first parameter.
230
5f7912d8 2312002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
232
233 * Makefile.in (all): Fix multilib parallel build.
234
05455547 2352002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
236
237 * cp-demangle.c (demangling_new): Cast 0 to enum.
238 (demangle_char): Cast return of strdup to char *.
239 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
240 (is_gnu_v3_mangled_dtor): Likewise.
241 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
242 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
243 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
244 * md5.c (md5_process_bytes): Cast results back to const void *.
245 (md5_process_block): Add cast to const md5_uint32 *.
246 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
247 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
248 unsigned short.
249 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
250 to void *.
251 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
252
bd5d1805 2532002-09-19 Nick Clifton <nickc@redhat.com>
254
255 * README: Update email addresses for bugs and patches.
256
0fe3478a 2572002-09-10 Mike Stump <mrs@apple.com>
258
259 * splay-tree.c (splay_tree_successor): Fix comments.
260
65e49ff1 2612002-09-11 Zack Weinberg <zack@codesourcery.com>
262
808b5085 263 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
65e49ff1 264 * testsuite/Makefile.in: Adjust for test-demangle.
265 * testsuite/regress-demangle: Deleted.
266 * testsuite/test-demangle.c: New file.
267 * testsuite/demangle-expected: Change \$ to $ throughout, now that
268 this file is not being read by a shell script.
269
5ca95c55 2702002-09-05 Roger Sayle <roger@eyesopen.com>
271
272 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
273
b251a88a 2742002-08-07 DJ Delorie <dj@redhat.com>
275
276 * regex.c (re_error_msgid): Just use a simple array of strings.
277 (re_compile_pattern): Compensate.
278 (re_comp): Likewise.
279 (re_comp): Likewise.
280 (regerror): Likewise.
281
f4e29b4a 2822002-07-29 Neil Booth <neil@daikokuya.co.uk>
283
284 * cplus-dem.c (PREPEND_BLANK): Remove.
ff02de61 285
abcf0552 2862002-07-10 Jason Merrill <jason@redhat.com>
287
288 * cp-demangle.c (demangle_identifier): Support extended Unicode
289 characters.
290
c62ef5b5 2912002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
292
293 * cp-demangle.c (demangle_v3_with_details): Wrap in
ff02de61 294 !defined IN_GLIBCPP_V3.
c62ef5b5 295
74c75ba5 2962002-07-01 Mark Mitchell <mark@codesourcery.com>
297
298 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
299 Set it for the "st" operator.
300 (demangle_expression): Handle expressions with types as arguments.
301
b2835908 3022002-06-30 Douglas Rupp <rupp@gnat.com>
303
304 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
305 * Makefile.in (OUTPUT_OPTION): Use.
306
c75cb827 3072002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
308
309 * Makefile.in (install_to_libdir): Add $(DESTDIR).
310 (install_to_tooldir): Likewise.
311
55fc5d04 3122002-06-17 Douglas Rupp <rupp@gnat.com>
313
314 * lbasename.c: Add 2002 to copyright.
315 (IS_DIR_SEPARATOR): Remove VMS junk.
316
8d24e548 3172002-06-05 Geoffrey Keating <geoffk@redhat.com>
318
319 * hashtab.c (htab_create): New stub function for backward
320 compatibility.
321 (htab_try_create): Likewise.
322
1f3233d1 3232002-06-03 Geoffrey Keating <geoffk@redhat.com>
324
325 * hashtab.c (htab_create): Delete.
326 (htab_try_create): Delete.
327 (htab_create_alloc): New.
328 (htab_delete): Support user-specified memory allocation.
329 (htab_expand): Likewise.
330
daa2cd64 3312002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
332
333 * configure.in: Fix typo in the code checking for sys_errlist.
334 * configure: Regenerated.
335
70102259 3362002-05-13 Andreas Schwab <schwab@suse.de>
337
338 * config.table: Use mh-x86pic also for x86-64.
339
0b045cf7 3402002-05-08 Alexandre Oliva <aoliva@redhat.com>
341
342 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
343 script entry, and set LD to it when configuring multilibs.
344 * configure: Rebuilt.
345
63e428d5 3462002-05-07 Mark Mitchell <mark@codesourcery.com>
347
348 * configure.in (AC_TYPE_PID_T): Use it.
349 * configure: Regenerated.
350 * getruntime.c: Include <sys/types.h>.
351 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
352
8c8eb750 3532002-04-09 Richard Henderson <rth@redhat.com>
354
355 * hashtab.c (higher_prime_number): Use 7 as minimum.
356 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
357 (htab_find_slot_with_hash): Likewise.
358
5acfe29d 3592002-04-01 Phil Edwards <pme@gcc.gnu.org>
360
361 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
362 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
363 not compile if IN_GLIBCPP_V3 defined.
364 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
365
87591c4a 3662002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
367
ff02de61 368 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
87591c4a 369 if it is NULL.
370
b8327a91 3712002-03-27 DJ Delorie <dj@redhat.com>
372
373 * hex.c: Add documentation.
374 (_hex_value): Provide non-ASCII empty table.
375 (hex_init): Initialize the non-ASCII table.
376 * functions.texi: Regenerate.
377
baf716a5 3782002-03-27 Mark Mitchell <mark@codesourcery.com>
379
380 * dyn-string.c: Add libgcc exception to copyright notice.
381
60d10194 3822002-03-26 H.J. Lu (hjl@gnu.org)
383
384 * config.table: Support --with-build-subdir.
385 * configure.in: Likewise.
386 * configure: Rebuild.
387
8b7d2865 3882002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
389
390 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
391 seen.
392
8916275c 3932002-03-12 Mark Mitchell <mark@codesourcery.com>
394
395 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
396 notice.
397
241f7b9c 3982002-03-11 Douglas B Rupp <rupp@gnat.com>
399
400 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
401
bc95356d 4022002-03-06 Jim Blandy <jimb@redhat.com>
403
404 * splay-tree.c (splay_tree_xmalloc_allocate,
405 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
406 prototyped definitions. Mark `data' arguments as unused.
407
5a3c5094 4082002-03-06 Andrew Cagney <ac131313@redhat.com>
409
410 * floatformat.c (floatformat_arm_ext_big): Delete definition.
411
9123512a 4122002-03-04 Phil Edwards <pme@gcc.gnu.org>
413
414 * configure.in: Add --enable-install-libiberty option.
415 * Makefile.in (INSTALLED_HEADERS): New variable.
416 (install_to_libdir): Possibly also copy headers.
417 * configure: Regenerated.
418
5e571023 4192002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
420
421 * xmalloc.c (xmalloc_fail): Clarify error message further.
422
323c06f5 4232002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
424
425 * xmalloc.c (xmalloc_fail): Clarify error message.
426
a3af3ae8 4272002-02-22 Jim Blandy <jimb@redhat.com>
428
429 * splay-tree.c (splay_tree_xmalloc_allocate,
430 splay_tree_xmalloc_deallocate): New functions.
431 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
432 above functions and a dummy data pointer.
433 (splay_tree_new_with_allocator): New function.
434 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
435 splay_tree_remove): Use the splay tree's allocation and
436 deallocation functions.
437
080f842c 4382002-02-19 Scott Snyder <snyder@fnal.gov>
439
440 * testsuite/demangle-expected: Add test case for infinite loop in
441 demangler.
442 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
443 if do_type() doesn't make any progress --- prevents an infinite
444 loop.
445
a9e05c62 4462002-02-18 Carlo Wood <carlo@gnu.org>
447
448 PR c++/5390
449 * cplus-dem.c (demangle_integral_value): Accept multi-digit
450 numbers that do not start with an underscore; This is needed
451 for integer template parameters. This doesn't break anything
452 because multi-digit numbers are never followed by a digit.
453 * testsuite/demangle-expected: Corrected all mangled test
454 cases with multi-digit template parameters: g++ 2.95.x does
455 not generate underscores around these parameters.
456
c6d86b63 4572002-02-05 Jason Merrill <jason@redhat.com>
458
459 * cplus-dem.c (flags): Add DMGL_VERBOSE
460 (cplus_demangle_v3_p): Remove.
461 (demangle_it): Add DMGL_TYPES to passed flags.
462 * cp-demangle.c (cplus_demangle_v3_all): Remove.
463 (cplus_demangle_v3_type): Remove.
464 (cplus_demangle_v3): Add options parm.
465
9bd54051 4662002-02-02 H.J. Lu (hjl@gnu.org)
467
468 * cp-demangle.c (cp_demangle_type): Do not protect with
469 IN_LIBGCC2.
470 (cplus_demangle_v3_all): New.
471 (cplus_demangle_v3): Call cplus_demangle_v3_all.
472 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
473
474 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
475 Initialized to cplus_demangle_v3.
476 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
477 of cplus_demangle_v3.
478 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
479 command line symbol.
480
481 * testsuite/regress-demangle: Pass the mangled name at the
482 command line.
483
db248273 4842002-02-01 H.J. Lu <hjl@gnu.org>
485
486 * cp-demangle.c (cp_demangle_type): Call demangling_new with
487 DMGL_GNU_V3.
488
89a5385c 4892002-01-31 Phil Edwards <pme@gcc.gnu.org>
490
491 * cp-demangle.c: Revert yesterday's change.
492
da383dd4 4932002-01-31 Adam Megacz <adam@xwt.org>
494
495 * gcc/libiberty/configure.in: Treat mingw the same as cywin
496 wrt HAVE_SYS_ERRLIST.
497
1e72f309 4982002-01-30 Phil Edwards <pme@gcc.gnu.org>
499
500 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
501 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
502 cp_demangle_type.
503 * testsuite/demangle-expected: New gnu-v3 test.
504
2c79f170 5052002-01-22 Momchil Velikov <velco@fadata.bg>
506
507 * configure.in (variable detection): Use arrays of unspecified
508 size instead of plain integers.
509
98b6fc70 5102002-01-18 DJ Delorie <dj@redhat.com>
511
512 * Makefile.in (TESTLIB): New. This library is for future
513 testsuites.
514 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
515 break down by letter.
516 (REQUIRED_OFILES): List long-to-compile files first.
517 (maint-deps): New, target for updating dependencies.
518 (dependencies): Update.
519 * maint-tool: Add dependency-generating option.
520 * configure.in: Check for _doprnt even if we're not providing it.
521 * configure: Regenerate.
522
523 * _doprnt.c: Modifications to allow compiling on any platform.
524 * copysign.c: Likewise.
525 * putenv.c: Likewise.
526 * setenv.c: Likewise.
527 * vsprintf.c: Likewise.
528
b4eac72f 5292002-01-15 Douglas B Rupp <rupp@gnat.com>
530
531 * mkstemps.c (mkstemps): On VMS, open temp file with option
532 that causes it to be deleted when closed.
533
7806d7a4 5342002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
535
c077395f 536 * cp-demangle.c (long_options): Const-ify.
537 * cplus-dem.c (long_options): Likewise.
538
7806d7a4 539 * cplus-dem.c (mystrstr): Delete. All callers changed to use
540 strstr instead.
541
936c37fd 5422001-12-31 Ira Ruben <ira@apple.com>
543
544 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
545 * configure: Regenerated.
e9894157 546
5472001-12-24 Douglas B. Rupp <rupp@gnat.com>
548
549 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
550 * configure: Regenerated.
936c37fd 551
4e3ed534 5522001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
553
554 PR other/2719
555 * cplus-dem.c (consume_count): Treat negative count as an error.
556 * testsuite/demangle-expected: Added testcase.
557
8f966bdb 558Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
559
560 * configure.in: Hardcode that vfork works on VMS host.
561 * configure: Regenerated.
562
8d87ccec 5632001-12-06 Richard Henderson <rth@redhat.com>
564
565 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
566 (cplus_demangle): Support no_demangling.
567
31972771 5682001-11-27 Zack Weinberg <zack@codesourcery.com>
569
570 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
571 in libiberty context. Fix typo in leading comment.
572 * configure.in: Fix various AC_DEFINEs so autoheader works.
573 If any of vprintf, vsprintf, vfprintf is missing from libc,
574 then AC_REPLACE_FUNCS(_doprnt).
575
8e198eb2 5762001-11-26 DJ Delorie <dj@redhat.com>
31972771 577 Daniel Jacobowitz <drow@mvista.com>
8e198eb2 578
579 * Makefile.in (stamp-h): Depend on Makefile for proper
580 serialization.
581 (*-subdir): Depend on config.h for proper serialization.
582
c660fab8 5832001-11-26 DJ Delorie <dj@redhat.com>
584
585 * configure.in: Check for alloca.h (for regex.c and putenv.c).
586 * configure: Regenerate.
587 * config.h: Add HAVE_ALLOCA_H.
588
43eb13f7 5892001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
590
81cea2ab 591 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
592 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
593 is available.
43eb13f7 594
e9fb7b39 595Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
596
7b190504 597 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
598 * configure.in (HAVE_UINTPTR_T): Test for system defining
599 uintptr_t and define HAVE_UINTPTR_T appropriately.
600 * regex.c (uintptr_t): Do not provide a definition if the
601 system provided one.
602
e9fb7b39 603 * regex.c (PREFIX): Provide an alternate definition for
604 non-ANSI/ISO compilers.
605 (ARG_PREFIX): Likewise.
606
448378fc 6072001-11-12 Jim Meyering <meyering@lucent.com>
608
609 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
610 this code would end up calling gettext even in packages built
611 with --disable-nls.
612 * getopt.c (_): Likewise.
613 * regex.c (_): Likewise.
614
7c9e70dd 6152001-11-03 Alan Modra <amodra@bigpond.net.au>
616
617 * configure.in: Cope with missing makeinfo.
ebfeb892 618 * configure: Regenerate.
7c9e70dd 619
a3493641 6202001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
621
e500d428 622 * hex.c (hex_init): Provide empty stub.
623
a3493641 624 * hex.c (hex_init): Delete.
625 (_hex_value): Const-ify and initialize at compile-time.
626
3de15244 6272001-10-19 H.J. Lu <hjl@gnu.org>
628
629 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
630 necessary.
631
f0ed5ac1 6322001-10-17 DJ Delorie <dj@redhat.com>
633
634 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
635 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
0af1044a 636 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
f0ed5ac1 637 Improve manual formatting.
638 * functions.texi: Regenerate.
639
349e8276 6402001-10-15 DJ Delorie <dj@redhat.com>
641
642 * Makefile.in (TEXIFILES): Add fnmatch.txh.
643 (maint-undoc): New.
644 maint-tool: Add "undoc" tool.
645 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
646 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
647 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
648 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
649 documentation.
650 * fnmatch.txh: New.
651 * functions.texi: Regenerate.
8cc9ccc9 652
8a630ee4 6532001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
654
655 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
656 * strtod.c: Use "ISO C" instead of "ANSI C".
657 * functions.texi: Regenerate.
658
a3a8a3df 6592001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
660
661 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
662 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
663 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
664 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
665 spelling. Give names to function arguments in documentation. Use
666 (void) prototypes in documentation.
667 * functions.texi: Regenerate.
668
542e9271 6692001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
670
671 * argv.c (buildargv, tests, main): Const-ify.
672 * cp-demangle.c (operator_code): Likewise.
673 * cplus-dem.c (optable, libiberty_demanglers,
674 cplus_demangle_set_style, cplus_demangle_name_to_style,
675 print_demangler_list): Likewise.
676 * hashtab.c (higher_prime_number): Likewise.
677 * strcasecmp.c (charmap): Likewise.
678 * strerror.c (error_info, strerror, main): Likewise.
679 * strncasecmp.c (charmap): Likewise.
680 * strsignal.c (signal_info): Likewise.
681
5b7836cc 6822001-09-29 DJ Delorie <dj@redhat.com>
683
684 * configure: Regenerate.
685
e7faea46 6862001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
687
688 * concat.c: Include stdlib.h.
689
997fdf4a 6902001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
691
692 * libiberty.texi: (Top level): Add syncodeindex pg. Add
693 @dircategory and @direntry directives. Add @finalout.
694 (many nodes): Lose the next,prev,up pointers on the @nide line.
695 (Using, Supplemental Functions, Replacement Functions): Fix
696 markup.
697 (Functions): Move around, to allow makeinfo to build the manual
698 without next,prev,up pointers in thye node lines.
699 (Licenses): Fix typos.
700
701 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
702 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
703 * functions.texi: Regenerate.
704
705 * copying-lib.texi: Lose the next,prev,up pointers on the @node
706 line.
707
eb765d0c 7082001-09-27 DJ Delorie <dj@redhat.com>
709
710 * configure.in: Don't use in-tree texinfo, because libiberty must
711 be built before it. Check for makeinfo version 4 or higher.
712 * functions.texi: Regenerate.
8cc9ccc9 713
614a23c6 7142001-09-20 DJ Delorie <dj@redhat.com>
715 Phil Edwards <pedwards@disaster.jaj.com>
8cc9ccc9 716
614a23c6 717 * configure.in (MAKEINFO, PERL): Detect these.
718 (--enable-maintainer-mode): Add.
719 * configure: Regenerate.
720 * Makefile.in (MAKEINFO, PERL): Define.
721 (libiberty.info, libiberty.dvi, libiberty.html): New.
722 (CFILES): Add bsearch.c.
723 (CONFIGURED_OFILES): New, list of objects configure might add.
724 (maint-missing, maint-buildall): New, for maintainers only.
725 (clean, mostlyclean): Add info/dvi/html files.
726 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
727 * gather-docs: New, for maintainers.
728 * maint-tool: New, for maintainers.
729 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
730 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
731 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
732 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
733 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
734 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
735 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
736 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
737 documentation.
8cc9ccc9 738
92f03c00 7392001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
740
741 * concat.c (reconcat): Fix for traditional C.
742
0be2ebc7 7432001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
744
745 * concat.c (reconcat): New function.
746
add62f6a 7472001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
748
9659201a 749 * concat.c (vconcat_length, vconcat_copy, concat_length,
750 concat_copy, concat_copy2): New functions.
751 (concat): Use vconcat_length/vconcat_copy.
752
add62f6a 753 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
754 Define.
755
2bfbbd2b 7562001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
757
758 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
759 VA_FIXEDARG & VA_CLOSE.
8cc9ccc9 760
2bfbbd2b 761 * vasprintf.c: Check HAVE_STRING_H when including string.h.
762 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
763 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
764
68036f05 7652001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
766
767 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
768
958cb671 7692001-08-23 Ulrich Drepper <drepper@redhat.com>
770
771 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
772
7732001-08-23 Ulrich Drepper <drepper@redhat.com>
774
775 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
776 instead of mbrtowc.
777 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
778 wcslen, and __wcscoll instead of wcscoll.
779
b266b68b 7802001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
781
ff02de61 782 * fibheap.c (fibheap_init, fibnode_init): Remove.
783 (fibheap_new, fibnode_new): Use xcalloc to allocate and
784 initialize memory.
785 (fibheap_insert): Remove check for node allocation failure.
b266b68b 786
c6028964 7872001-08-21 Richard Henderson <rth@redhat.com>
788
789 * Makefile.in (fibheap.o): Depend on config.h.
790 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
791 functions for inlining.
792
3652f680 793Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
794
795 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
796 hosting on cygwin.
797 * configure: Regenerate.
798
95f0a124 7992001-08-20 Andrew Cagney <ac131313@redhat.com>
800
801 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
802 HARRIS_FLOAT_FORMAT.
803 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
804 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
805 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
806 (floatformat_m88110_harris_ext): New float formats.
807
522a00cd 8082001-08-20 Daniel Berlin <dan@cgsoftware.com>
809
810 * fibheap.c: New file. Fibonacci heap.
811
812 * Makefile.in (CFILES): Add fibheap.c.
813 (REQUIRED_OFILES): Add fibheap.o.
814 (fibheap.o): Add dependencies for fibheap.o.
815
6a51e4c4 8162001-08-17 Christopher Faylor <cgf@cygnus.com>
817
818 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
819 * configure: Regenerate.
820
80f07f6c 8212001-08-16 Richard Henderson <rth@redhat.com>
822
823 * hashtab.c (htab_hash_string): New.
824
e9106811 8252001-08-13 Andrew Cagney <ac131313@redhat.com>
826
827 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
828 name.
829
458e9fd0 8302001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
831
832 * regex.c (wcs_regex_compile): Use appropriate string
833 to compare with collating element.
834 Fix the padding for the alignment.
835
da8a7320 8362001-08-10 Andrew Cagney <ac131313@redhat.com>
2bce2a69 837
838 * lbasename.c (lbasename): Change function definition to return a
839 const char pointer.
840
6539a5d8 8412001-08-07 Jason Merrill <jason_merrill@redhat.com>
842
843 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
844 for".
845
2644ae20 8462001-08-03 Richard Henderson <rth@redhat.com>
847
848 * Makefile.in (concat.o): Depend on config.h.
849
6c9ffcbc 8502001-07-30 Andreas Jaeger <aj@suse.de>
851
852 * concat.c: Include "config.h".
853
9f21bac8 8542001-07-30 Andreas Jaeger <aj@suse.de>
855
856 * regex.c: Declare wcs functions only if compiling with
857 MBS_SUPPORT.
858 Don't use #elif for traditional C.
859
8602001-07-23 Ulrich Drepper <drepper@redhat.com>
861
862 * regex.c: Revamp memory allocation for WCHAR functions to
863 not use too much stack.
864
8652001-07-30 Andreas Jaeger <aj@suse.de>
866
867 * regex.c: Declare wcs functions only if compiling with
868 MBS_SUPPORT.
869 Don't use #elif for traditional C.
870
2bbbdf1a 8712001-07-25 Daniel Jacobowitz <drow@mvista.com>
872
873 * Makefile.in (regex.o): Add dependency on config.h.
874
b92e80db 8752001-07-18 Andreas Schwab <schwab@suse.de>
876
877 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
878 underscore character.
879
8802001-07-18 Ulrich Drepper <drepper@redhat.com>
881
882 * regex.c: Limit string length printed in debug messages to 100
883 chars.
884
8852001-07-18 Andreas Jaeger <aj@suse.de>
886
887 * regex.c: Place under LGPL version 2.1.
888
7703a7de 8892001-07-10 Jeff Johnston <jjohnstn@redhat.com>
890
891 * Makefile.in: Add support for regex code.
892 * regex.c: New file.
893
8568af22 8942001-07-05 Mark Klein <mklein@dis.com>
895
896 * Makefile.in: Add ffs.c dependency.
897 * configure.in: Add ffs.c.
898 * ffs.c: New file.
899
c1a60b7d 9002001-06-18 Richard Henderson <rth@redhat.com>
901
902 * concat.c: Include <sys/types.h>.
903
66806be2 9042001-06-11 Loren J. Rittle <ljrittle@acm.org>
905
2778f1dc 906 bootstrap/3106
66806be2 907 * strerror.c (sys_nerr): Hide the OS header version.
908 * strsignal.c (sys_nsig): Likewise.
909
222ce6b9 9102001-06-10 Richard Henderson <rth@redhat.com>
911
912 * concat.c: Include string.h. Fix int vs size_t usage.
913 Simplify the iteration loops. Use memcpy.
914
cb6758b9 9152001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
916
917 * partition.c: Fix misspelling of `implementation'.
918
091eef96 9192001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
920
921 * md5.c (md5_init_ctx): Declare constants as unsigned.
922 (md5_process_block): Likewise.
923
e5f55ef4 9242001-05-07 Zack Weinberg <zackw@stanford.edu>
925
926 * cp-demangle.c (demangle_v3_with_details,
927 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
928 function definition.
929 * ternary.c: Use K+R style function definitions. Use PTR, not
930 void *. Make arguments constant where possible.
931
c99b4ef9 9322001-05-07 Mark Mitchell <mark@codesourcery.com>
933
934 * splay-tree.h (splay_tree_max): New function.
935 (splay_tree_min): Likewise.
936
eec19420 9372001-04-15 Daniel Berlin <dan@cgsoftware.com>
938
939 * ternary.c: New file - Ternary search tree implementation.
940
941 * Makefile.in: Add ternary.o, and ternary.c dependencies.
942
673b6e5a 9432001-04-03 Zack Weinberg <zackw@stanford.edu>
944
945 * make-temp-file.c (try): Inline.
946
b8f02fb2 9472001-02-28 Richard Henderson <rth@redhat.com>
948
949 * Makefile.in (make-temp-file.o): Depend on config.h.
950
b130ede9 9512001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
952
953 * memchr.c (memchr): Adjust condition to avoid infinite loop.
954
5a4fcef0 9552001-03-23 Jakub Jelinek <jakub@redhat.com>
956
957 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
958 `_' not followed by a digit is invalid.
959
c83c8218 9602001-03-22 Jim Blandy <jimb@redhat.com>
961
962 * cp-demangle.c (string_list_delete): Use dyn_string_delete
963 instead of free, to free the contents as well as the string
964 structure.
965
7e660a1b 9662001-03-21 Zack Weinberg <zackw@stanford.edu>
967
968 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
969 Don't default P_tmpdir to anything. Try /var/tmp before
970 /usr/tmp.
971
e6351181 9722001-03-20 Zack Weinberg <zackw@stanford.edu>
973
974 * choose-temp.c: Split off make_temp_file, and the code
975 duplicated between it and choose_temp_base, into...
976 * make-temp-file.c: ... here; new file.
977
978 * Makefile.in (CFILES): Add make-temp-file.c.
979 (REQUIRED_OFILES): Add make-temp-file.o.
980
3a18c9fc 9812001-03-20 Jim Blandy <jimb@redhat.com>
982
983 * cp-demangle.c (struct demangling_def): New fields:
984 is_constructor and is_destructor.
985 (demangling_new): Initialize them.
986 (demangle_ctor_dtor_name): Set them, if we detect a constructor
987 or destructor.
988 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
989 is_gnu_v3_mangled_dtor): New functions.
990
d219f684 9912001-03-20 Jason Merrill <jason@redhat.com>
992
993 * cplus-dem.c (main): Skip initial $.
994
dfc58e62 9952001-03-15 Michael Meissner <meissner@redhat.com>
996
997 * hashtab.c (higher_prime_number): Silence warning that 4294967291
998 might be a signed integer under pre-ISO C systems.
999
0bce9b89 10002001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1001 John David Anglin <dave@hiauly1.hia.nrc.ca>
1002
1003 * libiberty/lbasename.c: New file.
1004 * libiberty/Makefile.in: Update for lbasename.
1005
012f1707 10062001-03-06 Zack Weinberg <zackw@stanford.edu>
1007
1008 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1009 * configure.in: Replace all alloca logic with a simple use of
1010 the above new macro.
1011 * config.table: Kill *-*-beos* entry.
1012 * config/mh-beos: Delete.
1013 * configure, config.in: Regenerate.
1014
1015 * Makefile.in (ALLOCA, HFILES): Kill.
1016 (REQUIRED_OFILES): Add alloca.o.
1017 (alloca.o): Depend on libiberty.h.
1018 (argv.o): Don't depend on alloca-conf.h.
1019 * alloca-conf.h: Delete.
1020 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1021 blocks. Provide the C alloca unconditionally. Use PTR where
1022 appropriate. Make i00afunc static.
1023 * argv.c: Don't include alloca-conf.h.
1024
163369e7 10252001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1026
1027 * cplus-dem.c (main): Cast enum style to int.
1028
39fb1bb6 10292001-02-16 Loren J. Rittle <ljrittle@acm.org>
1030
1031 * cplus-dem.c (main): Initialize style.
1032
bace101a 10332001-02-02 Phil Edwards <pme@sources.redhat.com>
1034
1035 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1036
1c1033dd 10372001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1038
1039 Add support for Java demangling under the v3 ABI:
1040 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1041 (struct demangling_def): Add `style' field.
1042 (demangling_new): New parameter `style'. Set it in demangling_t.
1043 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1044 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1045 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1046 (main): Call cp_demangle with extra parameter.
1047 (java_demangle_v3): New function.
1048 (java_builtin_type_names): New. Table of primitive type names used
1049 for Java demangling.
1050 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1051 Java output.
012f1707 1052 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1c1033dd 1053 demangling.
1054 (long_options): Remove obsolete `java' option.
1055 (main): Remove explicit handling of `java' option. Instead, pass style
1056 parameter in cplus_demangle flags as gdb does.
1057 * testsuite/demangle.expected: Add some Java test cases.
1058
fec9182b 10592000-12-29 DJ Delorie <dj@redhat.com>
1060
1061 * fnmatch.c: Make the note about the origins of this file more
1062 accurate, at least until we can sync with glibc.
1063 * getopt.c: Ditto.
1064 * getopt1.c: Ditto.
1065 * md5.c: Ditto.
1066 * obstack.c: Ditto.
1067
5b9c32cc 10682000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1069
1070 * bsearch.c: New file.
1071 * configure.in (funcs): Add bsearch.
1072 (AC_CHECK_FUNCS): Likewise.
1073 * configure, config.in: Regenerate.
1074
a973e2b1 10752000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1076
1077 * safe-ctype.c: #include "ansidecl.h".
1078 * strtod.c: Likewise.
1079
14282c1a 10802000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1081
1082 * strtoul.c: Include safe-ctype.h, not ctype.h.
1083
93ce8ce4 10842000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1085
1086 * safe-ctype.c: New file.
1087 * Makefile.in (CFILES): Add safe-ctype.c.
1088 (REQUIRED_OFILES): Add safe-ctype.o.
1089
1090 * argv.c: Define ISBLANK and use it, not isspace.
1091 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1092 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1093 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1094 before calling TOLOWER(c)/TOUPPER(c).
1095
be6afa8f 10962000-12-07 Mike Stump <mrs@wrs.com>
e5fb0a98 1097
1098 * Makefile.in (distclean): When cleaning, remove testsuite.
1099
cf0ad6a8 11002000-12-05 Jason Merrill <jason@redhat.com>
1101
1102 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1103 name before allocating the dyn_string.
1104
bb505139 11052000-12-04 Jason Merrill <jason@redhat.com>
1106
1107 * cp-demangle.c: s/new_abi/v3/.
1108 * cplus-dem.c: Likewise.
1109 (current_demangling_style): Now auto_demangling.
1110 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
93ce8ce4 1111 (main): Use standard symbol chars for auto_demangling.
bb505139 1112
54b3a5af 11132000-11-26 Mark Mitchell <mark@codesourcery.com>
1114
1115 * hashtab.c (higher_prime_number): Use a table, rather than a
1116 seive, to find the next prime.
1117
9628d706 11182000-11-22 H.J. Lu <hjl@gnu.org>
1119
1120 * cplus-dem.c (main): Handle gnat_demangling.
1121
ec255163 11222000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
1123
1124 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1125 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1126 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1127 argument form of AC_DEFINE in dummy definitions block. Use
1128 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1129 in dummy block. Preload cache variables instead of bypassing
1130 tests, where possible.
1131 * acconfig.h: Removed.
1132
1133 * xmalloc.c (xmalloc_failed): New function, does error
1134 reporting on failed allocation.
1135 (xmalloc, xcalloc, xrealloc): Use it.
1136
626946fb 11372000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1138
1139 * cplus-dem.c (cplus_demangle): Fix formatting.
1140 (grow_vect): Ditto.
1141 (ada_demangle): Ditto.
1142 (internal_cplus_demangle): Ditto.
1143 (mop_up): Ditto.
1144
11452000-11-21 H.J. Lu <hjl@gnu.org>
1146
1147 * cplus-dem.c (main): Handle java_demangling.
1148
918a89ef 11492000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1150
1151 * cplus-dem.c (grow_vect): Prototype.
1152 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1153
582f72ad 11542000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1155
1156 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1157 parameter `option'.
1158
0d6e3c59 11592000-11-15 Kenneth Block <kenneth.block@compaq.com>
1160
42ded3a1 1161 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0d6e3c59 1162 be used in GCC.
1163
9df8b754 11642000-11-15 Kenneth Block <kenneth.block@compaq.com>
d7c1c148 1165
582f72ad 1166 * cplus-dem.c: Add gnat demangler. Add java to demangle style
d7c1c148 1167 list.
1168
e4c2dc6e 11692000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1170
1171 * hashtab.c (htab_expand): Change to return int. Use calloc or
9f21bac8 1172 xcalloc depending on htab->return_allocation_failure. Return zero
1173 if calloc fails.
e4c2dc6e 1174 (htab_create): Update comment to cover memory allocation.
1175 (htab_try_create): New.
1176 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
9f21bac8 1177 Update comment to cover this.
e4c2dc6e 1178
696d6593 11792000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1180
1181 * hashtab.c: Change void * to PTR where necessary.
1182 (htab_create, htab_expand): Correct formatting of comment before
1183 function.
1184
8f2b45d4 11852000-10-22 Alex Samuel <samuel@codesourcery.com>
f99edf23 1186
1187 * cp-demangle.c (string_list_def): Add caret_position and comments.
1188 (result_caret_pos): New macro.
1189 (result_append_string): Rename to...
1190 (result_add_string): ... this, and insert at caret position.
ec255163 1191 Rename throughout.
f99edf23 1192 (result_append): Rename to...
1193 (result_add): ... this, and insert at caret position. Rename
ec255163 1194 throughout.
f99edf23 1195 (result_append_char): Rename to...
1196 (result_add_char): ... this, and insert at caret position. Rename
ec255163 1197 throughout.
f99edf23 1198 (result_append_space): Remove.
1199 (string_list_new): Initialize caret position.
1200 (result_add_separated_char): Use caret position.
1201 (result_get_caret): New funtion.
1202 (result_set_caret): Likewise.
1203 (result_shift_caret): Likewise.
1204 (result_previous_char_is_space): Likewise.
1205 (substitution_start): Use caret position.
1206 (substitution_add): Likewise.
1207 (demangling_new): Initialize caret position.
1208 (demangle_encoding): Use caret position.
ec255163 1209 (demanglin_nested_name): Put CV qualifiers after name.
f99edf23 1210 (demangle_type_ptr): Use switch statement. Handle pointers to
1211 arrays. Don't use result_append_space. Use caret position.
1212 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ec255163 1213 call to demangle_array_type.
1214 (demangle_array_type): Add parameter to handle pointers to arrays.
1215
a4e59c31 12162000-10-01 Mark Mitchell <mark@codesourcery.com>
1217
1218 * splay-tree.c (splay_tree_insert): Fix formatting.
1219
e41f0d80 12202000-09-16 Mark Mitchell <mark@codesourcery.com>
1221
1222 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
1223
83d86ada 12242000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1225
1226 * splay-tree.c: #include <stdio.h>.
1227
78631810 12282000-09-14 Hans-Peter Nilsson <hp@axis.com>
1229
1230 * testsuite/demangle-expected: Add two tests for anonymous
1231 namespaces.
1232 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1233
508f18c8 12342000-09-10 Mark Mitchell <mark@codesourcery.com>
1235
1236 * splay-tree.c (splay_tree_predecessor): New function.
1237 (splay_tree_successor): Likewise.
1238
1a2d2193 12392000-09-10 Hans-Peter Nilsson <hp@axis.com>
1240
1241 * testsuite/demangle-expected: Add four tests for type_info
1242 mangling.
1a2d2193 1243 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1244 for a non-template non-qualified type_info function or node.
1245
09656987 12462000-09-08 Alex Samuel <samuel@codesourcery.com>
1247
1248 * cp-demangle.c: Fix copyright banner.
1249
7cc2d24b 12502000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1251
1252 * md5.c: #include "ansidecl.h".
1253
b83e8722 12542000-09-06 Alex Samuel <samuel@codesourcery.com>
1255
1256 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1257 (demangle_type): Handle substitution candidates correctly in the
1258 face of special substitutions.
1259
cf70278e 12602000-09-05 Alex Samuel <samuel@codesourcery.com>
1261
1262 * cp-demangle.c (demangle_encoding): Rename variable.
1263 (demangle_name): Rename parameter. Handle return type
1264 suppression.
1265 (demangle_nested_name): Rename parameter.
1266 (demangle_prefix): Likewise. Change return type suppression.
1267 (demangle_unqualified_name): Add parameter. Flag constructors and
1268 conversion operators.
1269 (demangle_special_name): Fix comment.
1270 (demangle_type): Rename variable.
1271 (demangle_bare_function_type): Check for missing return type and
ec255163 1272 parameter.
cf70278e 1273 (demangle_class_enum_type): Rename parameter.
1274 (demangle_discriminator): Fix misspelling in comment.
1275
4aabc076 12762000-08-31 DJ Delorie <dj@redhat.com>
1277
1278 * configure.in (Cygwin): special case cygwin only when we're
1279 building cygwin, not when we're hosting cygwin.
1280
804ddfd1 12812000-09-04 Alex Samuel <samuel@codesourcery.com>
1282
1283 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
ec255163 1284 <expression>.
1285
e015a852 12862000-09-04 Alex Samuel <samuel@codesourcery.com>
1287
1288 * cp-demangle.c (demangle_type_ptr): Increment position past
1289 pointer and reference characters.
1290
2b6805b4 12912000-09-04 Alex Samuel <samuel@codesourcery.com>
1292
1293 * cp-demangle.c (demangle_nv_offset): New function.
1294 (demangle_v_offset): Likewise.
1295 (demangle_call_offset): Likewise.
1296 (demangle_special_name): Update thunk demangling to comply with
1297 ABI changes.
ec255163 1298
40e00cb0 12992000-09-03 Alex Samuel <samuel@codesourcery.com>
1300
1301 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1302 (substitution_def): Remove template_parm_number.
1303 (NOT_TEMPLATE_PARM): Remove.
1304 (result_insert_string): New macro.
1305 (result_insert): Likewise.
1306 (result_insert_char): Likewise.
1307 (substitution_add): Remove last parameter. Don't store template
ec255163 1308 parm number.
40e00cb0 1309 (BFT_NO_RETURN_TYPE): Define as NULL.
1310 (demangle_encoding): Adjust call to demangle_bare_function_type.
1311 (demangle_name): Adjust substitution. Adjust call to
ec255163 1312 substitution_add.
40e00cb0 1313 (demangle_prefix): Adjust call to substitution_add.
1314 (demangle_identifier): Handle anonymous namespaces.
1315 (demangle_operator_name): Change demangling of vendor-extended
1316 operator to match ABI changes.
1317 (demangle_type_ptr): Change parameters. Make recursive. Handle
ec255163 1318 substitutions here.
40e00cb0 1319 (demangle_type): Adjust calls to demangle_template_param,
1320 substitution_add, and demangle_type_ptr. Fix substitution of
1321 templated types.
1322 (demangle_function_type): Change parameter to a pointer.
1323 (demangle_bare_function_type): Likewise. Adjust insertion point.
1324 (demangle_template_param): Remove last parameter.
1325 (demangle_expr_primary): Remove unused variable. Adjust call to
ec255163 1326 demangle_template_param.
40e00cb0 1327 (is_mangled_char): Accept `$' and `.'.
1328 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1329 * dyn-string.c (dyn_string_insert_char): New function.
1330
01f404a2 13312000-08-31 Hans-Peter Nilsson <hp@axis.com>
1332
1333 * testsuite/demangle-expected: Add nine tests for
1334 underscore-after-number followed by five tests for name-signature
1335 delimiter.
1336
d74245d4 13372000-08-28 Richard Henderson <rth@cygnus.com>
1338
1339 * Makefile.in (md5.o): Depend on config.h.
1340
19f716e5 13412000-08-28 Jason Merrill <jason@redhat.com>
1342
1343 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1344 (CFILES): Add md5.c.
1345 * md5.c: New file.
1346
f8aeab41 13472000-08-27 Alex Samuel <samuel@codesourcery.com>
1348
1349 * cp-demangle.c (demangle_name): Initialize template_p in local
1350 name case. Don't re-add substitutions as candidates.
1351 (demangle_nested_name): Use <unqualified-name>.
1352 (demangle_prefix): Likewise. Don't add template names as
1353 substitution candidates twice, or re-add a substitution or the
1354 last prefix component.
1355 (demangle_local_name): Adjust output format.
1356
62c2feed 13572000-08-25 Alex Samuel <samuel@codesourcery.com>
1358
1359 * cp-demangle.c (result_add_separated_char): Change parameter to
1360 int.
1361 (substitution_add): Don't check for duplicates. Check if
1362 previously allocated size is zero.
1363 (demangle_name): Remove duplicate check for std substitution.
1364 Clear template flag appropriately.
1365 (demangle_prefix): Remove argument to demangle_substitution.
1366 Don't check that template flag is already set.
1367 (demangle_operator_name): Add pt operator.
1368 (demangle_type): Don't treat r as built-in type. Remove argument
1369 to demangle_substitution. Fix substitution candidate mechanics.
1370 Handle <template-template-parm>s. Improve comments.
ec255163 1371 (demangle_template_param): Don't handle template arg lists here.
62c2feed 1372 (demangle_substitution): Remove parameter.
1373 (print_usage): Remove extra fprintf option.
1374
ee1d4c3d 13752000-08-24 Greg McGary <greg@mcgary.org>
1376
1377 * libiberty/random.c (end_ptr): Revert previous change.
1378
f0bff53d 13792000-08-24 Greg McGary <greg@mcgary.org>
1380
1381 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1382 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1383 * libiberty/random.c (end_ptr): Likewise.
1384
c1b316c0 13852000-08-23 Alex Samuel <samuel@codesourcery.com>
1386
1387 * cp-demangle.c (result_close_template_list): Remove function.
1388 (result_add_separated_char): New function.
1389 (result_open_template_list): New macro.
1390 (result_close_template_list): Likewise.
1391 (demangle_prefix): Don't set template_p if the
1392 prefix ends with a ctor name.
1393 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1394 (demangle_type): Check for template args after substitution.
1395 (demangle_template_args): Use result_open_template_list.
ec255163 1396
385b48fc 13972000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1398
1399 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
1400
ec255163 14012000-07-26 Dave Pitts <dpitts@cozx.com>
ba886691 1402
1403 * config/mh-openedition.h: Added -DLE370 definition.
1404
8fc0efd2 14052000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1406
1407 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1408 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1409 Cast program to 'char *' in errmsg_arg assignment.
1410 (PWAIT_ERROR): Define.
1411 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1412 to DJGPP's WIF* macros.
1413
a1d4f79a 14142000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1415 Jeff Law <law@cygnus.com>
1416
98b4c197 1417 * getcwd.c: Include string.h, stdlib.h for prototypes
1418
a1d4f79a 1419 * Makefile.in (rename.o, waitpid.o): Depend on config.h
98b4c197 1420 * rename.c: Include config.h, unistd.h
1421 * waitpid.c: Include config.h, sys/wait.h
a1d4f79a 1422
01f404a2 14232000-07-24 Hans-Peter Nilsson <hp@axis.com>
1424
1425 * cplus-dem.c (work_stuff_copy_to_from): New.
1426 (delete_non_B_K_work_stuff): New.
1427 (delete_work_stuff): New.
1428 (mop_up): Break out work_stuff partly destruction to
1429 delete_non_B_K_work_stuff.
1430 (iterate_demangle_function): New.
1431 (demangle_prefix): Call iterate_demangle_function instead of
1432 demangle_function_name. Leave handling of name-signature
1433 __-delimiters to iterate_demangle_function.
1434 (demangle_integral_value): Strip an optional
1435 following underscore cautiously. Handle negative numbers.
1436
f2e5a608 14372000-07-24 Daniel Berlin <dberlin@redhat.com>
1438
ec255163 1439 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
f2e5a608 1440 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1441
65bcf503 14422000-07-21 Alex Samuel <samuel@codesourcery.com>
1443
1444 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1445 allocating ctor mangling.
1446 (demangle_array_type): Handle empty and non-constant array length.
1447
68e6b6e1 14482000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a451eef0 1449 Jeff Law <law@cygnus.com>
1450
1a163ca8 1451 * configure.in (AC_CHECK_HEADERS): Add time.h.
1452 (AC_HEADER_TIME): Add check.
1453 * configure, config.in: Regenerate.
1454 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1455
a451eef0 1456 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1457 * configure, config.in: Regenerate.
1458 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1459 * strtol.c, strtoul.c: #include "config.h". Portably #include
1460 <limits.h> and/or <sys/param.h>.
1461 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
68e6b6e1 1462
fb758229 1463 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1464 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1465 * configure, config.in: Regenerate.
1466 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1467
68e6b6e1 1468 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1469
ad46fec4 14702000-07-21 Mike Stump <mrs@wrs.com>
1471
1472 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
7b23d366 1473 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
ad46fec4 1474
bb37062f 14752000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1476
1477 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1478
1479 * setenv.c (setenv): Initialize variable `ep'.
1480
1481 * sigsetmask.c (abort): Prototype.
1482
1483 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1484 __STDC__ for stdarg.h include.
1485 (int_vasprintf): Prototype.
1486 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1487 definition. Cast `global_total_width' in comparison.
1488 (main): Prototype. Return a value.
1489
1490 * vfork.c (fork): Prototype.
1491
1492 * xexit.c: Include config.h.
1493
6cb730c2 14942000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1495
1496 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1497 and print it with %u.
1498
e42d7fe1 14992000-07-17 Hans-Peter Nilsson <hp@axis.com>
1500
1501 * testsuite/regress-demangle (failed test): Show result and
1502 expected output.
1503
04ef60ef 15042000-07-07 Andrew Haley <aph@cygnus.com>
1505
1506 * cplus-dem.c (main): fflush() after emitting last char before
1507 waiting for input.
1508
b7f68aff 15092000-06-28 Alex Samuel <samuel@codesourcery.com>
1510
1511 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1512 (demangle_name): Handle <substitution> followed by
1513 <unqualified-template-name>.
1514 (demangle_type): Follow special substitutions with
1515 <class-enum-type>
1516 (demangle_subtitution): Set template_p for special substitutions.
1517 (main): Fix typos.
ec255163 1518
597f928d 15192000-06-27 Alex Samuel <samuel@codesourcery.com>
1520
1521 * cp-demangle.c (demangle_special_name): Swap base and derived
1522 class when demangling construction vtables.
1523
140d75d7 15242000-06-21 Alex Samuel <samuel@codesourcery.com>
1525
1526 * cp-demangle.c: Don't include ctype.h.
1527 (IS_DIGIT): New macro.
1528 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1529 instead of isdigit and isalpanum.
1530 (demangling_def): Make name and next const pointers.
1531 (STATUS_ALLOCATION_FAILED): New status code.
1532 (dyn_string_append_space): Handle failure in
1533 dyn_string_append_char.
1534 (int_to_dyn_string): Likewise. Change return value to status_t.
1535 (string_list_new): Handle failure of dyn_string_init.
1536 (result_close_template_list): Change return type to status_t.
1537 Handle failure in dyn_string_append.
1538 (result_push): Change return value to status_t. Handle failure in
1539 string_list_new. Handle failure of result_push throughout.
1540 (substitution_add): Change return value to status_t. Handle
1541 dyn_string failures. Handle failure of substitution_add
1542 throughout.
1543 (template_arg_list_new): Return NULL on allocation failure.
1544 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1545 Handle error result throughout.
1546 (result_append): Likewise.
1547 (result_append_char): Likewise.
1548 (result_append_space): Likewise.
1549 (demangling_new): Make argument a const pointer. Handle
1550 allocation failures.
1551 (demangle_template_args): Handle failure in template_arg_list_new
1552 and result_close_template_list.
1553 (demangle_discriminator): Return if int_to_dyn_string fails.
1554 (cp_demangle): Likewise.
1555 (cp_demangle_type): New function.
1556 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1557 memory allocation failure.
1558 (main): Likewise.
1559 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1560 IN_LIBGCC2.
1561 (dyn_string_init): Change return value to int. Handle
1562 RETURN_ON_ALLOCATION_FAILURE case.
1563 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1564 (dyn_string_release): Delete the dyn_string.
1565 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1566 (dyn_string_copy): Change return type to int.
1567 (dyn_string_copy_cstr): Likewise.
1568 (dyn_string_prepend): Likewise.
1569 (dyn_string_prepend_cstr): Likewise.
1570 (dyn_string_insert): Likewise.
1571 (dyn_string_insert_cstr): Likewise.
1572 (dyn_string_append): Likewise.
1573 (dyn_string_append_cstr): Likewise.
1574 (dyn_string_append_char): Likewise.
1575 (dyn_string_substring): Likewise.
ec255163 1576
210aba33 15772000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1578
1579 * cp-demangle.c (demangle_operator_name): Add spaces before
1580 names beginning with a letter: delete, delete[], new, new[],
1581 sizeof.
1582 (demangle_special_name): Handle TF <type> and TJ <type>.
1583
0b4450c1 1584Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1585
1586 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1587
e5d6924a 1588Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1589
1590 * cp-demangle.c (stdio.h): File included unconditionaly.
1591 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1592 * dyn-string.c (stdio.h): File included.
1593 * partition.c (partition_print): No `&' needed to take the address of
1594 a function.
1595
da8bd873 15962000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1597
1598 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ec255163 1599
da8bd873 1600 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1601
1602 * cp-demangle.c (demangle_char): Change parameter from char to int.
1603 (demangle_expression, demangle_expr_primary): Remove extra
1604 semi-colon in prototype.
1605
1606 * dyn-string.c (dyn_string_append_char): Change parameter from
1607 char to int.
1608
1609 * memcmp.c (memcmp): Constify.
1610
1611 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1612 __extension__.
1613
1614 * partition.c (elem_compare): Prototype. Don't cast away
1615 const-ness.
1616
1617 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ec255163 1618
4b7bc488 16192000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1620
1621 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1622
1623 * cp-demangle.c: Include demangle.h.
1624 (template_arg_list_new): DeANSIfy.
1625 (cp_demangle): Make static and add prototype.
1626 (operator_code, operators): Constify.
1627 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1628
7ae7b54c 16292000-06-05 Alex Samuel <samuel@codesourcery.com>
1630
1631 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1632 unsigned char.
1633 (demangle_unqualified_name): Likewise.
1634 (demangle_number_literally): Likewise.
1635 (demangle_type): Likewise.
1636 (demangle_substitution): Likewise.
1637 (is_mangled_char): Likewise, for isalnum.
1638
168d63e5 16392000-06-04 Alex Samuel <samuel@codesourcery.com>
1640
1641 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1642 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1643 (cp-demangle.o): New dependency.
1644 (dyn-string.o): Likewise.
1645
1646 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1647
1648 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1649 demangler.
1650 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1651 demangling mode.
1652 (gnu_new_abi_symbol_characters): New function.
1653 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1654 file.
1655 * cp-demangle.c: New file.
ec255163 1656
b5495c1d 1657Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1658
1659 * floatformat.c: Add name to each floatformat field.
1660
8fab1737 1661Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1662
1663 * Makefile.in (objalloc.o): Depend on config.h
1664
317ab997 16652000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1666
1667 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1668 if HAVE_STRING_H.
1669 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1670 * objalloc.c: Include config.h. Include stdlib.h and don't
1671 declare malloc or free if HAVE_STDLIB_H.
1672 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1673 else declare malloc without prototype. Include string.h if
1674 HAVE_STRING_H, else declare memset without prototype. Don't
1675 include stddef.h.
1676
874478ba 16772000-05-23 Mike Stump <mrs@wrs.com>
1678
1679 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
9f21bac8 1680 -j3.
874478ba 1681
55de1520 16822000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1683
1684 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1685
e51b357b 16862000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1687
ec255163 1688 * hashtab.c (hash_pointer): Delete low-order bits which are
e51b357b 1689 probably zero, also eliminate a warning on alpha.
1690
9e362499 16912000-05-15 David Edelsohn <edelsohn@gnu.org>
1692
e390e838 1693 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
9e362499 1694 on $(enable_shared).
1695
06c6487f 16962000-05-10 Jakub Jelinek <jakub@redhat.com>
1697
1698 * config.table: Use mh-sparcpic for sparc*-*-*.
1699
0baf89fb 17002000-05-08 Nick Clifton <nickc@cygnus.com>
1701
1702 * Makefile.in (CFILES): Add strncmp.c.
1703 (NEEDED): Add strncmp.
1704
59f72e4d 17052000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1706
1707 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1708 Cast the arguments to `islower' to `unsigned char'.
1709 (print_demangler_list): Prototype.
1710
fb0c90ed 1711Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1712
1713 * sort.c (UCHAR_MAX): Provide fallback definition.
1714
167a5f18 17152000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1716
1717 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1718 SUBDIRS.
1719
6f572555 17202000-04-28 Kenneth Block <block@zk3.dec.com>
1721 Jason Merrill <jason@casey.cygnus.com>
1722
ec255163 1723 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1724 (cplus_demangle_set_style): New function for setting style.
1725 (cplus_demangle_name_to_style): New function to translate name.
6f572555 1726
b3524c8f 17272000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1728
1729 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1730
1731 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1732 (libiberty_AC_FUNC_STRNCMP): Invoke.
1733
1734 * strncmp.c: New file.
1735
a5f725a3 1736Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1737
1738 * hashtab.c (htab_expand): Add prototype.
1739 (find_empty_slot_for_expand): Likewise.
1740
8afd4145 17412000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1742
1743 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1744 match prototype.
1745 (htab_expand): Cast the return value of xcalloc.
1746
c9dfb8ae 17472000-04-24 Mark Mitchell <mark@codesourcery.com>
1748
1749 * hashtab.c (hash_pointer): New function.
1750 (eq_pointer): Likewise.
1751 (htab_hash_pointer): New variable.
1752 (htab_eq_pointer): Likewise.
1753
85993fc6 17542000-04-23 Mark Mitchell <mark@codesourcery.com>
1755
9517f453 1756 * sort.c (sort_pointers): Fix endianness bugs.
1757
85993fc6 1758 * sort.c: New file.
1759 * Makefile.in (CFILES): Add sort.c
1760 (REQUIRED_OFILES): Add sort.o.
1761 (sort.o): New target.
1762
c9b2f47c 17632000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1764
1765 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1766 4.3BSD systems.
1767
2b3dbc20 1768Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1769
1770 * hashtab.c: Various minor cleanups.
1771 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1772 (htab_find_slot): Likewise.
1773
6ea8a864 17742000-04-16 Dave Pitts <dpitts@cozx.com>
1775
1776 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ec255163 1777
105211e5 17782000-04-05 Richard Henderson <rth@cygnus.com>
1779
1780 * splay-tree.c (splay_tree_remove): New.
1781
7669680f 17822000-03-30 Mark Mitchell <mark@codesourcery.com>
1783
1784 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1785 codes.
1786 (htab_find_with_hash): Likewise.
1787 (htab_find_slot_with_hash): Likewise.
ec255163 1788
07c797e3 17892000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1790
1791 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1792 unless it will be used. Rearrange loop for better
1793 optimization.
1794 (higher_prime_number): Add static prototype.
1795
8ef1b8d1 1796Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1797
1798 * Makefile.in (partition.o): Depend on config.h
1799
ed26da85 18002000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1801
1802 * hashtab.c (find_empty_slot_for_expand): New function.
1803 (htab_expand): Use it instead of htab_find_slot.
1804 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1805 argument HASH.
1806 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1807 (htab_find): New wrapper function.
1808 (htab_find_slot): Likewise.
1809 (htab_traverse): Pass slot, not entry, to called function.
1810
dadde703 18112000-03-09 Alex Samuel <samuel@codesourcery.com>
1812
1813 * Makefile.in (CFILES): Add partition.c.
1814 (REQUIRED_OFILES): Add partition.o.
1815 (partition.o): New rule.
1816 * partition.c: New file.
ec255163 1817
3fdd387a 18182000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1819
1820 * hashtab.c (htab_create): Set del_f.
1821 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1822 Use it.
1823
07c967f9 18242000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1825
1826 * hashtab.c: Remove debugging variables (all_searches,
1827 all_collisions, all_expansions). Delete
1828 all_hash_table_collisions.
1829 (create_hash_table, delete_hash_table, empty_hash_table,
1830 find_hash_table_entry, remove_element_from_hash_table_entry,
1831 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1832 hash_table_elements_number, hash_table_collisions): Rename to:
1833 htab_create, htab_delete, htab_empty, htab_find_slot,
1834 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1835 htab_elements, htab_collisions.
1836 (htab_find): New function, handles common case where you don't
1837 plan to add or delete an entry.
1838 (htab_expand): Don't create a whole new table, just a new
1839 entry vector.
1840 (htab_find_slot): Simplify logic.
1841
1f33a375 18421999-08-03 Ian Lance Taylor <ian@zembu.com>
1843
1844 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1845 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1846
1847 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1848 $(TARGETLIB)n so it works on MSDOS.
1849 (install_to_tooldir): Likewise.
1850
18511999-07-21 Ian Lance Taylor <ian@zembu.com>
1852
1853 From Mark Elbrecht:
1854 * makefile.dos: Remove; obsolete.
1855 * configure.bat: Remove; obsolete.
1856
18571999-07-11 Ian Lance Taylor <ian@zembu.com>
1858
1859 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1860 warning.
1861
b99e5aef 18622000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1863
1864 * pexecute.c: Conditionally include string.h.
07c967f9 1865 (fix_argv): Handle embedded whitespace in args for Mingw32.
b99e5aef 1866
6d93ad38 18672000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1868
1869 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1870 we're using gcc.
1871
1872 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1873
59dfb43e 18741999-12-27 Geoff Keating <geoffk@cygnus.com>
1875
1876 * vasprintf.c (int_vasprintf): Don't re-read the format character
1877 as this mishandles strings like '%%s'.
1878
b04bbebb 18791999-12-05 Mark Mitchell <mark@codesourcery.com>
1880
1881 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1882 rather than struct splay_tree_node.
1883 (splay_tree_insert): Use struct splay_tree_s rather than struct
1884 splay_tree.
1885
d7f8de75 1886Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1887
1888 * hashtab.c (sys/types.h): File included.
1889
7202ac7d 18901999-11-22 Jason Merrill <jason@casey.cygnus.com>
1891
1892 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1893 BSD license, pursuant with
1894
1895 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1896
bd41a79e 1897Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1898
1899 * hashtab.c: Include stdio.h.
1900
b77d3fd0 1901Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1902
1903 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1904
1b4391fe 1905Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1906
1907 * xstrdup (sys/types.h): Include this file.
1908
4bc57096 19091999-10-28 Nathan Sidwell <nathan@acm.org>
1910
1911 * Makefile.in (SUBDIRS): New macro.
1912 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1913 avoid multiple subdirectory cleaning.
1914 (*-subdir): Use SUBDIRS.
1915
9087cad2 19161999-10-25 Jim Kingdon <http://developer.redhat.com/>
1917
1918 * cplus-dem.c: Move declarations of standard_symbol_characters and
1919 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1920 warnings.
1921
21a7d507 19221999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1923
1924 * hashtab.c (find_hash_table_entry): When returning a
1925 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1926 (clear_hash_table_slot): New function which deletes an entry
1927 by its position in the table, not its value.
1928 (traverse_hash_table): New function which calls a hook
1929 function for every live entry in the table.
1930
42c870f1 19311999-10-19 Mark Mitchell <mark@codesourcery.com>
1932
1933 * cplus-dem.c (INTBUF_SIZE): New macro.
1934 (string_append_template_idx): New function.
1935 (demangle_expression): Likewise.
1936 (demangle_integral_value): Use it.
1937 (demangle_real_value): New function, split out from ...
1938 (demangle_template_value_parm): ... here. Use
1939 string_append_template_idx. Use demangle_real_value.
1940 (demangle_template): Use string_append_template_idx.
1941 (demangle_qualified): Use consume_count_with_underscores.
1942 (get_count): Tweak formatting.
1943 (do_type): Use string_append_template_idx.
07c967f9 1944
33b090eb 19451999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1946
1947 * calloc.c: Add a public domain notice.
1948
9879c2ce 1949Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1950
1951 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1952
5da6c26f 1953Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1954
1955 * Makefile.in (CFILES): Add hashtab.c
1956 (REQUIRED_OFILES): Add hashtab.o
1957 (hashtab.o): Add dependencies.
1958 * hashtab.c: New file
1959
be42b79e 1960Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1961
1962 * basename.c (DIR_SEPARATOR): New macro.
1963 (DIR_SEPARATOR_2): Likewise.
1964 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1965 (IS_DIR_SEPARATOR): Likewise.
1966 (main): Handle MSDOS style pathname.
1967
6c65e8d7 19681999-10-11 Mark Mitchell <mark@codesourcery.com>
1969
1970 * cplus-dem.c (do_type): Handle pointer to member types whose
1971 enclosing classes have namespace scope.
1972
278929f3 1973Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1974
1975 * config.table: Provide a backup shell for executing move-if-change.
1976
a7599ac8 19771999-10-02 Mark Mitchell <mark@codesourcery.com>
1978
1979 * xmalloc.c (xmalloc): Fix spelling error.
1980 (xcalloc, xrealloc): Likewise.
1981
4d84eafd 19821999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1983
1984 * cplus-dem.c (fancy_abort, demangle_integral_value,
1985 demangle_arm_hp_template, recursively_demangle,
1986 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1987 (program_name, program_version, fatal): Constify a char*.
1988 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1989 (main): Call return, not exit.
1990
8f376364 19911999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1992
1993 * choose-temp.c: Remove obsolete comment about gcc.
1994 (make_temp_file): Constify a char*.
1995
3a4fff76 1996Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1997
1998 * xmemdup.c: Include sys/types.h.
1999
7570bccb 20001999-09-07 Jeff Garzik <jgarzik@pobox.com>
2001
2002 * xmemdup.c: New xmemdup function.
2003 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2004
b50c7be3 2005Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2006
07c967f9 2007 * config.table: Add openedition target.
b50c7be3 2008 * config/mh-openedition: New file.
2009
fd0c1d22 2010Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2011
2012 * pexecute.c (pexecute): Fill in temp_base when needed.
2013
be342bf0 20141999-08-31 Richard Henderson <rth@cygnus.com>
2015
2016 * getpwd.c: Check HAVE_GETCWD before defining it away.
2017
71774460 20181999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2019
2020 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2021 (REQUIRED_OFILES): Add getpwd.o.
2022 (getpwd.o): Add target.
2023
2024 * configure.in (AC_PREREQ): Bump to 2.13.
2025 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2026
2027 * getpwd.c: New file, moved here from gcc.
2028
ac126d82 20291999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2030
2031 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2032 comparing against a signed quantity.
2033 (arm_special): Likewise.
2034 (demangle_fund_type): Likewise.
2035 (do_hpacc_template_const_value): Mark parameter `work' with
07c967f9 2036 ATTRIBUTE_UNUSED.
ac126d82 2037 (main): Constify variable `valid_symbols'.
2038
4f3b4661 2039Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2040
2041 * strtoul.c (strtoul): Add parentheses around && within ||.
2042
f92ff492 2043Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2044
2045 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2046 libdir, libsubdir and tooldir.
2047
a9f46aed 20481999-08-01 Mark Mitchell <mark@codesourcery.com>
2049
2050 * splay-tree.c (splay_tree_insert): Return the new node.
2051
db081298 20521999-07-14 Richard Henderson <rth@cygnus.com>
2053
07c967f9 2054 * argv.c: Include stdlib.h and string.h instead of
db081298 2055 prototyping directly.
2056 * choose-temp.c: Conditionally include string.h.
2057
e5aa3a54 20581999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2059
2060 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2061
4ef402f7 20621999-07-11 Ian Lance Taylor <ian@zembu.com>
2063
2064 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2065 warning.
2066
d65034bd 20671999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2068
2069 * Makefile.in (needed-list): Only include stuff we actually need
2070 for libstdc++.
2071
18912799 20721999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2073
2074 * configure.in (checkfuncs): Add gettimeofday.
2075 * config.in, configure: Regenerated.
2076
d96f58b6 2077Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2078
2079 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2080 the test fails.
2081 * configure: Regenerate.
2082
4248b202 20831999-06-10 Mike Stump <mrs@wrs.com>
2084
2085 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2086 parallel builds.
2087
3c243ded 20881999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2089
2090 * putenv.c: Include ansidecl.h to define `const'.
2091 * setenv.c: Likewise.
2092
654c70ae 2093Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2094
34f75864 2095 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2096 * configure.in (funcs): Add putenv and setenv.
2097 (AC_CHECK_FUNCS): Check for putenv and setenv.
2098 * configure: Rebuilt.
2099 * putenv.c setenv.c: New files.
2100
654c70ae 2101 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2102 bytes of space using malloc.
2103
41980611 2104Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2105
2106 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2107 the *mangled pointer beyond the end of the string. Clean up code to
2108 match prevailing coding style.
2109
08b8ada9 21101999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2111
2112 * tmpnam.c (L_tmpnam): Fix typo.
2113
2fb1c6e9 2114Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2115
2116 * cplus-dem.c (standard_symbol_characters): Renamed from
2117 standard_symbol_alphabet. No longer modify TABLE.
2118 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2119 modify TABLE.
2120 (main): Corresponding changes. Use strchr to determine if a
2121 character is valid.
2122
25398e41 21231999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2124
2125 * cplus-dem.c (main): Use table lookup to distinguish identifier
2126 characters from non-identifier characters.
2127 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2128
29723d26 2129Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2130
2131 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2132 * getruntime.c: Only attempt to include sys/resource.h and
2133 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2134 are defined.
2135
dde96550 2136Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2137
2138 * configure.in (alloca detection): Handle alloca directly for interix.
2139 * configure: Rebuilt.
2140
e98ba651 2141Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2142
2143 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2144
3460a017 21451999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2146
2147 Fix from Dale Hawkins:
07c967f9 2148 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
3460a017 2149 reallocated properly if we use it again.
2150
2151 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2152 stricter about syntax. Always null-terminate string.
2153
b01c0955 2154Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2155
2156 * configure.in (checkfuncs): Check for sbrk.
2157 * config.in: Rebuilt.
2158 * configure: Likewise.
2159 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2160
87c2e884 21611999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2162
2163 Fix from Marcus Daniels:
2164 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2165 identifier looking for another underscore.
2166
16b8e80f 2167Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2168
2169 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2170 * xmalloc.c: Likewise.
2171 (xcalloc): UWIN has sbrk.
2172 (xrealloc): Fix guard macro.
2173
4d0cfb7e 21741999-04-11 Richard Henderson <rth@cygnus.com>
2175
2176 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2177 or <alloca.h>.
2178 * clock.c (GNU_HZ): New definition.
2179 (clock): Use it.
2180 * getruntime.c: Likewise.
2181
2182 * config.table: Use mh-beos.
2183 * config/mh-beos: New file.
2184
0dc64970 21851999-04-11 Mark Mitchell <mark@codesourcery.com>
2186
2187 * cplus-dem.c (demangle_template_value_parm): Handle
2188 pointers-to-members.
2189 (do_type): Handle template parameters as qualifiers.
2190
9fec6063 21911999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2192
2193 * cplus-dem.c: Attempt to handle overflows in counts with some
2194 semblance of grace.
2195 (consume_count): Detect overflows. Return -1 to indicate errors,
2196 instead of zero.
2197 (demangle_template_value_parm, demangle_template): Handle change
2198 to consume_count's return convention.
2199
715f424c 22001999-04-05 Tom Tromey <tromey@cygnus.com>
2201
2202 * testsuite/regress-demangle: New file.
2203 * testsuite/demangle-expected: New file.
2204
2205 * Makefile.in (all, check, installcheck, info, install-info,
2206 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2207 distclean, maintainer-clean, realclean): Depend on corresponding
2208 `-subdir' target.
2209 (all-subdir check-subdir installcheck-subdir info-subdir
2210 install-info-subdir clean-info-subdir dvi-subdir
2211 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2212 distclean-subdir maintainer-clean-subdir): New target.
2213 * testsuite/Makefile.in: New file.
2214 * configure: Rebuilt.
2215 * configure.in: Create testsuite/Makefile.
2216
71c5948c 22171999-04-02 Mark Mitchell <mark@codesourcery.com>
2218
2219 * splay-tree.h (splay_tree_compare_pointers): Define.
2220
d1264606 22211999-03-30 Mark Mitchell <mark@codesourcery.com>
2222
2223 * splay-tree.c (splay_tree_compare_ints): Define.
2224
6fd618e7 22251999-03-30 Tom Tromey <tromey@cygnus.com>
2226
2227 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2228 don't advance input pointer.
2229 (demangle_class_name): If consume_count didn't find a count, do
2230 nothing. Don't bother with `strlen' sanity check; consume_count
2231 does it for us.
2232
bdaa26ad 22331999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2234
2235 From Art Haas <ahaas@neosoft.com>:
2236 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2237 when doing arm or hp style.
2238 (demangle_nested_args): Decr forgetting_types field when done.
07c967f9 2239
d267f778 2240Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2241
2242 * pexecute.c (__CYGWIN32__): Rename to
2243 (__CYGWIN__): this.
2244 * xmalloc.c: Likewise.
2245
2246 Changes to support i386-pc-uwin.
2247 * configure.in (*-*-uwin*): Workaround for vfork bug.
2248 * configure: Regenerate.
2249 * pexecute.c (pexecute): Be like standard Unix.
2250 (pwait): Likewise.
2251 * xmalloc.c (first_break): Define.
2252 (xmalloc_set_program_name): Use.
2253 (xmalloc): Use.
2254
90405950 2255Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2256
2257 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2258
bdaa26ad 2259Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2260
2261 * config.table: Check cygwin*, not cygwin32*.
2262
e6ed8194 2263Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2264
2265 * Makefile.in: Change mkstemp -> mkstemps.
2266
301e59c9 2267Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2268
2269 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2270 * configure.in (funcs): Check for and conditionally add mkstemps to
2271 the list of functions libiberty will provide.
2272 * configure: Rebuilt.
07c967f9 2273
89e305f9 2274Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2275
07c967f9 2276 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
89e305f9 2277 platforms that don't have HZ.
2278 * getruntime.c (HZ): Likewise.
2279
ecfe64e7 2280Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2281
2282 * Makefile.in (xstrdup.o): Depend on config.h.
2283
2e5e2114 2284Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2285
2286 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2287 freeing it.
2288
6aa62a59 2289Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2290
2291 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2292
bdaa26ad 2293Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2294
2295 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2296 splay-tree.o.
2297
22981999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2299
2300 * configure.in: Require autoconf 2.12.1 or higher.
2301
9e1ed734 23021998-12-30 Michael Meissner <meissner@cygnus.com>
2303
2304 * random.c (NULL): Don't redefine NULL if it is already defined.
2305
7c8c70e9 2306Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2307
2308 * argv.c (buildargv): Cast the result of alloca in assignment.
2309
2310 * choose-temp.c: Include stdlib.h.
2e5e2114 2311
7c8c70e9 2312 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
9f21bac8 2313 (snarf_numeric_literal): Constify first parameter.
2314 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2315 int, not a char.
7c8c70e9 2316 (demangle_qualifier): Likewise.
2317 (demangle_signature): Cast the argument of a ctype function to
2318 unsigned char.
2319 (arm_pt): Add parens around assignment used as truth value.
2320 (demangle_arm_hp_template): Constify variable `args'.
2321 (do_hpacc_template_const_value): Cast the argument of a ctype
2322 function to unsigned char.
2323 (do_hpacc_template_literal): Remove unused variable `i'.
2324 (snarf_numeric_literal): Constify parameter `args'.
2325 Cast the argument of a ctype function to unsigned char.
2326
2327 * floatformat.c (floatformat_to_double): Add explicit braces to
9f21bac8 2328 avoid ambiguous `else'.
2e5e2114 2329
7c8c70e9 2330 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
9f21bac8 2331 `cstart' and `cend' to unsigned char. Cast the argument of macro
2332 `FOLD', which uses ctype functions, to unsigned char.
7c8c70e9 2333
2334 * objalloc.c (free): Add prototype.
2335
9070a37e 2336Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2337
2338 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2339
bdaa26ad 2340Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2341
2342 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
9f21bac8 2343 doesn't exist.
bdaa26ad 2344 (do_hpacc_template_literal): remove unused variable `i'.
07c967f9 2345
0a5a5994 2346Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2347
2348 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2349 bumping the pointer we read from. Also prepend these codes,
2350 as we do in other places.
2351
bdaa26ad 23521998-12-18 Nick Clifton <nickc@cygnus.com>
2353
2354 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2355 'const char *' in order to match its usage when calling siblings.
2356 (snarf_numeric_literal): Make first arg 'const char **' in order
2357 to match usage.
4ed77eec 2358
50cbddd6 2359Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2360
4ed77eec 2361 * choose-temp.c: Don't check IN_GCC anymore.
2362
2363 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2364 * memchr.c (memchr): Likewise.
2365 * memcpy.c (memcpy): Likewise.
2366 * memmove.c (memmove): Likewise.
2e5e2114 2367
4ed77eec 2368 * mkstemp.c: Don't check IN_GCC anymore.
2369 * pexecute.c: Likewise.
2370 * splay-tree.c: Likewise.
2e5e2114 2371
4ed77eec 2372 * strchr.c (strchr): Use `const', not `CONST'.
2373 * strrchr.c (strrchr): Likewise.
2374 * strtol.c (strtol): Likewise.
2375 * strtoul.c (strtoul): Likewise.
2376
f75dc4de 2377Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2378 Elena Zannoni <ezannoni@cygnus.com>
2379 Stan Shebs <shebs@cygnus.com>
2380 Edith Epstein <eepstein@cygnus.com>
2381 Andres MacLeod <amacleod@cygnus.com>
2382 Satish Pai <pai@apollo.hp.com>
2383
2384 * HP aCC demangling support.
2385 * cplus-dem.c
2386 (main): Remove default to HP style demangling, set to EDG
9f21bac8 2387 demangling correctly when -edg specified; set the demangling style
2388 when user specifies 'edg'. Set strip_underscore to
2389 prepends_underscore, if not HPUXHPPA. Set
2390 current_demangling_style to hp_demangling if HPUXHPPA. Set
2391 current demangling style correctly if the switch is hp. Read
2392 label correctly also in the HP style case.
f75dc4de 2393 (work_stuff): add temp_start field; add field for volatile member
9f21bac8 2394 function.
f75dc4de 2395 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
9f21bac8 2396 style for this case is the same as ARM.
f75dc4de 2397 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2398 (demangle_arm_hp_template): new function. (It was
9f21bac8 2399 demangle_arm_pt.); check and set value of temp_start field in
2400 multiple places. Also, when ceching for end of template args,
2401 check to see if at end of static member of template class.
f75dc4de 2402 (demangle_class): new local variable : save_class_name_end Don't
9f21bac8 2403 include template args in string defining class.
f75dc4de 2404 (demangle_class_name): use demangel_arm_hp_template.
2405 (demangle_function_name): handle case where demangling style is
9f21bac8 2406 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2407 Handle EDG_DEMANGLING style. Handle constructor and destructor
2408 ops for HP style.
f75dc4de 2409 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
9f21bac8 2410 styles. global destructor and constructor for HP style are same
2411 as for ARM style. Same for local variables.
f75dc4de 2412 (demangle_qualified): handle EDG_DEMANGLING style.
2413 (demangle_signature): add case for volatile member function. For
9f21bac8 2414 cases '1' - '9' : initialize the temp_start field to -1 and handle
2415 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2416 and AUTO_DEMANGLING styles. If expecting a function and managed
2417 to demangle the funct args, then handle the LUCID_DEMANGLING,
2418 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2419 class name after "Lnnn_ in HP style case. HP style too needs to
2420 forget types. _nnn is OK for HP style, so don't report failure.
f75dc4de 2421 (do_hpacc_template_const_value): new function. Handle template's
9f21bac8 2422 value param for HP/aCC.
f75dc4de 2423 (do_hpacc_template_literal): new function. Handle a template's
9f21bac8 2424 literal parameter for HP aCC.
f75dc4de 2425 (recursively_demangle): new function
2426 (snarf_numeric_literal): new function.
2427 (usage): add 'edg' to the list of demangling styles; add hp switch
9f21bac8 2428 to message.
f75dc4de 2429
a5c56042 2430Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2431
2432 * pexecute.c: Remove obsolete ifdefed cygwin code.
2433
4ae63959 2434Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2435
2436 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2437 * cplus-dem.c: Likewise. Conform to libiberty.h.
2438 * pexecute.c: Likewise.
2439 * splay-tree.c: Likewise.
2440
b41b6b67 24411998-11-25 Mike Stump <mrs@wrs.com>
2442
2443 * Makefile.in (splay-tree.o): Add config.h dependency.
2444
a1dd5bff 2445Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2446
2447 * configure.in: Use AC_PREREQ(2.12.1).
2448
d54546fb 24491998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2450
07c967f9 2451 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
d54546fb 2452
9fdb1080 2453Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2454
2455 * mpw.c (mpw_access): Add missing parens.
2456
1ed7db2f 2457Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2458
2459 * configure.in: Call AC_HEADER_SYS_WAIT.
2460
2461 * pexecute.c: Include sys/wait.h when !IN_GCC.
2462
bdaa26ad 2463Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2464
2465 * pexecute.c: revert back to checking old Cygwin
2466 preprocessor symbol until some time has passed.
2467
2468Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2469
2470 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2471 since it will now support similar constructs.
2472
34fa8831 2473Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2474
2475 * configure.in: Check for calloc.
2476
2477 * calloc.c: New file.
2478
2479 * xmalloc.c (xcalloc): New function.
2480
75ebb412 2481Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2482
2483 *cplus-dem.c (demangle_prefix): Use the last "__"
2484 in the mangled name when looking for the signature. This allows
2485 template names to begin with "__".
2486
5b546829 24871998-11-08 Mark Mitchell <mark@markmitchell.com>
2488
73bea962 2489 * cplus-dem.c (type_kind_t): Add tk_reference.
2490 (demangle_template_value_parm): Handle it.
2491 (do_type): Use it for references, instead of tk_pointer.
2492
5b546829 2493 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2494 not internal_cplus_demangle.
2495
0e4558d2 2496Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2497
2498 * choose-temp.c: Don't include gansidecl.h.
2499 * mkstemp.c: Likewise.
2500 * pexecute.c: Likewise.
2501
7b8b8d43 2502Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2503
07c967f9 2504 * configure.in: detect cygwin* instead of cygwin32*
2505 * configure: regenerate
7b8b8d43 2506
f9a39df1 2507Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2508
2509 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
9f21bac8 2510 whether to include config.h. Possibly include unistd.h in the
2511 !IN_GCC case. Define VFORK_STRING as a printable function call
2512 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2513 defined, include vfork.h. If VMS is defined, define vfork()
2514 appropriately. Remove vfork check on USG, we're using autoconf.
2515 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2516 locally what string to use.
f9a39df1 2517
797ba725 25181998-10-26 Mark Mitchell <mark@markmitchell.com>
2519
2520 * splay-tree.c: Tweak include directives to make sure declarations of
2521 xmalloc and free are available.
2522
3662c79b 25231998-10-25 Mark Mitchell <mark@markmitchell.com>
2524
2525 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2526 anonymous namespaces.
2e5e2114 2527
af5199c0 25281998-10-23 Mark Mitchell <mark@markmitchell.com>
2529
2530 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2531 with type_quals.
2532 (TYPE_UNQUALIFIED): New macro.
2533 (TYPE_QUAL_CONST): Likewise.
2534 (TYPE_QUAL_VOLATILE): Likewise.
2535 (TYPE_QUAL_RESTRICT): Likewise.
2536 (code_for_qualifier): New function.
2537 (qualifier_string): Likewise.
2538 (demangle_qualifier): Likewise.
2539 (internal_cplus_demangle): Use them.
2540 (demangle_signature): Likewise.
2541 (demangle_template_value_parm): Likewise.
2542 (do_type): Likewise.
2543 (demangle_fund_type)): Likewise.
3662c79b 2544
e61da89d 2545Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2546
2547 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2548 to match prototype.
2549
9a4eb61d 25501998-10-21 Mark Mitchell <mark@markmitchell.com>
2551
2552 * splay-tree.c: New file.
2553 * Makefile.in (CFILES): Add it.
2554 (REQUIRED_OFILES): Likewise.
2555 (splay-tree.o): Add dependencies.
2556
e5d3a45b 2557Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2558
2559 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2560 range of 'K' index.
2561
4350e959 2562Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2563
2564 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2565
2566 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2567 `unsigned char'.
2568 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2569 comparing against one.
2570 (cplus_mangle_opname): Likewise.
2571 (demangle_integral_value): Cast argument of ctype macro to
2572 `unsigned char'.
2573 (demangle_template_value_parm): Likewise.
2574 (demangle_template): Initialize variable `bindex'. Cast the
2575 result of `strlen' to (int) when comparing against one. Remove
2576 unused variable `start_of_value_parm'.
2577 (demangle_class_name): Cast the result of `strlen' to (int) when
2578 comparing against one.
2579 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2580 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2581 when comparing against one.
2582 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2583 (get_count): Likewise.
2584 (do_type): Likewise. Cast the result of `strlen' to (int) when
2585 comparing against one.
2586 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2587 (demangle_function_name): Cast the result of `strlen' to (int)
2588 when comparing against one.
2589
2590 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2591 comparing against one.
2592
5dfe2c03 2593Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2594
07c967f9 2595 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2596 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2597 * config.in, configure: Rebuilt.
0be6f86d 2598
5dfe2c03 2599 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2600 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2601 * config.in, configure: Rebuilt.
2602
7b8b8d43 2603Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2604
07c967f9 2605 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
7b8b8d43 2606
68b78c88 2607Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2608
2609 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2610
804ec1bf 2611Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2612
2613 * Merge egcs & devo libiberty.
2614
7a1ec54f 2615