2003-03-12 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
c4d8feb2
DD
12003-12-03 Jan Hubicka <jh@suse.cz>
2
3 * hashtab.c (htab_expand): Compute the size of hashtable based
4 on the number of elements actually used.
5 (htab_traverse): Call htab_expand when table is too empty.
6
d8cbbf95
DD
72003-03-11 Carlo Wood <carlo@gnu.org>
8
9 * cplus-dem.c (demangle_integral_value): Correction to reflect
10 patch of 2002-01-10 in order to also make negative multi-digits
11 without leading underscore work.
12
a01fefeb
DD
132003-03-03 Mark Mitchell <mark@codesourcery.com>
14
15 * cplus-dem.c: Add license exception to copyright notice.
16
638ceb1a
DD
172003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18
19 * physmem.c: Formatting changes from upstream.
20
ef803806
DD
212003-02-24 Danny Smith <dannysmith@users.source.forge.net>
22
23 * physmem.c (physmem_total): Add _WIN32 support.
24 (physmem_available): Likewise.
25
181fa229
DD
262003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
27
28 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
29 GSI_PHYSMEM.
30 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
31
cc529274
DD
322003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
33
34 * configure.in: Check for sys/systemcfg.h and
35 _system_configuration.
36 * physmem.c: Add support for AIX. Tweek formatting as per
37 upstream coreutils beta.
38
392003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
40 Richard Earnshaw <rearnsha@arm.com>
41 Geoffrey Keating <geoffk@apple.com>
42
43 * configure.in: Check for sys/sysctl.h and sysctl.
44 * physmem.c: Add support for *bsd and darwin.
45 * Makefile.in: Generate depedency for physmem.o.
46
192cbe66
DD
472003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
48
49 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
50 Tru64 UNIX.
51 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
52 Tru64 UNIX.
53
54 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
55 machine/hal_sysinfo.h, sys/table.h.
56 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
57 * configure, config.in: Regenerate.
58
900d2082
DD
592003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
60
61 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
62 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
63 pstat_getdynamic.
64
4938384a
DD
652003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
66
67 * Makefile.in (CFILES): Add physmem.c.
68 (REQUIRED_OFILES): Add physmem.o.
69 * configure.in: Check for sys/pstat.h.
70 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
71 * physmem.c: New file, copied from textutils.
72
73 * config.in, configure: Regenerated.
74
ba61a412
DJ
752003-02-20 Daniel Jacobowitz <drow@mvista.com>
76
77 * Makefile.in (CFILES): Add lrealpath.c.
78 (REQUIRED_OFILES): Add lrealpath.o.
79 (lrealpath.o): Add rule.
80 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
81 * configure.in: Add realpath and canonicalize_file_name to
82 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
83 for canonicalize_file_name.
84 * lrealpath.c: New file.
85 * make-relative-prefix.c: Update documentation.
86 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
87 * config.in: Regenerated.
88 * configure: Regenerated.
89 * functions.texi: Regenerated.
90
25dfe0ac
DD
912003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
92
93 * cplus_dem.c: Fix typo: intializes -> initializes.
94
8b90eef4
AO
952003-02-20 Alexandre Oliva <aoliva@redhat.com>
96
97 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
98 config.status.
99 * configure: Rebuilt.
100
fcd7c7c9
DD
1012003-02-13 Daniel Jacobowitz <drow@mvista.com>
102
103 Fix PR c++/7612.
104 * cplus-dem.c (demangle_signature): Call string_delete.
105 Remove extra string_init.
106 (demangle_arm_hp_template): Call string_delete instead of
107 string_clear. Add missing string_delete call.
108 (demangle_qualified): Add missing string_delete call.
109 (do_type): Remove unused variable btype. Add missing string_delete
110 call. Call string_delete instead of string_clear.
111 (demangle_fund_type): Move variable btype inside of the switch
112 statement. Add missing string_delete call.
113 (do_arg): Call string_delete instead of string_clear. Remove extra
114 string_init.
115 (demangle_nested_args): Free work->previous_argument.
116
073c427b
DD
1172003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
118
119 * acconfig.h: New file. Add uintptr_t.
120 * config.in: Regenerated.
121
f8bd3000
DD
1222003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
123
124 * libiberty.texi: Update to GFDL 1.2.
125
85b9a938
DD
1262003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
127
128 * Makefile.in (libiberty_topdir): New subst.
129 (mkinstalldirs): Redefine in terms of the above.
130 * configure.in: AC_SUBST it.
131 * configure: Regenerate.
132
578460f2
AO
1332003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
134
135 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
136 (info-subdir, install-info-subdir, clean-info-subdir)
137 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
138 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
139 Pass $(FLAGS_TO_PASS).
140
7f285245
AO
1412003-01-27 Alexandre Oliva <aoliva@redhat.com>
142
143 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
144 /`$$CC -print-multi-os-directory`.
145
5f9624e3
DJ
1462003-01-26 Daniel Jacobowitz <drow@mvista.com>
147
148 * hashtab.c (htab_create_alloc_ex): New function.
149 (hatab_set_functions_ex): New function.
150 (htab_delete, htab_expand): Support alternate allocation functions.
151
9c2259b8
DD
1522003-01-24 Christopher Faylor <cgf@redhat.com>
153
154 * configure.in: Remove special pex-cygwin consideration.
155 * configure: Regenerate.
156 * pex-cygwin.c: Remove.
157 * Makefile.in: Remove pex-cygwin.[co] lines.
158
5a17353c
DD
1592003-01-24 Zack Weinberg <zack@codesourcery.com>
160
161 * Makefile.in (CFILES): Add pex-*.c.
162 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
163 (CONFIGURED_OFILES): Add pex-*.o.
164 (TEXIFILES): Add pexecute.txh.
165 (pexecute.o): Delete rule.
166 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
167 pex-unix.o, pex-win32.o): New rules.
168 * configure.in: Change AC_INIT argument to xmalloc.c.
169 Compute appropriate pexecute implementation and substitute it
170 as @pexecute@.
171
172 * pexecute.c: Split up into...
173 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
174 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
175 new files.
176
177 * functions.texi: Regenerate.
178 * configure: Regenerate.
179
eed2b28c
DD
1802003-01-20 Josef Zlomek <zlomekj@suse.cz>
181
182 * hashtab.c (htab_expand): Fix allocation of new entries.
183
27a39a5f
DD
1842003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
185
186 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
187
188 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
189 mkinstalldirs command.
190
b51c1553
DD
1912002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
192
193 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
194 Define for hosts with HOST_EXECUTABLE_SUFFIX.
195
756954c3
DD
1962002-11-24 Nick Clifton <nickc@redhat.com>
197
198 * make-relative-prefix.c (make_relative_prefix): Ensure return
199 string is empty before using strcat to construct it.
200
2a80c0a4
DD
2012002-11-22 Daniel Jacobowitz <drow@mvista.com>
202
203 * Makefile.in: Add make-relative-prefix.c.
204 * make-relative-prefix.c: New file.
205 * functions.texi: Rebuilt.
206
768b20d8
JJ
2072002-11-16 Jakub Jelinek <jakub@redhat.com>
208
209 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
210 used with arguments in traditional C' warnings.
211
f52d1d64
JJ
2122002-10-16 Jakub Jelinek <jakub@redhat.com>
213
214 * config.table: Use mh-s390pic for s390x too.
215
0d3deb8d
DD
2162002-10-06 Andreas Jaeger <aj@suse.de>
217
218 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
219 variable and of strict-aliasing warning.
220 (grow_vect): Use char as first parameter.
221
1b67de92
DD
2222002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
223
224 * Makefile.in (all): Fix multilib parallel build.
225
585cc78f
DD
2262002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
227
228 * cp-demangle.c (demangling_new): Cast 0 to enum.
229 (demangle_char): Cast return of strdup to char *.
230 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
231 (is_gnu_v3_mangled_dtor): Likewise.
232 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
233 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
234 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
235 * md5.c (md5_process_bytes): Cast results back to const void *.
236 (md5_process_block): Add cast to const md5_uint32 *.
237 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
238 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
239 unsigned short.
240 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
241 to void *.
242 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
243
e21b0cc1
NC
2442002-09-19 Nick Clifton <nickc@redhat.com>
245
246 * README: Update email addresses for bugs and patches.
247
a54ba43f
DD
2482002-09-10 Mike Stump <mrs@apple.com>
249
250 * splay-tree.c (splay_tree_successor): Fix comments.
251
2522002-09-11 Zack Weinberg <zack@codesourcery.com>
253
254 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
255 * testsuite/Makefile.in: Adjust for test-demangle.
256 * testsuite/regress-demangle: Deleted.
257 * testsuite/test-demangle.c: New file.
258 * testsuite/demangle-expected: Change \$ to $ throughout, now that
259 this file is not being read by a shell script.
260
01cea699
DD
2612002-09-05 Roger Sayle <roger@eyesopen.com>
262
263 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
264
a2832523
DD
2652002-08-07 DJ Delorie <dj@redhat.com>
266
267 * regex.c (re_error_msgid): Just use a simple array of strings.
268 (re_compile_pattern): Compensate.
269 (re_comp): Likewise.
270 (re_comp): Likewise.
271 (regerror): Likewise.
272
1e3f0be0
DD
2732002-07-29 Neil Booth <neil@daikokuya.co.uk>
274
275 * cplus-dem.c (PREPEND_BLANK): Remove.
276
b851d07b
DD
2772002-07-10 Jason Merrill <jason@redhat.com>
278
279 * cp-demangle.c (demangle_identifier): Support extended Unicode
280 characters.
281
2a9dffbf
DD
2822002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
283
284 * cp-demangle.c (demangle_v3_with_details): Wrap in
285 !defined IN_GLIBCPP_V3.
286
793011ca
DD
2872002-07-01 Mark Mitchell <mark@codesourcery.com>
288
289 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
290 Set it for the "st" operator.
291 (demangle_expression): Handle expressions with types as arguments.
292
b39b76b8
DD
2932002-06-30 Douglas Rupp <rupp@gnat.com>
294
295 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
296 * Makefile.in (OUTPUT_OPTION): Use.
297
4748c6d8
DD
2982002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
299
300 * Makefile.in (install_to_libdir): Add $(DESTDIR).
301 (install_to_tooldir): Likewise.
302
f9c3326a
DD
3032002-06-17 Douglas Rupp <rupp@gnat.com>
304
305 * lbasename.c: Add 2002 to copyright.
306 (IS_DIR_SEPARATOR): Remove VMS junk.
307
18893690
DD
3082002-06-05 Geoffrey Keating <geoffk@redhat.com>
309
310 * hashtab.c (htab_create): New stub function for backward
311 compatibility.
312 (htab_try_create): Likewise.
313
3142002-06-03 Geoffrey Keating <geoffk@redhat.com>
315
316 * hashtab.c (htab_create): Delete.
317 (htab_try_create): Delete.
318 (htab_create_alloc): New.
319 (htab_delete): Support user-specified memory allocation.
320 (htab_expand): Likewise.
321
3222002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
323
324 * configure.in: Fix typo in the code checking for sys_errlist.
325 * configure: Regenerated.
326
9296c8b2
DD
3272002-05-13 Andreas Schwab <schwab@suse.de>
328
329 * config.table: Use mh-x86pic also for x86-64.
330
52d98c2d
DD
3312002-05-08 Alexandre Oliva <aoliva@redhat.com>
332
333 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
334 script entry, and set LD to it when configuring multilibs.
335 * configure: Rebuilt.
336
cafa3917
DD
3372002-05-07 Mark Mitchell <mark@codesourcery.com>
338
339 * configure.in (AC_TYPE_PID_T): Use it.
340 * configure: Regenerated.
341 * getruntime.c: Include <sys/types.h>.
342 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
343
b1c933fc
RH
3442002-04-09 Richard Henderson <rth@redhat.com>
345
346 * hashtab.c (higher_prime_number): Use 7 as minimum.
347 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
348 (htab_find_slot_with_hash): Likewise.
349
0c4460bb
DD
3502002-04-01 Phil Edwards <pme@gcc.gnu.org>
351
352 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
353 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
354 not compile if IN_GLIBCPP_V3 defined.
355 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
356
f2160d2b
DD
3572002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
358
3ebf1f59 359 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
f2160d2b
DD
360 if it is NULL.
361
7dd4d42a
DD
3622002-03-27 DJ Delorie <dj@redhat.com>
363
364 * hex.c: Add documentation.
365 (_hex_value): Provide non-ASCII empty table.
366 (hex_init): Initialize the non-ASCII table.
367 * functions.texi: Regenerate.
368
38e57a35
DD
3692002-03-27 Mark Mitchell <mark@codesourcery.com>
370
371 * dyn-string.c: Add libgcc exception to copyright notice.
372
cfed0715
DD
3732002-03-26 H.J. Lu (hjl@gnu.org)
374
375 * config.table: Support --with-build-subdir.
376 * configure.in: Likewise.
377 * configure: Rebuild.
378
1504972f
DD
3792002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
380
381 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
382 seen.
383
35efcd67
DD
3842002-03-12 Mark Mitchell <mark@codesourcery.com>
385
386 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
387 notice.
388
dabc64ea
DD
3892002-03-11 Douglas B Rupp <rupp@gnat.com>
390
391 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
392
3ddbd84c
JB
3932002-03-06 Jim Blandy <jimb@redhat.com>
394
395 * splay-tree.c (splay_tree_xmalloc_allocate,
396 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
397 prototyped definitions. Mark `data' arguments as unused.
398
efdab807
AC
3992002-03-06 Andrew Cagney <ac131313@redhat.com>
400
401 * floatformat.c (floatformat_arm_ext_big): Delete definition.
402
50d4562d
DD
4032002-03-04 Phil Edwards <pme@gcc.gnu.org>
404
405 * configure.in: Add --enable-install-libiberty option.
406 * Makefile.in (INSTALLED_HEADERS): New variable.
407 (install_to_libdir): Possibly also copy headers.
408 * configure: Regenerated.
409
4102002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
411
412 * xmalloc.c (xmalloc_fail): Clarify error message further.
413
6e9980f5
DD
4142002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
415
416 * xmalloc.c (xmalloc_fail): Clarify error message.
417
18893690 4182002-02-22 Jim Blandy <jimb@redhat.com>
2bbcdae9
JB
419
420 * splay-tree.c (splay_tree_xmalloc_allocate,
421 splay_tree_xmalloc_deallocate): New functions.
422 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
423 above functions and a dummy data pointer.
424 (splay_tree_new_with_allocator): New function.
425 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
426 splay_tree_remove): Use the splay tree's allocation and
427 deallocation functions.
428
59ea9fe7
DD
4292002-02-19 Scott Snyder <snyder@fnal.gov>
430
431 * testsuite/demangle-expected: Add test case for infinite loop in
432 demangler.
433 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
434 if do_type() doesn't make any progress --- prevents an infinite
435 loop.
436
6f848550
DD
4372002-02-18 Carlo Wood <carlo@gnu.org>
438
439 PR c++/5390
440 * cplus-dem.c (demangle_integral_value): Accept multi-digit
441 numbers that do not start with an underscore; This is needed
442 for integer template parameters. This doesn't break anything
443 because multi-digit numbers are never followed by a digit.
444 * testsuite/demangle-expected: Corrected all mangled test
445 cases with multi-digit template parameters: g++ 2.95.x does
446 not generate underscores around these parameters.
447
44354ae1
DD
4482002-02-05 Jason Merrill <jason@redhat.com>
449
450 * cplus-dem.c (flags): Add DMGL_VERBOSE
451 (cplus_demangle_v3_p): Remove.
452 (demangle_it): Add DMGL_TYPES to passed flags.
453 * cp-demangle.c (cplus_demangle_v3_all): Remove.
454 (cplus_demangle_v3_type): Remove.
455 (cplus_demangle_v3): Add options parm.
456
42da15d6
DD
4572002-02-02 H.J. Lu (hjl@gnu.org)
458
459 * cp-demangle.c (cp_demangle_type): Do not protect with
460 IN_LIBGCC2.
461 (cplus_demangle_v3_all): New.
462 (cplus_demangle_v3): Call cplus_demangle_v3_all.
463 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
464
465 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
466 Initialized to cplus_demangle_v3.
467 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
468 of cplus_demangle_v3.
469 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
470 command line symbol.
471
472 * testsuite/regress-demangle: Pass the mangled name at the
473 command line.
474
b117c158
DD
4752002-02-01 H.J. Lu <hjl@gnu.org>
476
477 * cp-demangle.c (cp_demangle_type): Call demangling_new with
478 DMGL_GNU_V3.
479
c78d91b1
DD
4802002-01-31 Phil Edwards <pme@gcc.gnu.org>
481
482 * cp-demangle.c: Revert yesterday's change.
483
bef8b55d
DD
4842002-01-31 Adam Megacz <adam@xwt.org>
485
486 * gcc/libiberty/configure.in: Treat mingw the same as cywin
487 wrt HAVE_SYS_ERRLIST.
488
2c955b8b
DD
4892002-01-30 Phil Edwards <pme@gcc.gnu.org>
490
491 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
492 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
493 cp_demangle_type.
494 * testsuite/demangle-expected: New gnu-v3 test.
495
58b1717a
RH
4962002-01-22 Momchil Velikov <velco@fadata.bg>
497
498 * configure.in (variable detection): Use arrays of unspecified
499 size instead of plain integers.
500
cc096b71
DD
5012002-01-18 DJ Delorie <dj@redhat.com>
502
503 * Makefile.in (TESTLIB): New. This library is for future
504 testsuites.
505 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
506 break down by letter.
507 (REQUIRED_OFILES): List long-to-compile files first.
508 (maint-deps): New, target for updating dependencies.
509 (dependencies): Update.
510 * maint-tool: Add dependency-generating option.
511 * configure.in: Check for _doprnt even if we're not providing it.
512 * configure: Regenerate.
513
514 * _doprnt.c: Modifications to allow compiling on any platform.
515 * copysign.c: Likewise.
516 * putenv.c: Likewise.
517 * setenv.c: Likewise.
518 * vsprintf.c: Likewise.
519
5202002-01-15 Douglas B Rupp <rupp@gnat.com>
521
522 * mkstemps.c (mkstemps): On VMS, open temp file with option
523 that causes it to be deleted when closed.
524
20d54542
DD
5252002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
526
c23795e2
DD
527 * cp-demangle.c (long_options): Const-ify.
528 * cplus-dem.c (long_options): Likewise.
529
20d54542
DD
530 * cplus-dem.c (mystrstr): Delete. All callers changed to use
531 strstr instead.
532
f348a7b1
DD
5332001-12-31 Ira Ruben <ira@apple.com>
534
535 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
536 * configure: Regenerated.
537
d86cd745
DD
5382001-12-24 Douglas B. Rupp <rupp@gnat.com>
539
540 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
541 * configure: Regenerated.
542
ae533646
DD
5432001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
544
545 PR other/2719
546 * cplus-dem.c (consume_count): Treat negative count as an error.
547 * testsuite/demangle-expected: Added testcase.
548
c0eb281b
DD
549Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
550
551 * configure.in: Hardcode that vfork works on VMS host.
552 * configure: Regenerated.
553
2da4c07f
RH
5542001-12-06 Richard Henderson <rth@redhat.com>
555
556 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
557 (cplus_demangle): Support no_demangling.
558
24acd898
DD
5592001-11-27 Zack Weinberg <zack@codesourcery.com>
560
561 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
562 in libiberty context. Fix typo in leading comment.
563 * configure.in: Fix various AC_DEFINEs so autoheader works.
564 If any of vprintf, vsprintf, vfprintf is missing from libc,
565 then AC_REPLACE_FUNCS(_doprnt).
566
fec50157 5672001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 568 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
569
570 * Makefile.in (stamp-h): Depend on Makefile for proper
571 serialization.
572 (*-subdir): Depend on config.h for proper serialization.
573
5527febf
DD
5742001-11-26 DJ Delorie <dj@redhat.com>
575
576 * configure.in: Check for alloca.h (for regex.c and putenv.c).
577 * configure: Regenerate.
578 * config.h: Add HAVE_ALLOCA_H.
579
941d74a0
DD
5802001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
581
582 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
583 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
584 is available.
585
dc579051
DD
586Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
587
588 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
589 * configure.in (HAVE_UINTPTR_T): Test for system defining
590 uintptr_t and define HAVE_UINTPTR_T appropriately.
591 * regex.c (uintptr_t): Do not provide a definition if the
592 system provided one.
593
594 * regex.c (PREFIX): Provide an alternate definition for
595 non-ANSI/ISO compilers.
596 (ARG_PREFIX): Likewise.
597
1a78a35a
DD
5982001-11-12 Jim Meyering <meyering@lucent.com>
599
600 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
601 this code would end up calling gettext even in packages built
602 with --disable-nls.
603 * getopt.c (_): Likewise.
604 * regex.c (_): Likewise.
605
4e55c4b6
DD
6062001-11-03 Alan Modra <amodra@bigpond.net.au>
607
608 * configure.in: Cope with missing makeinfo.
609 * configure: Regenerate.
610
d311a83a
DD
6112001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
612
613 * hex.c (hex_init): Provide empty stub.
614
615 * hex.c (hex_init): Delete.
616 (_hex_value): Const-ify and initialize at compile-time.
617
3bc62f91
DD
6182001-10-19 H.J. Lu <hjl@gnu.org>
619
620 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
621 necessary.
622
5d852400
DD
6232001-10-17 DJ Delorie <dj@redhat.com>
624
625 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
626 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 627 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
628 Improve manual formatting.
629 * functions.texi: Regenerate.
630
ba19b94f
DD
6312001-10-15 DJ Delorie <dj@redhat.com>
632
633 * Makefile.in (TEXIFILES): Add fnmatch.txh.
634 (maint-undoc): New.
635 maint-tool: Add "undoc" tool.
636 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
637 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
638 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
639 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
640 documentation.
641 * fnmatch.txh: New.
642 * functions.texi: Regenerate.
643
56056af5
DD
6442001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
645
646 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
647 * strtod.c: Use "ISO C" instead of "ANSI C".
648 * functions.texi: Regenerate.
649
99b58139
DD
6502001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
651
652 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
653 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
654 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
655 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
656 spelling. Give names to function arguments in documentation. Use
657 (void) prototypes in documentation.
658 * functions.texi: Regenerate.
659
e6450fe5
DD
6602001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
661
662 * argv.c (buildargv, tests, main): Const-ify.
663 * cp-demangle.c (operator_code): Likewise.
664 * cplus-dem.c (optable, libiberty_demanglers,
665 cplus_demangle_set_style, cplus_demangle_name_to_style,
666 print_demangler_list): Likewise.
667 * hashtab.c (higher_prime_number): Likewise.
668 * strcasecmp.c (charmap): Likewise.
669 * strerror.c (error_info, strerror, main): Likewise.
670 * strncasecmp.c (charmap): Likewise.
671 * strsignal.c (signal_info): Likewise.
672
da191b5b
DD
6732001-09-29 DJ Delorie <dj@redhat.com>
674
675 * configure: Regenerate.
676
916aaa12
DD
6772001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
678
679 * concat.c: Include stdlib.h.
680
fa9f0e33
DD
6812001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
682
683 * libiberty.texi: (Top level): Add syncodeindex pg. Add
684 @dircategory and @direntry directives. Add @finalout.
685 (many nodes): Lose the next,prev,up pointers on the @nide line.
686 (Using, Supplemental Functions, Replacement Functions): Fix
687 markup.
688 (Functions): Move around, to allow makeinfo to build the manual
689 without next,prev,up pointers in thye node lines.
690 (Licenses): Fix typos.
691
692 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
693 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
694 * functions.texi: Regenerate.
695
696 * copying-lib.texi: Lose the next,prev,up pointers on the @node
697 line.
698
6992001-09-27 DJ Delorie <dj@redhat.com>
700
701 * configure.in: Don't use in-tree texinfo, because libiberty must
702 be built before it. Check for makeinfo version 4 or higher.
703 * functions.texi: Regenerate.
704
39423523
DD
7052001-09-20 DJ Delorie <dj@redhat.com>
706 Phil Edwards <pedwards@disaster.jaj.com>
707
708 * configure.in (MAKEINFO, PERL): Detect these.
709 (--enable-maintainer-mode): Add.
710 * configure: Regenerate.
711 * Makefile.in (MAKEINFO, PERL): Define.
712 (libiberty.info, libiberty.dvi, libiberty.html): New.
713 (CFILES): Add bsearch.c.
714 (CONFIGURED_OFILES): New, list of objects configure might add.
715 (maint-missing, maint-buildall): New, for maintainers only.
716 (clean, mostlyclean): Add info/dvi/html files.
717 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
718 * gather-docs: New, for maintainers.
719 * maint-tool: New, for maintainers.
720 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
721 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
722 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
723 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
724 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
725 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
726 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
727 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
728 documentation.
729
66c94e19
DD
7302001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
731
732 * concat.c (reconcat): Fix for traditional C.
733
99ee3a8f
DD
7342001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
735
736 * concat.c (reconcat): New function.
737
54c20242
DD
7382001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
739
740 * concat.c (vconcat_length, vconcat_copy, concat_length,
741 concat_copy, concat_copy2): New functions.
742 (concat): Use vconcat_length/vconcat_copy.
743
744 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
745 Define.
746
843f21be
DD
7472001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
748
749 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
750 VA_FIXEDARG & VA_CLOSE.
751
752 * vasprintf.c: Check HAVE_STRING_H when including string.h.
753 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
754 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
755
8a423cb3
DD
7562001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
757
758 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
759
dc676635
DD
7602001-08-23 Ulrich Drepper <drepper@redhat.com>
761
762 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
763
7642001-08-23 Ulrich Drepper <drepper@redhat.com>
765
766 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
767 instead of mbrtowc.
768 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
769 wcslen, and __wcscoll instead of wcscoll.
770
f080c76d
DD
7712001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
772
3ebf1f59
DD
773 * fibheap.c (fibheap_init, fibnode_init): Remove.
774 (fibheap_new, fibnode_new): Use xcalloc to allocate and
775 initialize memory.
776 (fibheap_insert): Remove check for node allocation failure.
f080c76d 777
f01b59ed
DD
7782001-08-21 Richard Henderson <rth@redhat.com>
779
780 * Makefile.in (fibheap.o): Depend on config.h.
781 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
782 functions for inlining.
783
784Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
785
786 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
787 hosting on cygwin.
788 * configure: Regenerate.
789
eb828599
AC
7902001-08-20 Andrew Cagney <ac131313@redhat.com>
791
792 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
793 HARRIS_FLOAT_FORMAT.
794 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
795 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
796 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
797 (floatformat_m88110_harris_ext): New float formats.
798
4e55c4b6
DD
7992001-08-20 Daniel Berlin <dan@cgsoftware.com>
800
801 * fibheap.c: New file. Fibonacci heap.
802
803 * Makefile.in (CFILES): Add fibheap.c.
804 (REQUIRED_OFILES): Add fibheap.o.
805 (fibheap.o): Add dependencies for fibheap.o.
806
68a41de7
DD
8072001-08-17 Christopher Faylor <cgf@cygnus.com>
808
809 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
810 * configure: Regenerate.
811
8fc34799
DD
8122001-08-16 Richard Henderson <rth@redhat.com>
813
814 * hashtab.c (htab_hash_string): New.
815
16bad250
AC
8162001-08-13 Andrew Cagney <ac131313@redhat.com>
817
818 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
819 name.
820
a9022147
DD
8212001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
822
823 * regex.c (wcs_regex_compile): Use appropriate string
824 to compare with collating element.
825 Fix the padding for the alignment.
826
8aefe91a 8272001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
828
829 * lbasename.c (lbasename): Change function definition to return a
830 const char pointer.
831
e7e9b069
DD
8322001-08-07 Jason Merrill <jason_merrill@redhat.com>
833
834 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
835 for".
836
cc5144f8
DD
8372001-08-03 Richard Henderson <rth@redhat.com>
838
839 * Makefile.in (concat.o): Depend on config.h.
840
8aefe91a
DD
8412001-07-30 Andreas Jaeger <aj@suse.de>
842
843 * concat.c: Include "config.h".
844
86710ce2
DD
8452001-07-30 Andreas Jaeger <aj@suse.de>
846
847 * regex.c: Declare wcs functions only if compiling with
848 MBS_SUPPORT.
849 Don't use #elif for traditional C.
850
8512001-07-23 Ulrich Drepper <drepper@redhat.com>
852
853 * regex.c: Revamp memory allocation for WCHAR functions to
854 not use too much stack.
855
8562001-07-30 Andreas Jaeger <aj@suse.de>
857
858 * regex.c: Declare wcs functions only if compiling with
859 MBS_SUPPORT.
860 Don't use #elif for traditional C.
861
a5d8f731
DD
8622001-07-25 Daniel Jacobowitz <drow@mvista.com>
863
864 * Makefile.in (regex.o): Add dependency on config.h.
865
6ad8a379
DD
8662001-07-18 Andreas Schwab <schwab@suse.de>
867
868 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
869 underscore character.
870
8712001-07-18 Ulrich Drepper <drepper@redhat.com>
872
873 * regex.c: Limit string length printed in debug messages to 100
874 chars.
875
8762001-07-18 Andreas Jaeger <aj@suse.de>
877
878 * regex.c: Place under LGPL version 2.1.
879
2a6ef469
DD
8802001-07-10 Jeff Johnston <jjohnstn@redhat.com>
881
882 * Makefile.in: Add support for regex code.
883 * regex.c: New file.
884
7b78baae
DD
8852001-07-05 Mark Klein <mklein@dis.com>
886
887 * Makefile.in: Add ffs.c dependency.
888 * configure.in: Add ffs.c.
889 * ffs.c: New file.
890
926150e2
DD
8912001-06-18 Richard Henderson <rth@redhat.com>
892
893 * concat.c: Include <sys/types.h>.
894
11f6f21d
DD
8952001-06-11 Loren J. Rittle <ljrittle@acm.org>
896
897 bootstrap/3106
898 * strerror.c (sys_nerr): Hide the OS header version.
899 * strsignal.c (sys_nsig): Likewise.
900
d42dae6c
DD
9012001-06-10 Richard Henderson <rth@redhat.com>
902
903 * concat.c: Include string.h. Fix int vs size_t usage.
904 Simplify the iteration loops. Use memcpy.
905
e05c6d27
DD
9062001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
907
908 * partition.c: Fix misspelling of `implementation'.
909
b50c4073
DD
9102001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
911
912 * md5.c (md5_init_ctx): Declare constants as unsigned.
913 (md5_process_block): Likewise.
914
457161bf
DD
9152001-05-07 Zack Weinberg <zackw@stanford.edu>
916
917 * cp-demangle.c (demangle_v3_with_details,
918 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
919 function definition.
920 * ternary.c: Use K+R style function definitions. Use PTR, not
921 void *. Make arguments constant where possible.
922
e00bc6a7
DD
9232001-05-07 Mark Mitchell <mark@codesourcery.com>
924
925 * splay-tree.h (splay_tree_max): New function.
926 (splay_tree_min): Likewise.
927
400ee7e1
DB
9282001-04-15 Daniel Berlin <dan@cgsoftware.com>
929
930 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
931
932 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 933
d9697354
DD
9342001-04-03 Zack Weinberg <zackw@stanford.edu>
935
936 * make-temp-file.c (try): Inline.
937
a7bf099b
DD
9382001-02-28 Richard Henderson <rth@redhat.com>
939
940 * Makefile.in (make-temp-file.o): Depend on config.h.
941
30a1def2
DD
9422001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
943
944 * memchr.c (memchr): Adjust condition to avoid infinite loop.
945
079c672a
DD
9462001-03-23 Jakub Jelinek <jakub@redhat.com>
947
948 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
949 `_' not followed by a digit is invalid.
950
a88e356a
JB
9512001-03-22 Jim Blandy <jimb@redhat.com>
952
953 * cp-demangle.c (string_list_delete): Use dyn_string_delete
954 instead of free, to free the contents as well as the string
955 structure.
956
1dffcc66
DD
9572001-03-21 Zack Weinberg <zackw@stanford.edu>
958
959 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
960 Don't default P_tmpdir to anything. Try /var/tmp before
961 /usr/tmp.
962
9632001-03-20 Zack Weinberg <zackw@stanford.edu>
964
965 * choose-temp.c: Split off make_temp_file, and the code
966 duplicated between it and choose_temp_base, into...
967 * make-temp-file.c: ... here; new file.
968
969 * Makefile.in (CFILES): Add make-temp-file.c.
970 (REQUIRED_OFILES): Add make-temp-file.o.
971
e61231f1
JB
9722001-03-20 Jim Blandy <jimb@redhat.com>
973
974 * cp-demangle.c (struct demangling_def): New fields:
975 is_constructor and is_destructor.
976 (demangling_new): Initialize them.
977 (demangle_ctor_dtor_name): Set them, if we detect a constructor
978 or destructor.
979 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
980 is_gnu_v3_mangled_dtor): New functions.
981
a9cbbe6d
DD
9822001-03-20 Jason Merrill <jason@redhat.com>
983
984 * cplus-dem.c (main): Skip initial $.
985
b1e51b3c
DD
9862001-03-15 Michael Meissner <meissner@redhat.com>
987
988 * hashtab.c (higher_prime_number): Silence warning that 4294967291
989 might be a signed integer under pre-ISO C systems.
990
8aa30e60 9912001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 992 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 993
8aa30e60
DD
994 * libiberty/lbasename.c: New file.
995 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 996
30673bf5
DD
9972001-03-06 Zack Weinberg <zackw@stanford.edu>
998
999 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1000 * configure.in: Replace all alloca logic with a simple use of
1001 the above new macro.
1002 * config.table: Kill *-*-beos* entry.
1003 * config/mh-beos: Delete.
1004 * configure, config.in: Regenerate.
fa03f0a7 1005
30673bf5
DD
1006 * Makefile.in (ALLOCA, HFILES): Kill.
1007 (REQUIRED_OFILES): Add alloca.o.
1008 (alloca.o): Depend on libiberty.h.
1009 (argv.o): Don't depend on alloca-conf.h.
1010 * alloca-conf.h: Delete.
1011 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1012 blocks. Provide the C alloca unconditionally. Use PTR where
1013 appropriate. Make i00afunc static.
1014 * argv.c: Don't include alloca-conf.h.
fa03f0a7 1015
5810f394
DD
10162001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1017
1018 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 1019
a9db032a
DD
10202001-02-16 Loren J. Rittle <ljrittle@acm.org>
1021
1022 * cplus-dem.c (main): Initialize style.
fa03f0a7 1023
8aefe91a
DD
10242001-02-02 Phil Edwards <pme@sources.redhat.com>
1025
1026 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1027
bc9bf259
DD
10282001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1029
1030 Add support for Java demangling under the v3 ABI:
1031 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1032 (struct demangling_def): Add `style' field.
1033 (demangling_new): New parameter `style'. Set it in demangling_t.
1034 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1035 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1036 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1037 (main): Call cp_demangle with extra parameter.
1038 (java_demangle_v3): New function.
1039 (java_builtin_type_names): New. Table of primitive type names used
1040 for Java demangling.
1041 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1042 Java output.
1043 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
1044 demangling.
1045 (long_options): Remove obsolete `java' option.
1046 (main): Remove explicit handling of `java' option. Instead, pass style
1047 parameter in cplus_demangle flags as gdb does.
1048 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 1049
f6528837
DD
10502000-12-29 DJ Delorie <dj@redhat.com>
1051
1052 * fnmatch.c: Make the note about the origins of this file more
1053 accurate, at least until we can sync with glibc.
1054 * getopt.c: Ditto.
1055 * getopt1.c: Ditto.
1056 * md5.c: Ditto.
1057 * obstack.c: Ditto.
9d969b59 1058
c6da642e
DD
10592000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1060
1061 * bsearch.c: New file.
1062 * configure.in (funcs): Add bsearch.
1063 (AC_CHECK_FUNCS): Likewise.
1064 * configure, config.in: Regenerate.
1065
ae7d06ad 10662000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1067
1068 * safe-ctype.c: #include "ansidecl.h".
1069 * strtod.c: Likewise.
1070
ae7d06ad 10712000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
1072
1073 * strtoul.c: Include safe-ctype.h, not ctype.h.
1074
ac424eb3
DD
10752000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1076
1077 * safe-ctype.c: New file.
1078 * Makefile.in (CFILES): Add safe-ctype.c.
1079 (REQUIRED_OFILES): Add safe-ctype.o.
1080
1081 * argv.c: Define ISBLANK and use it, not isspace.
1082 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1083 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1084 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1085 before calling TOLOWER(c)/TOUPPER(c).
1086
4415a860
DD
10872000-12-07 Mike Stump <mrs@wrs.com>
1088
1089 * Makefile.in (distclean): When cleaning, remove testsuite.
1090
849ee224
DD
10912000-12-05 Jason Merrill <jason@redhat.com>
1092
1093 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
1094 name before allocating the dyn_string.
1095
ae7d06ad 10962000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
1097
1098 * cp-demangle.c: s/new_abi/v3/.
1099 * cplus-dem.c: Likewise.
1100 (current_demangling_style): Now auto_demangling.
1101 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 1102 (main): Use standard symbol chars for auto_demangling.
e49a569c 1103
ae7d06ad 11042000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
1105
1106 * hashtab.c (higher_prime_number): Use a table, rather than a
1107 seive, to find the next prime.
ae7d06ad
NC
1108
11092000-11-22 H.J. Lu <hjl@gnu.org>
1110
1111 * cplus-dem.c (main): Handle gnat_demangling.
1112
11132000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
1114
1115 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
1116 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
1117 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
1118 argument form of AC_DEFINE in dummy definitions block. Use
1119 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
1120 in dummy block. Preload cache variables instead of bypassing
1121 tests, where possible.
1122 * acconfig.h: Removed.
ae7d06ad 1123
2ea7befd
DD
1124 * xmalloc.c (xmalloc_failed): New function, does error
1125 reporting on failed allocation.
1126 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 1127
f1775526
HPN
11282000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
1129
1130 * cplus-dem.c (cplus_demangle): Fix formatting.
1131 (grow_vect): Ditto.
1132 (ada_demangle): Ditto.
1133 (internal_cplus_demangle): Ditto.
1134 (mop_up): Ditto.
1135
11362000-11-21 H.J. Lu <hjl@gnu.org>
1137
1138 * cplus-dem.c (main): Handle java_demangling.
1139
ae7d06ad 11402000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
1141
1142 * cplus-dem.c (grow_vect): Prototype.
1143 (ada_demangle): Cast the arg of ctype macros to unsigned char.
1144
5dd42ef4
HPN
11452000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
1146
1147 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
1148 parameter `option'.
1149
296731c1
DD
11502000-11-15 Kenneth Block <kenneth.block@compaq.com>
1151
8944fb9d 1152 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
1153 be used in GCC.
1154
6e53a714 11552000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 1156
5dd42ef4 1157 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
1158 list.
1159
99a4c1bd
HPN
11602000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
1161
1162 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
1163 xcalloc depending on htab->return_allocation_failure. Return zero
1164 if calloc fails.
99a4c1bd
HPN
1165 (htab_create): Update comment to cover memory allocation.
1166 (htab_try_create): New.
1167 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 1168 Update comment to cover this.
99a4c1bd 1169
e0f3df8f
HPN
11702000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
1171
1172 * hashtab.c: Change void * to PTR where necessary.
1173 (htab_create, htab_expand): Correct formatting of comment before
1174 function.
1175
ae7d06ad 11762000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
1177
1178 * cp-demangle.c (string_list_def): Add caret_position and comments.
1179 (result_caret_pos): New macro.
1180 (result_append_string): Rename to...
1181 (result_add_string): ... this, and insert at caret position.
ae7d06ad 1182 Rename throughout.
59666b35
DD
1183 (result_append): Rename to...
1184 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 1185 throughout.
59666b35
DD
1186 (result_append_char): Rename to...
1187 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 1188 throughout.
59666b35
DD
1189 (result_append_space): Remove.
1190 (string_list_new): Initialize caret position.
1191 (result_add_separated_char): Use caret position.
1192 (result_get_caret): New funtion.
1193 (result_set_caret): Likewise.
1194 (result_shift_caret): Likewise.
1195 (result_previous_char_is_space): Likewise.
1196 (substitution_start): Use caret position.
1197 (substitution_add): Likewise.
1198 (demangling_new): Initialize caret position.
1199 (demangle_encoding): Use caret position.
ae7d06ad 1200 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
1201 (demangle_type_ptr): Use switch statement. Handle pointers to
1202 arrays. Don't use result_append_space. Use caret position.
1203 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
1204 call to demangle_array_type.
1205 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 1206
ae7d06ad 12072000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1208
1209 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
1210
12112000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1212
1213 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
1214
12152000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1216
1217 * splay-tree.c: #include <stdio.h>.
1218
12192000-09-14 Hans-Peter Nilsson <hp@axis.com>
1220
1221 * testsuite/demangle-expected: Add two tests for anonymous
1222 namespaces.
1223 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
1224
12252000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
1226
1227 * splay-tree.c (splay_tree_predecessor): New function.
1228 (splay_tree_successor): Likewise.
ae7d06ad
NC
1229
12302000-09-10 Hans-Peter Nilsson <hp@axis.com>
1231
1232 * testsuite/demangle-expected: Add four tests for type_info
1233 mangling.
1234 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
1235 for a non-template non-qualified type_info function or node.
1236
12372000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1238
1239 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
1240
12412000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1242
1243 * md5.c: #include "ansidecl.h".
1244
12452000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1246
1247 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
1248 (demangle_type): Handle substitution candidates correctly in the
1249 face of special substitutions.
ae7d06ad
NC
1250
12512000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1252
1253 * cp-demangle.c (demangle_encoding): Rename variable.
1254 (demangle_name): Rename parameter. Handle return type
1255 suppression.
1256 (demangle_nested_name): Rename parameter.
1257 (demangle_prefix): Likewise. Change return type suppression.
1258 (demangle_unqualified_name): Add parameter. Flag constructors and
1259 conversion operators.
1260 (demangle_special_name): Fix comment.
1261 (demangle_type): Rename variable.
1262 (demangle_bare_function_type): Check for missing return type and
1263 parameter.
1264 (demangle_class_enum_type): Rename parameter.
1265 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
1266
12672000-08-31 DJ Delorie <dj@redhat.com>
1268
1269 * configure.in (Cygwin): special case cygwin only when we're
1270 building cygwin, not when we're hosting cygwin.
1271
12722000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1273
1274 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
1275 <expression>.
ae7d06ad
NC
1276
12772000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1278
1279 * cp-demangle.c (demangle_type_ptr): Increment position past
1280 pointer and reference characters.
ae7d06ad
NC
1281
12822000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1283
1284 * cp-demangle.c (demangle_nv_offset): New function.
1285 (demangle_v_offset): Likewise.
1286 (demangle_call_offset): Likewise.
1287 (demangle_special_name): Update thunk demangling to comply with
1288 ABI changes.
ae7d06ad
NC
1289
12902000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1291
1292 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
1293 (substitution_def): Remove template_parm_number.
1294 (NOT_TEMPLATE_PARM): Remove.
1295 (result_insert_string): New macro.
1296 (result_insert): Likewise.
1297 (result_insert_char): Likewise.
1298 (substitution_add): Remove last parameter. Don't store template
1299 parm number.
1300 (BFT_NO_RETURN_TYPE): Define as NULL.
1301 (demangle_encoding): Adjust call to demangle_bare_function_type.
1302 (demangle_name): Adjust substitution. Adjust call to
1303 substitution_add.
1304 (demangle_prefix): Adjust call to substitution_add.
1305 (demangle_identifier): Handle anonymous namespaces.
1306 (demangle_operator_name): Change demangling of vendor-extended
1307 operator to match ABI changes.
1308 (demangle_type_ptr): Change parameters. Make recursive. Handle
1309 substitutions here.
1310 (demangle_type): Adjust calls to demangle_template_param,
1311 substitution_add, and demangle_type_ptr. Fix substitution of
1312 templated types.
1313 (demangle_function_type): Change parameter to a pointer.
1314 (demangle_bare_function_type): Likewise. Adjust insertion point.
1315 (demangle_template_param): Remove last parameter.
1316 (demangle_expr_primary): Remove unused variable. Adjust call to
1317 demangle_template_param.
1318 (is_mangled_char): Accept `$' and `.'.
1319 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
1320 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
1321
13222000-08-31 Hans-Peter Nilsson <hp@axis.com>
1323
1324 * testsuite/demangle-expected: Add nine tests for
1325 underscore-after-number followed by five tests for name-signature
1326 delimiter.
1327
13282000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
1329
1330 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
1331
13322000-08-28 Jason Merrill <jason@redhat.com>
1333
1334 * Makefile.in (REQUIRED_OFILES): Add md5.o.
1335 (CFILES): Add md5.c.
1336 * md5.c: New file.
1337
13382000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1339
1340 * cp-demangle.c (demangle_name): Initialize template_p in local
1341 name case. Don't re-add substitutions as candidates.
1342 (demangle_nested_name): Use <unqualified-name>.
1343 (demangle_prefix): Likewise. Don't add template names as
1344 substitution candidates twice, or re-add a substitution or the
1345 last prefix component.
1346 (demangle_local_name): Adjust output format.
ae7d06ad
NC
1347
13482000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1349
1350 * cp-demangle.c (result_add_separated_char): Change parameter to
1351 int.
1352 (substitution_add): Don't check for duplicates. Check if
1353 previously allocated size is zero.
1354 (demangle_name): Remove duplicate check for std substitution.
1355 Clear template flag appropriately.
1356 (demangle_prefix): Remove argument to demangle_substitution.
1357 Don't check that template flag is already set.
1358 (demangle_operator_name): Add pt operator.
1359 (demangle_type): Don't treat r as built-in type. Remove argument
1360 to demangle_substitution. Fix substitution candidate mechanics.
1361 Handle <template-template-parm>s. Improve comments.
1362 (demangle_template_param): Don't handle template arg lists here.
1363 (demangle_substitution): Remove parameter.
1364 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
1365
13662000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1367
1368 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
1369
13702000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
1371
1372 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
1373 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
1374 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
1375
13762000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
1377
1378 * cp-demangle.c (result_close_template_list): Remove function.
1379 (result_add_separated_char): New function.
1380 (result_open_template_list): New macro.
1381 (result_close_template_list): Likewise.
1382 (demangle_prefix): Don't set template_p if the
1383 prefix ends with a ctor name.
1384 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
1385 (demangle_type): Check for template args after substitution.
1386 (demangle_template_args): Use result_open_template_list.
d3e85005 1387
ae7d06ad 13882000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 1389
ae7d06ad 1390 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 1391
ae7d06ad 13922000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
1393
1394 * config/mh-openedition.h: Added -DLE370 definition.
1395
a9f34fb6
JL
13962000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
1397
1398 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
1399 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
1400 Cast program to 'char *' in errmsg_arg assignment.
1401 (PWAIT_ERROR): Define.
1402 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
1403 to DJGPP's WIF* macros.
1404
90aaccd1 14052000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 1406 Jeff Law <law@cygnus.com>
90aaccd1 1407
ae7d06ad 1408 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 1409
90aaccd1 1410 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
1411 * rename.c: Include config.h, unistd.h
1412 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 1413
6ef554e3
HPN
14142000-07-24 Hans-Peter Nilsson <hp@axis.com>
1415
1416 * cplus-dem.c (work_stuff_copy_to_from): New.
1417 (delete_non_B_K_work_stuff): New.
1418 (delete_work_stuff): New.
1419 (mop_up): Break out work_stuff partly destruction to
1420 delete_non_B_K_work_stuff.
1421 (iterate_demangle_function): New.
1422 (demangle_prefix): Call iterate_demangle_function instead of
1423 demangle_function_name. Leave handling of name-signature
1424 __-delimiters to iterate_demangle_function.
1425 (demangle_integral_value): Strip an optional
1426 following underscore cautiously. Handle negative numbers.
1427
ae7d06ad 14282000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 1429
ae7d06ad 1430 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
1431 if (AUTO_DEMANGLING || GNU_DEMANGLING)
1432
ae7d06ad
NC
14332000-07-21 Alex Samuel <samuel@codesourcery.com>
1434
1435 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
1436 allocating ctor mangling.
1437 (demangle_array_type): Handle empty and non-constant array length.
1438
b1233257 14392000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
1440 Jeff Law <law@cygnus.com>
1441
1442 * configure.in (AC_CHECK_HEADERS): Add time.h.
1443 (AC_HEADER_TIME): Add check.
1444 * configure, config.in: Regenerate.
1445 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
1446
1447 * configure.in (AC_CHECK_HEADERS): Add limits.h.
1448 * configure, config.in: Regenerate.
1449 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
1450 * strtol.c, strtoul.c: #include "config.h". Portably #include
1451 <limits.h> and/or <sys/param.h>.
1452 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 1453
7d3ffcaf
JL
1454 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
1455 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
1456 * configure, config.in: Regenerate.
1457 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
1458
b1233257
JL
1459 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
1460
ae7d06ad
NC
14612000-07-21 Mike Stump <mrs@wrs.com>
1462
1463 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
1464 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
1465
14662000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1467
1468 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
1469
1470 * setenv.c (setenv): Initialize variable `ep'.
1471
1472 * sigsetmask.c (abort): Prototype.
1473
1474 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
1475 __STDC__ for stdarg.h include.
1476 (int_vasprintf): Prototype.
1477 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
1478 definition. Cast `global_total_width' in comparison.
1479 (main): Prototype. Return a value.
1480
1481 * vfork.c (fork): Prototype.
1482
1483 * xexit.c: Include config.h.
1484
9adf30b2
JL
14852000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1486
1487 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1488 and print it with %u.
1489
2ed78d1b
HPN
14902000-07-17 Hans-Peter Nilsson <hp@axis.com>
1491
1492 * testsuite/regress-demangle (failed test): Show result and
1493 expected output.
1494
0473bdf7
AH
14952000-07-07 Andrew Haley <aph@cygnus.com>
1496
1497 * cplus-dem.c (main): fflush() after emitting last char before
1498 waiting for input.
1499
03d5f569
JM
15002000-06-28 Alex Samuel <samuel@codesourcery.com>
1501
1502 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1503 (demangle_name): Handle <substitution> followed by
1504 <unqualified-template-name>.
1505 (demangle_type): Follow special substitutions with
1506 <class-enum-type>
1507 (demangle_subtitution): Set template_p for special substitutions.
1508 (main): Fix typos.
ae7d06ad 1509
03d5f569
JM
15102000-06-27 Alex Samuel <samuel@codesourcery.com>
1511
1512 * cp-demangle.c (demangle_special_name): Swap base and derived
1513 class when demangling construction vtables.
1514
15152000-06-21 Alex Samuel <samuel@codesourcery.com>
1516
1517 * cp-demangle.c: Don't include ctype.h.
1518 (IS_DIGIT): New macro.
1519 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1520 instead of isdigit and isalpanum.
1521 (demangling_def): Make name and next const pointers.
1522 (STATUS_ALLOCATION_FAILED): New status code.
1523 (dyn_string_append_space): Handle failure in
1524 dyn_string_append_char.
1525 (int_to_dyn_string): Likewise. Change return value to status_t.
1526 (string_list_new): Handle failure of dyn_string_init.
1527 (result_close_template_list): Change return type to status_t.
1528 Handle failure in dyn_string_append.
1529 (result_push): Change return value to status_t. Handle failure in
1530 string_list_new. Handle failure of result_push throughout.
1531 (substitution_add): Change return value to status_t. Handle
1532 dyn_string failures. Handle failure of substitution_add
1533 throughout.
1534 (template_arg_list_new): Return NULL on allocation failure.
1535 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1536 Handle error result throughout.
1537 (result_append): Likewise.
1538 (result_append_char): Likewise.
1539 (result_append_space): Likewise.
1540 (demangling_new): Make argument a const pointer. Handle
1541 allocation failures.
1542 (demangle_template_args): Handle failure in template_arg_list_new
1543 and result_close_template_list.
1544 (demangle_discriminator): Return if int_to_dyn_string fails.
1545 (cp_demangle): Likewise.
1546 (cp_demangle_type): New function.
1547 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1548 memory allocation failure.
1549 (main): Likewise.
1550 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1551 IN_LIBGCC2.
1552 (dyn_string_init): Change return value to int. Handle
1553 RETURN_ON_ALLOCATION_FAILURE case.
1554 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1555 (dyn_string_release): Delete the dyn_string.
1556 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1557 (dyn_string_copy): Change return type to int.
1558 (dyn_string_copy_cstr): Likewise.
1559 (dyn_string_prepend): Likewise.
1560 (dyn_string_prepend_cstr): Likewise.
1561 (dyn_string_insert): Likewise.
1562 (dyn_string_insert_cstr): Likewise.
1563 (dyn_string_append): Likewise.
1564 (dyn_string_append_cstr): Likewise.
1565 (dyn_string_append_char): Likewise.
1566 (dyn_string_substring): Likewise.
ae7d06ad 1567
eb383413 15682000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1569
eb383413
L
1570 * cp-demangle.c (demangle_operator_name): Add spaces before
1571 names beginning with a letter: delete, delete[], new, new[],
1572 sizeof.
1573 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1574
eb383413
L
1575Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1576
1577 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1578
1579Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1580
1581 * cp-demangle.c (stdio.h): File included unconditionaly.
1582 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1583 * dyn-string.c (stdio.h): File included.
1584 * partition.c (partition_print): No `&' needed to take the address of
1585 a function.
1586
15872000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1588
1589 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1590
eb383413
L
1591 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1592
1593 * cp-demangle.c (demangle_char): Change parameter from char to int.
1594 (demangle_expression, demangle_expr_primary): Remove extra
1595 semi-colon in prototype.
1596
1597 * dyn-string.c (dyn_string_append_char): Change parameter from
1598 char to int.
1599
1600 * memcmp.c (memcmp): Constify.
1601
1602 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1603 __extension__.
1604
1605 * partition.c (elem_compare): Prototype. Don't cast away
1606 const-ness.
1607
1608 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1609
eb383413
L
16102000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1611
1612 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1613
1614 * cp-demangle.c: Include demangle.h.
1615 (template_arg_list_new): DeANSIfy.
1616 (cp_demangle): Make static and add prototype.
1617 (operator_code, operators): Constify.
1618 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1619
16202000-06-05 Alex Samuel <samuel@codesourcery.com>
1621
1622 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1623 unsigned char.
1624 (demangle_unqualified_name): Likewise.
1625 (demangle_number_literally): Likewise.
1626 (demangle_type): Likewise.
1627 (demangle_substitution): Likewise.
1628 (is_mangled_char): Likewise, for isalnum.
1629
16302000-06-04 Alex Samuel <samuel@codesourcery.com>
1631
1632 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1633 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1634 (cp-demangle.o): New dependency.
1635 (dyn-string.o): Likewise.
1636
1637 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1638
1639 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1640 demangler.
1641 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1642 demangling mode.
1643 (gnu_new_abi_symbol_characters): New function.
1644 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1645 file.
1646 * cp-demangle.c: New file.
ae7d06ad 1647
f03aa80d
AC
1648Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1649
1650 * floatformat.c: Add name to each floatformat field.
1651
77bfb694
JL
1652Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1653
1654 * Makefile.in (objalloc.o): Depend on config.h
1655
5c82d20a
ZW
16562000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1657
eb383413 1658 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1659 if HAVE_STRING_H.
1660 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1661 * objalloc.c: Include config.h. Include stdlib.h and don't
1662 declare malloc or free if HAVE_STDLIB_H.
1663 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1664 else declare malloc without prototype. Include string.h if
1665 HAVE_STRING_H, else declare memset without prototype. Don't
1666 include stddef.h.
1667
eb383413
L
16682000-05-23 Mike Stump <mrs@wrs.com>
1669
1670 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1671 -j3.
eb383413
L
1672
16732000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1674
1675 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1676
16772000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1678
ae7d06ad 1679 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1680 probably zero, also eliminate a warning on alpha.
1681
16822000-05-15 David Edelsohn <edelsohn@gnu.org>
1683
1684 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1685 on $(enable_shared).
1686
16872000-05-10 Jakub Jelinek <jakub@redhat.com>
1688
1689 * config.table: Use mh-sparcpic for sparc*-*-*.
1690
16912000-05-08 Nick Clifton <nickc@cygnus.com>
1692
1693 * Makefile.in (CFILES): Add strncmp.c.
1694 (NEEDED): Add strncmp.
1695
16962000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1697
eb383413
L
1698 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1699 Cast the arguments to `islower' to `unsigned char'.
1700 (print_demangler_list): Prototype.
1701
1702Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1703
1704 * sort.c (UCHAR_MAX): Provide fallback definition.
1705
17062000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1707
1708 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1709 SUBDIRS.
1710
eb383413
L
17112000-04-28 Kenneth Block <block@zk3.dec.com>
1712 Jason Merrill <jason@casey.cygnus.com>
1713
ae7d06ad
NC
1714 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1715 (cplus_demangle_set_style): New function for setting style.
1716 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1717
17182000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1719
1720 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1721
1722 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1723 (libiberty_AC_FUNC_STRNCMP): Invoke.
1724
1725 * strncmp.c: New file.
1726
1727Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1728
1729 * hashtab.c (htab_expand): Add prototype.
1730 (find_empty_slot_for_expand): Likewise.
1731
17322000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1733
1734 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1735 match prototype.
1736 (htab_expand): Cast the return value of xcalloc.
1737
17382000-04-24 Mark Mitchell <mark@codesourcery.com>
1739
1740 * hashtab.c (hash_pointer): New function.
1741 (eq_pointer): Likewise.
1742 (htab_hash_pointer): New variable.
1743 (htab_eq_pointer): Likewise.
1744
17452000-04-23 Mark Mitchell <mark@codesourcery.com>
1746
1747 * sort.c (sort_pointers): Fix endianness bugs.
1748
1749 * sort.c: New file.
1750 * Makefile.in (CFILES): Add sort.c
1751 (REQUIRED_OFILES): Add sort.o.
1752 (sort.o): New target.
1753
19be4303
JL
17542000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1755
1756 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1757 4.3BSD systems.
1758
eb383413
L
1759Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1760
1761 * hashtab.c: Various minor cleanups.
1762 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1763 (htab_find_slot): Likewise.
1764
17652000-04-16 Dave Pitts <dpitts@cozx.com>
1766
1767 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1768
afe36a78
RH
17692000-04-05 Richard Henderson <rth@cygnus.com>
1770
1771 * splay-tree.c (splay_tree_remove): New.
1772
eb383413
L
17732000-03-30 Mark Mitchell <mark@codesourcery.com>
1774
1775 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1776 codes.
1777 (htab_find_with_hash): Likewise.
1778 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1779
eb383413
L
17802000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1781
1782 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1783 unless it will be used. Rearrange loop for better
1784 optimization.
1785 (higher_prime_number): Add static prototype.
1786
b4fe2683
JM
1787Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1788
1789 * Makefile.in (partition.o): Depend on config.h
1790
17912000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1792
1793 * hashtab.c (find_empty_slot_for_expand): New function.
1794 (htab_expand): Use it instead of htab_find_slot.
1795 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1796 argument HASH.
1797 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1798 (htab_find): New wrapper function.
1799 (htab_find_slot): Likewise.
1800 (htab_traverse): Pass slot, not entry, to called function.
1801
18022000-03-09 Alex Samuel <samuel@codesourcery.com>
1803
1804 * Makefile.in (CFILES): Add partition.c.
1805 (REQUIRED_OFILES): Add partition.o.
1806 (partition.o): New rule.
1807 * partition.c: New file.
ae7d06ad 1808
b4fe2683
JM
18092000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1810
1811 * hashtab.c (htab_create): Set del_f.
1812 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1813 Use it.
1814
18152000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1816
1817 * hashtab.c: Remove debugging variables (all_searches,
1818 all_collisions, all_expansions). Delete
1819 all_hash_table_collisions.
1820 (create_hash_table, delete_hash_table, empty_hash_table,
1821 find_hash_table_entry, remove_element_from_hash_table_entry,
1822 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1823 hash_table_elements_number, hash_table_collisions): Rename to:
1824 htab_create, htab_delete, htab_empty, htab_find_slot,
1825 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1826 htab_elements, htab_collisions.
1827 (htab_find): New function, handles common case where you don't
1828 plan to add or delete an entry.
1829 (htab_expand): Don't create a whole new table, just a new
1830 entry vector.
1831 (htab_find_slot): Simplify logic.
1832
08372f14
ILT
18331999-08-03 Ian Lance Taylor <ian@zembu.com>
1834
1835 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1836 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1837
1838 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1839 $(TARGETLIB)n so it works on MSDOS.
1840 (install_to_tooldir): Likewise.
1841
9c8ac5a9
ILT
18421999-07-21 Ian Lance Taylor <ian@zembu.com>
1843
1844 From Mark Elbrecht:
1845 * makefile.dos: Remove; obsolete.
8f36e47c 1846 * configure.bat: Remove; obsolete.
9c8ac5a9 1847
0c0a36a4
ILT
18481999-07-11 Ian Lance Taylor <ian@zembu.com>
1849
1850 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1851 warning.
1852
18532000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1854
1855 * pexecute.c: Conditionally include string.h.
b4fe2683 1856 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1857
18582000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1859
1860 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1861 we're using gcc.
1862
1863 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1864
18651999-12-27 Geoff Keating <geoffk@cygnus.com>
1866
1867 * vasprintf.c (int_vasprintf): Don't re-read the format character
1868 as this mishandles strings like '%%s'.
1869
18701999-12-05 Mark Mitchell <mark@codesourcery.com>
1871
1872 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1873 rather than struct splay_tree_node.
1874 (splay_tree_insert): Use struct splay_tree_s rather than struct
1875 splay_tree.
1876
1877Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1878
1879 * hashtab.c (sys/types.h): File included.
1880
18811999-11-22 Jason Merrill <jason@casey.cygnus.com>
1882
1883 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1884 BSD license, pursuant with
1885
1886 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1887
1888Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1889
1890 * hashtab.c: Include stdio.h.
1891
1892Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1893
1894 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1895
1896Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1897
1898 * xstrdup (sys/types.h): Include this file.
1899
19001999-10-28 Nathan Sidwell <nathan@acm.org>
1901
1902 * Makefile.in (SUBDIRS): New macro.
1903 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1904 avoid multiple subdirectory cleaning.
1905 (*-subdir): Use SUBDIRS.
1906
19071999-10-25 Jim Kingdon <http://developer.redhat.com/>
1908
1909 * cplus-dem.c: Move declarations of standard_symbol_characters and
1910 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1911 warnings.
1912
19131999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1914
1915 * hashtab.c (find_hash_table_entry): When returning a
1916 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1917 (clear_hash_table_slot): New function which deletes an entry
1918 by its position in the table, not its value.
1919 (traverse_hash_table): New function which calls a hook
1920 function for every live entry in the table.
1921
19221999-10-19 Mark Mitchell <mark@codesourcery.com>
1923
1924 * cplus-dem.c (INTBUF_SIZE): New macro.
1925 (string_append_template_idx): New function.
1926 (demangle_expression): Likewise.
1927 (demangle_integral_value): Use it.
1928 (demangle_real_value): New function, split out from ...
1929 (demangle_template_value_parm): ... here. Use
1930 string_append_template_idx. Use demangle_real_value.
1931 (demangle_template): Use string_append_template_idx.
1932 (demangle_qualified): Use consume_count_with_underscores.
1933 (get_count): Tweak formatting.
1934 (do_type): Use string_append_template_idx.
b4fe2683 1935
0c0a36a4
ILT
19361999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1937
1938 * calloc.c: Add a public domain notice.
1939
1940Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1941
1942 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1943
1944Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1945
1946 * Makefile.in (CFILES): Add hashtab.c
1947 (REQUIRED_OFILES): Add hashtab.o
1948 (hashtab.o): Add dependencies.
1949 * hashtab.c: New file
1950
1951Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1952
1953 * basename.c (DIR_SEPARATOR): New macro.
1954 (DIR_SEPARATOR_2): Likewise.
1955 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1956 (IS_DIR_SEPARATOR): Likewise.
1957 (main): Handle MSDOS style pathname.
1958
19591999-10-11 Mark Mitchell <mark@codesourcery.com>
1960
1961 * cplus-dem.c (do_type): Handle pointer to member types whose
1962 enclosing classes have namespace scope.
1963
1964Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1965
1966 * config.table: Provide a backup shell for executing move-if-change.
1967
19681999-10-02 Mark Mitchell <mark@codesourcery.com>
1969
1970 * xmalloc.c (xmalloc): Fix spelling error.
1971 (xcalloc, xrealloc): Likewise.
1972
19731999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1974
1975 * cplus-dem.c (fancy_abort, demangle_integral_value,
1976 demangle_arm_hp_template, recursively_demangle,
1977 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1978 (program_name, program_version, fatal): Constify a char*.
1979 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1980 (main): Call return, not exit.
1981
19821999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1983
1984 * choose-temp.c: Remove obsolete comment about gcc.
1985 (make_temp_file): Constify a char*.
1986
1987Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1988
1989 * xmemdup.c: Include sys/types.h.
1990
19911999-09-07 Jeff Garzik <jgarzik@pobox.com>
1992
1993 * xmemdup.c: New xmemdup function.
1994 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1995
1996Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1997
b4fe2683 1998 * config.table: Add openedition target.
0c0a36a4
ILT
1999 * config/mh-openedition: New file.
2000
2001Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2002
2003 * pexecute.c (pexecute): Fill in temp_base when needed.
2004
20051999-08-31 Richard Henderson <rth@cygnus.com>
2006
2007 * getpwd.c: Check HAVE_GETCWD before defining it away.
2008
20091999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2010
2011 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2012 (REQUIRED_OFILES): Add getpwd.o.
2013 (getpwd.o): Add target.
2014
2015 * configure.in (AC_PREREQ): Bump to 2.13.
2016 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2017
2018 * getpwd.c: New file, moved here from gcc.
2019
20201999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2021
2022 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2023 comparing against a signed quantity.
2024 (arm_special): Likewise.
2025 (demangle_fund_type): Likewise.
2026 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 2027 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
2028 (main): Constify variable `valid_symbols'.
2029
2030Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2031
2032 * strtoul.c (strtoul): Add parentheses around && within ||.
2033
2034Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2035
2036 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2037 libdir, libsubdir and tooldir.
2038
20391999-08-01 Mark Mitchell <mark@codesourcery.com>
2040
2041 * splay-tree.c (splay_tree_insert): Return the new node.
2042
35ca97ea
RH
20431999-07-14 Richard Henderson <rth@cygnus.com>
2044
b4fe2683 2045 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
2046 prototyping directly.
2047 * choose-temp.c: Conditionally include string.h.
2048
0c0a36a4
ILT
20491999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2050
2051 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2052
af32ff69
ILT
20531999-07-11 Ian Lance Taylor <ian@zembu.com>
2054
2055 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2056 warning.
2057
0c0a36a4
ILT
20581999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2059
2060 * Makefile.in (needed-list): Only include stuff we actually need
2061 for libstdc++.
2062
20631999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2064
2065 * configure.in (checkfuncs): Add gettimeofday.
2066 * config.in, configure: Regenerated.
2067
2068Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2069
2070 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2071 the test fails.
2072 * configure: Regenerate.
2073
20741999-06-10 Mike Stump <mrs@wrs.com>
2075
2076 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2077 parallel builds.
2078
20791999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2080
2081 * putenv.c: Include ansidecl.h to define `const'.
2082 * setenv.c: Likewise.
2083
2084Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2085
2086 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2087 * configure.in (funcs): Add putenv and setenv.
2088 (AC_CHECK_FUNCS): Check for putenv and setenv.
2089 * configure: Rebuilt.
2090 * putenv.c setenv.c: New files.
2091
2092 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
2093 bytes of space using malloc.
2094
2095Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2096
2097 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
2098 the *mangled pointer beyond the end of the string. Clean up code to
2099 match prevailing coding style.
2100
21011999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2102
2103 * tmpnam.c (L_tmpnam): Fix typo.
2104
2105Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
2106
2107 * cplus-dem.c (standard_symbol_characters): Renamed from
2108 standard_symbol_alphabet. No longer modify TABLE.
2109 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
2110 modify TABLE.
2111 (main): Corresponding changes. Use strchr to determine if a
2112 character is valid.
2113
e9868447
JB
21141999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
2115
2116 * cplus-dem.c (main): Use table lookup to distinguish identifier
2117 characters from non-identifier characters.
2118 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
2119
33fbbfbc
RH
2120Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
2121
2122 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
2123 * getruntime.c: Only attempt to include sys/resource.h and
2124 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
2125 are defined.
2126
0c0a36a4
ILT
2127Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
2128
2129 * configure.in (alloca detection): Handle alloca directly for interix.
2130 * configure: Rebuilt.
2131
2132Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
2133
2134 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
2135
252b5132
RH
21361999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2137
2138 Fix from Dale Hawkins:
b4fe2683 2139 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
2140 reallocated properly if we use it again.
2141
2142 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
2143 stricter about syntax. Always null-terminate string.
2144
c1687039
ILT
2145Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
2146
2147 * configure.in (checkfuncs): Check for sbrk.
2148 * config.in: Rebuilt.
2149 * configure: Likewise.
2150 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
2151
0c0a36a4
ILT
21521999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
2153
2154 Fix from Marcus Daniels:
2155 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
2156 identifier looking for another underscore.
2157
2158Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
2159
2160 * pexecute.c: Change all references to __UWIN__ to _UWIN.
2161 * xmalloc.c: Likewise.
2162 (xcalloc): UWIN has sbrk.
2163 (xrealloc): Fix guard macro.
2164
252b5132
RH
21651999-04-11 Richard Henderson <rth@cygnus.com>
2166
2167 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
2168 or <alloca.h>.
2169 * clock.c (GNU_HZ): New definition.
2170 (clock): Use it.
2171 * getruntime.c: Likewise.
2172
2173 * config.table: Use mh-beos.
2174 * config/mh-beos: New file.
2175
0c0a36a4
ILT
21761999-04-11 Mark Mitchell <mark@codesourcery.com>
2177
2178 * cplus-dem.c (demangle_template_value_parm): Handle
2179 pointers-to-members.
2180 (do_type): Handle template parameters as qualifiers.
2181
252b5132
RH
21821999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
2183
2184 * cplus-dem.c: Attempt to handle overflows in counts with some
2185 semblance of grace.
2186 (consume_count): Detect overflows. Return -1 to indicate errors,
2187 instead of zero.
2188 (demangle_template_value_parm, demangle_template): Handle change
2189 to consume_count's return convention.
2190
0c0a36a4
ILT
21911999-04-05 Tom Tromey <tromey@cygnus.com>
2192
2193 * testsuite/regress-demangle: New file.
2194 * testsuite/demangle-expected: New file.
252b5132 2195
0c0a36a4
ILT
2196 * Makefile.in (all, check, installcheck, info, install-info,
2197 clean-info, dvi, install, etags, tags, mostlyclean, clean,
2198 distclean, maintainer-clean, realclean): Depend on corresponding
2199 `-subdir' target.
2200 (all-subdir check-subdir installcheck-subdir info-subdir
2201 install-info-subdir clean-info-subdir dvi-subdir
2202 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
2203 distclean-subdir maintainer-clean-subdir): New target.
2204 * testsuite/Makefile.in: New file.
2205 * configure: Rebuilt.
2206 * configure.in: Create testsuite/Makefile.
252b5132
RH
2207
22081999-04-02 Mark Mitchell <mark@codesourcery.com>
2209
2210 * splay-tree.h (splay_tree_compare_pointers): Define.
2211
22121999-03-30 Mark Mitchell <mark@codesourcery.com>
2213
2214 * splay-tree.c (splay_tree_compare_ints): Define.
2215
22161999-03-30 Tom Tromey <tromey@cygnus.com>
2217
2218 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
2219 don't advance input pointer.
2220 (demangle_class_name): If consume_count didn't find a count, do
2221 nothing. Don't bother with `strlen' sanity check; consume_count
2222 does it for us.
2223
22241999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2225
2226 From Art Haas <ahaas@neosoft.com>:
2227 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
2228 when doing arm or hp style.
2229 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 2230
252b5132
RH
2231Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
2232
2233 * pexecute.c (__CYGWIN32__): Rename to
2234 (__CYGWIN__): this.
2235 * xmalloc.c: Likewise.
2236
2237 Changes to support i386-pc-uwin.
2238 * configure.in (*-*-uwin*): Workaround for vfork bug.
2239 * configure: Regenerate.
2240 * pexecute.c (pexecute): Be like standard Unix.
2241 (pwait): Likewise.
2242 * xmalloc.c (first_break): Define.
2243 (xmalloc_set_program_name): Use.
2244 (xmalloc): Use.
2245
2246Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2247
2248 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
2249
2250Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
2251
2252 * config.table: Check cygwin*, not cygwin32*.
2253
2254Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
2255
2256 * Makefile.in: Change mkstemp -> mkstemps.
2257
2258Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
2259
2260 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
2261 * configure.in (funcs): Check for and conditionally add mkstemps to
2262 the list of functions libiberty will provide.
2263 * configure: Rebuilt.
b4fe2683 2264
252b5132
RH
2265Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2266
b4fe2683 2267 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
2268 platforms that don't have HZ.
2269 * getruntime.c (HZ): Likewise.
2270
2271Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
2272
2273 * Makefile.in (xstrdup.o): Depend on config.h.
2274
2275Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
2276
2277 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
2278 freeing it.
2279
2280Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2281
2282 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
2283
2284Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2285
2286 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
2287 splay-tree.o.
2288
22891999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2290
2291 * configure.in: Require autoconf 2.12.1 or higher.
2292
22931998-12-30 Michael Meissner <meissner@cygnus.com>
2294
2295 * random.c (NULL): Don't redefine NULL if it is already defined.
2296
2297Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2298
2299 * argv.c (buildargv): Cast the result of alloca in assignment.
2300
2301 * choose-temp.c: Include stdlib.h.
2302
2303 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
2304 (snarf_numeric_literal): Constify first parameter.
2305 (code_for_qualifier): Avoid a gcc extension, make the parameter an
2306 int, not a char.
252b5132
RH
2307 (demangle_qualifier): Likewise.
2308 (demangle_signature): Cast the argument of a ctype function to
2309 unsigned char.
2310 (arm_pt): Add parens around assignment used as truth value.
2311 (demangle_arm_hp_template): Constify variable `args'.
2312 (do_hpacc_template_const_value): Cast the argument of a ctype
2313 function to unsigned char.
2314 (do_hpacc_template_literal): Remove unused variable `i'.
2315 (snarf_numeric_literal): Constify parameter `args'.
2316 Cast the argument of a ctype function to unsigned char.
2317
2318 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 2319 avoid ambiguous `else'.
252b5132
RH
2320
2321 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
2322 `cstart' and `cend' to unsigned char. Cast the argument of macro
2323 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
2324
2325 * objalloc.c (free): Add prototype.
2326
2327Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
2328
2329 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
2330
2331Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
2332
2333 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 2334 doesn't exist.
252b5132 2335 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 2336
252b5132
RH
2337Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2338
2339 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
2340 bumping the pointer we read from. Also prepend these codes,
2341 as we do in other places.
2342
23431998-12-18 Nick Clifton <nickc@cygnus.com>
2344
2345 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
2346 'const char *' in order to match its usage when calling siblings.
2347 (snarf_numeric_literal): Make first arg 'const char **' in order
2348 to match usage.
2349
2350Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2351
2352 * choose-temp.c: Don't check IN_GCC anymore.
2353
2354 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
2355 * memchr.c (memchr): Likewise.
2356 * memcpy.c (memcpy): Likewise.
2357 * memmove.c (memmove): Likewise.
2358
2359 * mkstemp.c: Don't check IN_GCC anymore.
2360 * pexecute.c: Likewise.
2361 * splay-tree.c: Likewise.
2362
2363 * strchr.c (strchr): Use `const', not `CONST'.
2364 * strrchr.c (strrchr): Likewise.
2365 * strtol.c (strtol): Likewise.
2366 * strtoul.c (strtoul): Likewise.
2367
2368Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
2369 Elena Zannoni <ezannoni@cygnus.com>
2370 Stan Shebs <shebs@cygnus.com>
2371 Edith Epstein <eepstein@cygnus.com>
2372 Andres MacLeod <amacleod@cygnus.com>
2373 Satish Pai <pai@apollo.hp.com>
2374
2375 * HP aCC demangling support.
2376 * cplus-dem.c
2377 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
2378 demangling correctly when -edg specified; set the demangling style
2379 when user specifies 'edg'. Set strip_underscore to
2380 prepends_underscore, if not HPUXHPPA. Set
2381 current_demangling_style to hp_demangling if HPUXHPPA. Set
2382 current demangling style correctly if the switch is hp. Read
2383 label correctly also in the HP style case.
252b5132 2384 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 2385 function.
252b5132 2386 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 2387 style for this case is the same as ARM.
252b5132
RH
2388 (demangle_args): handle EDG_DEMANGLING style; support HP style.
2389 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
2390 demangle_arm_pt.); check and set value of temp_start field in
2391 multiple places. Also, when ceching for end of template args,
2392 check to see if at end of static member of template class.
252b5132 2393 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 2394 include template args in string defining class.
252b5132
RH
2395 (demangle_class_name): use demangel_arm_hp_template.
2396 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
2397 HP_DEMANGLING and currently point at an 'X' in the mangled name.
2398 Handle EDG_DEMANGLING style. Handle constructor and destructor
2399 ops for HP style.
252b5132 2400 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
2401 styles. global destructor and constructor for HP style are same
2402 as for ARM style. Same for local variables.
252b5132
RH
2403 (demangle_qualified): handle EDG_DEMANGLING style.
2404 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
2405 cases '1' - '9' : initialize the temp_start field to -1 and handle
2406 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
2407 and AUTO_DEMANGLING styles. If expecting a function and managed
2408 to demangle the funct args, then handle the LUCID_DEMANGLING,
2409 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
2410 class name after "Lnnn_ in HP style case. HP style too needs to
2411 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 2412 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 2413 value param for HP/aCC.
252b5132 2414 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 2415 literal parameter for HP aCC.
252b5132
RH
2416 (recursively_demangle): new function
2417 (snarf_numeric_literal): new function.
2418 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 2419 to message.
252b5132
RH
2420
2421Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
2422
2423 * pexecute.c: Remove obsolete ifdefed cygwin code.
2424
2425Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2426
2427 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
2428 * cplus-dem.c: Likewise. Conform to libiberty.h.
2429 * pexecute.c: Likewise.
2430 * splay-tree.c: Likewise.
2431
24321998-11-25 Mike Stump <mrs@wrs.com>
2433
2434 * Makefile.in (splay-tree.o): Add config.h dependency.
2435
2436Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2437
2438 * configure.in: Use AC_PREREQ(2.12.1).
2439
24401998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
2441
b4fe2683 2442 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
2443
2444Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
2445
2446 * mpw.c (mpw_access): Add missing parens.
2447
2448Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2449
2450 * configure.in: Call AC_HEADER_SYS_WAIT.
2451
2452 * pexecute.c: Include sys/wait.h when !IN_GCC.
2453
2454Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
2455
2456 * pexecute.c: revert back to checking old Cygwin
2457 preprocessor symbol until some time has passed.
2458
2459Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
2460
2461 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
2462 since it will now support similar constructs.
2463
2464Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2465
2466 * configure.in: Check for calloc.
2467
2468 * calloc.c: New file.
2469
2470 * xmalloc.c (xcalloc): New function.
2471
2472Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2473
2474 *cplus-dem.c (demangle_prefix): Use the last "__"
2475 in the mangled name when looking for the signature. This allows
2476 template names to begin with "__".
2477
24781998-11-08 Mark Mitchell <mark@markmitchell.com>
2479
2480 * cplus-dem.c (type_kind_t): Add tk_reference.
2481 (demangle_template_value_parm): Handle it.
2482 (do_type): Use it for references, instead of tk_pointer.
2483
2484 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2485 not internal_cplus_demangle.
2486
2487Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2488
2489 * choose-temp.c: Don't include gansidecl.h.
2490 * mkstemp.c: Likewise.
2491 * pexecute.c: Likewise.
2492
2493Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2494
b4fe2683
JM
2495 * configure.in: detect cygwin* instead of cygwin32*
2496 * configure: regenerate
252b5132
RH
2497
2498Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2499
2500 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2501 whether to include config.h. Possibly include unistd.h in the
2502 !IN_GCC case. Define VFORK_STRING as a printable function call
2503 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2504 defined, include vfork.h. If VMS is defined, define vfork()
2505 appropriately. Remove vfork check on USG, we're using autoconf.
2506 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2507 locally what string to use.
252b5132
RH
2508
25091998-10-26 Mark Mitchell <mark@markmitchell.com>
2510
2511 * splay-tree.c: Tweak include directives to make sure declarations of
2512 xmalloc and free are available.
2513
25141998-10-25 Mark Mitchell <mark@markmitchell.com>
2515
2516 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2517 anonymous namespaces.
2518
25191998-10-23 Mark Mitchell <mark@markmitchell.com>
2520
2521 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2522 with type_quals.
2523 (TYPE_UNQUALIFIED): New macro.
2524 (TYPE_QUAL_CONST): Likewise.
2525 (TYPE_QUAL_VOLATILE): Likewise.
2526 (TYPE_QUAL_RESTRICT): Likewise.
2527 (code_for_qualifier): New function.
2528 (qualifier_string): Likewise.
2529 (demangle_qualifier): Likewise.
2530 (internal_cplus_demangle): Use them.
2531 (demangle_signature): Likewise.
2532 (demangle_template_value_parm): Likewise.
2533 (do_type): Likewise.
2534 (demangle_fund_type)): Likewise.
2535
2536Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2537
2538 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2539 to match prototype.
2540
25411998-10-21 Mark Mitchell <mark@markmitchell.com>
2542
2543 * splay-tree.c: New file.
2544 * Makefile.in (CFILES): Add it.
2545 (REQUIRED_OFILES): Likewise.
2546 (splay-tree.o): Add dependencies.
2547
2548Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2549
2550 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2551 range of 'K' index.
2552
2553Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2554
2555 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2556
2557 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2558 `unsigned char'.
2559 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2560 comparing against one.
2561 (cplus_mangle_opname): Likewise.
2562 (demangle_integral_value): Cast argument of ctype macro to
2563 `unsigned char'.
2564 (demangle_template_value_parm): Likewise.
2565 (demangle_template): Initialize variable `bindex'. Cast the
2566 result of `strlen' to (int) when comparing against one. Remove
2567 unused variable `start_of_value_parm'.
2568 (demangle_class_name): Cast the result of `strlen' to (int) when
2569 comparing against one.
2570 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2571 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2572 when comparing against one.
2573 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2574 (get_count): Likewise.
2575 (do_type): Likewise. Cast the result of `strlen' to (int) when
2576 comparing against one.
2577 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2578 (demangle_function_name): Cast the result of `strlen' to (int)
2579 when comparing against one.
2580
2581 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2582 comparing against one.
2583
2584Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2585
b4fe2683
JM
2586 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2587 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2588 * config.in, configure: Rebuilt.
252b5132
RH
2589
2590 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2591 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2592 * config.in, configure: Rebuilt.
2593
2594Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2595
b4fe2683 2596 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2597
2598Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2599
2600 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2601
2602Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2603
2604 * Merge egcs & devo libiberty.
2605