* Makefile.in (rename.o, waitpid.o): Depend on config.h
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
90aaccd1
JL
12000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
2 Jeff Law <law@cygnus.com>
3
4 * Makefile.in (rename.o, waitpid.o): Depend on config.h
5 * rename.c: include config.h, unistd.h
6 * waitpid.c: include config.h, sys/wait.h
7
e8865c28
DB
82000-07-24 Daniel Berlin <dberlin@redhat.com>
9
10 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
11 if (AUTO_DEMANGLING || GNU_DEMANGLING)
12
b1233257 132000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
14 Jeff Law <law@cygnus.com>
15
16 * configure.in (AC_CHECK_HEADERS): Add time.h.
17 (AC_HEADER_TIME): Add check.
18 * configure, config.in: Regenerate.
19 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
20
21 * configure.in (AC_CHECK_HEADERS): Add limits.h.
22 * configure, config.in: Regenerate.
23 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
24 * strtol.c, strtoul.c: #include "config.h". Portably #include
25 <limits.h> and/or <sys/param.h>.
26 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 27
7d3ffcaf
JL
28 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
29 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
30 * configure, config.in: Regenerate.
31 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
32
b1233257
JL
33 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
34
9adf30b2
JL
352000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
36
37 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
38 and print it with %u.
39
2ed78d1b
HPN
402000-07-17 Hans-Peter Nilsson <hp@axis.com>
41
42 * testsuite/regress-demangle (failed test): Show result and
43 expected output.
44
0473bdf7
AH
452000-07-07 Andrew Haley <aph@cygnus.com>
46
47 * cplus-dem.c (main): fflush() after emitting last char before
48 waiting for input.
49
03d5f569
JM
502000-06-28 Alex Samuel <samuel@codesourcery.com>
51
52 * cp-demangle.c (demangle_encoding): Accept no substitutions.
53 (demangle_name): Handle <substitution> followed by
54 <unqualified-template-name>.
55 (demangle_type): Follow special substitutions with
56 <class-enum-type>
57 (demangle_subtitution): Set template_p for special substitutions.
58 (main): Fix typos.
59
602000-06-27 Alex Samuel <samuel@codesourcery.com>
61
62 * cp-demangle.c (demangle_special_name): Swap base and derived
63 class when demangling construction vtables.
64
652000-06-21 Alex Samuel <samuel@codesourcery.com>
66
67 * cp-demangle.c: Don't include ctype.h.
68 (IS_DIGIT): New macro.
69 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
70 instead of isdigit and isalpanum.
71 (demangling_def): Make name and next const pointers.
72 (STATUS_ALLOCATION_FAILED): New status code.
73 (dyn_string_append_space): Handle failure in
74 dyn_string_append_char.
75 (int_to_dyn_string): Likewise. Change return value to status_t.
76 (string_list_new): Handle failure of dyn_string_init.
77 (result_close_template_list): Change return type to status_t.
78 Handle failure in dyn_string_append.
79 (result_push): Change return value to status_t. Handle failure in
80 string_list_new. Handle failure of result_push throughout.
81 (substitution_add): Change return value to status_t. Handle
82 dyn_string failures. Handle failure of substitution_add
83 throughout.
84 (template_arg_list_new): Return NULL on allocation failure.
85 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
86 Handle error result throughout.
87 (result_append): Likewise.
88 (result_append_char): Likewise.
89 (result_append_space): Likewise.
90 (demangling_new): Make argument a const pointer. Handle
91 allocation failures.
92 (demangle_template_args): Handle failure in template_arg_list_new
93 and result_close_template_list.
94 (demangle_discriminator): Return if int_to_dyn_string fails.
95 (cp_demangle): Likewise.
96 (cp_demangle_type): New function.
97 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
98 memory allocation failure.
99 (main): Likewise.
100 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
101 IN_LIBGCC2.
102 (dyn_string_init): Change return value to int. Handle
103 RETURN_ON_ALLOCATION_FAILURE case.
104 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
105 (dyn_string_release): Delete the dyn_string.
106 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
107 (dyn_string_copy): Change return type to int.
108 (dyn_string_copy_cstr): Likewise.
109 (dyn_string_prepend): Likewise.
110 (dyn_string_prepend_cstr): Likewise.
111 (dyn_string_insert): Likewise.
112 (dyn_string_insert_cstr): Likewise.
113 (dyn_string_append): Likewise.
114 (dyn_string_append_cstr): Likewise.
115 (dyn_string_append_char): Likewise.
116 (dyn_string_substring): Likewise.
117
eb383413 1182000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 119
eb383413
L
120 * cp-demangle.c (demangle_operator_name): Add spaces before
121 names beginning with a letter: delete, delete[], new, new[],
122 sizeof.
123 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 124
eb383413
L
125Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
126
127 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
128
129Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
130
131 * cp-demangle.c (stdio.h): File included unconditionaly.
132 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
133 * dyn-string.c (stdio.h): File included.
134 * partition.c (partition_print): No `&' needed to take the address of
135 a function.
136
1372000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
138
139 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
140
141 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
142
143 * cp-demangle.c (demangle_char): Change parameter from char to int.
144 (demangle_expression, demangle_expr_primary): Remove extra
145 semi-colon in prototype.
146
147 * dyn-string.c (dyn_string_append_char): Change parameter from
148 char to int.
149
150 * memcmp.c (memcmp): Constify.
151
152 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
153 __extension__.
154
155 * partition.c (elem_compare): Prototype. Don't cast away
156 const-ness.
157
158 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
159
1602000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
161
162 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
163
164 * cp-demangle.c: Include demangle.h.
165 (template_arg_list_new): DeANSIfy.
166 (cp_demangle): Make static and add prototype.
167 (operator_code, operators): Constify.
168 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
169
1702000-06-05 Alex Samuel <samuel@codesourcery.com>
171
172 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
173 unsigned char.
174 (demangle_unqualified_name): Likewise.
175 (demangle_number_literally): Likewise.
176 (demangle_type): Likewise.
177 (demangle_substitution): Likewise.
178 (is_mangled_char): Likewise, for isalnum.
179
1802000-06-04 Alex Samuel <samuel@codesourcery.com>
181
182 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
183 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
184 (cp-demangle.o): New dependency.
185 (dyn-string.o): Likewise.
186
187 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
188
189 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
190 demangler.
191 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
192 demangling mode.
193 (gnu_new_abi_symbol_characters): New function.
194 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
195 file.
196 * cp-demangle.c: New file.
197
f03aa80d
AC
198Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
199
200 * floatformat.c: Add name to each floatformat field.
201
77bfb694
JL
202Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
203
204 * Makefile.in (objalloc.o): Depend on config.h
205
5c82d20a
ZW
2062000-05-29 Zack Weinberg <zack@wolery.cumb.org>
207
eb383413 208 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
209 if HAVE_STRING_H.
210 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
211 * objalloc.c: Include config.h. Include stdlib.h and don't
212 declare malloc or free if HAVE_STDLIB_H.
213 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
214 else declare malloc without prototype. Include string.h if
215 HAVE_STRING_H, else declare memset without prototype. Don't
216 include stddef.h.
217
eb383413
L
2182000-05-23 Mike Stump <mrs@wrs.com>
219
220 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
221 -j3.
222
2232000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
224
225 * xmalloc.c: Include config.h for HAVE_SBRK definition.
226
2272000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
228
229 * hashtab.c (hash_pointer): Delete low-order bits which are
230 probably zero, also eliminate a warning on alpha.
231
2322000-05-15 David Edelsohn <edelsohn@gnu.org>
233
234 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
235 on $(enable_shared).
236
2372000-05-10 Jakub Jelinek <jakub@redhat.com>
238
239 * config.table: Use mh-sparcpic for sparc*-*-*.
240
2412000-05-08 Nick Clifton <nickc@cygnus.com>
242
243 * Makefile.in (CFILES): Add strncmp.c.
244 (NEEDED): Add strncmp.
245
2462000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 247
eb383413
L
248 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
249 Cast the arguments to `islower' to `unsigned char'.
250 (print_demangler_list): Prototype.
251
252Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
253
254 * sort.c (UCHAR_MAX): Provide fallback definition.
255
2562000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
257
258 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
259 SUBDIRS.
260
eb383413
L
2612000-04-28 Kenneth Block <block@zk3.dec.com>
262 Jason Merrill <jason@casey.cygnus.com>
263
264 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
265 (cplus_demangle_set_style): New function for setting style.
266 (cplus_demangle_name_to_style): New function to translate name.
267
2682000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
269
270 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
271
272 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
273 (libiberty_AC_FUNC_STRNCMP): Invoke.
274
275 * strncmp.c: New file.
276
277Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
278
279 * hashtab.c (htab_expand): Add prototype.
280 (find_empty_slot_for_expand): Likewise.
281
2822000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
283
284 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
285 match prototype.
286 (htab_expand): Cast the return value of xcalloc.
287
2882000-04-24 Mark Mitchell <mark@codesourcery.com>
289
290 * hashtab.c (hash_pointer): New function.
291 (eq_pointer): Likewise.
292 (htab_hash_pointer): New variable.
293 (htab_eq_pointer): Likewise.
294
2952000-04-23 Mark Mitchell <mark@codesourcery.com>
296
297 * sort.c (sort_pointers): Fix endianness bugs.
298
299 * sort.c: New file.
300 * Makefile.in (CFILES): Add sort.c
301 (REQUIRED_OFILES): Add sort.o.
302 (sort.o): New target.
303
19be4303
JL
3042000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
305
306 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
307 4.3BSD systems.
308
eb383413
L
309Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
310
311 * hashtab.c: Various minor cleanups.
312 (htab_find_slot_with_hash): INSERT is now enum insert_option.
313 (htab_find_slot): Likewise.
314
3152000-04-16 Dave Pitts <dpitts@cozx.com>
316
317 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
318
afe36a78
RH
3192000-04-05 Richard Henderson <rth@cygnus.com>
320
321 * splay-tree.c (splay_tree_remove): New.
322
eb383413
L
3232000-03-30 Mark Mitchell <mark@codesourcery.com>
324
325 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
326 codes.
327 (htab_find_with_hash): Likewise.
328 (htab_find_slot_with_hash): Likewise.
329
3302000-03-29 Zack Weinberg <zack@wolery.cumb.org>
331
332 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
333 unless it will be used. Rearrange loop for better
334 optimization.
335 (higher_prime_number): Add static prototype.
336
b4fe2683
JM
337Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
338
339 * Makefile.in (partition.o): Depend on config.h
340
3412000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
342
343 * hashtab.c (find_empty_slot_for_expand): New function.
344 (htab_expand): Use it instead of htab_find_slot.
345 (htab_find_with_hash): Renamed from htab_find; now accepts extra
346 argument HASH.
347 (htab_find_slot_with_hash): Likewise for htab_find_slot.
348 (htab_find): New wrapper function.
349 (htab_find_slot): Likewise.
350 (htab_traverse): Pass slot, not entry, to called function.
351
3522000-03-09 Alex Samuel <samuel@codesourcery.com>
353
354 * Makefile.in (CFILES): Add partition.c.
355 (REQUIRED_OFILES): Add partition.o.
356 (partition.o): New rule.
357 * partition.c: New file.
358
3592000-03-09 Zack Weinberg <zack@wolery.cumb.org>
360
361 * hashtab.c (htab_create): Set del_f.
362 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
363 Use it.
364
3652000-03-08 Zack Weinberg <zack@wolery.cumb.org>
366
367 * hashtab.c: Remove debugging variables (all_searches,
368 all_collisions, all_expansions). Delete
369 all_hash_table_collisions.
370 (create_hash_table, delete_hash_table, empty_hash_table,
371 find_hash_table_entry, remove_element_from_hash_table_entry,
372 clear_hash_table_slot, traverse_hash_table, hash_table_size,
373 hash_table_elements_number, hash_table_collisions): Rename to:
374 htab_create, htab_delete, htab_empty, htab_find_slot,
375 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
376 htab_elements, htab_collisions.
377 (htab_find): New function, handles common case where you don't
378 plan to add or delete an entry.
379 (htab_expand): Don't create a whole new table, just a new
380 entry vector.
381 (htab_find_slot): Simplify logic.
382
08372f14
ILT
3831999-08-03 Ian Lance Taylor <ian@zembu.com>
384
385 * floatformat.c: Add casts to avoid signed/unsigned warnings.
386 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
387
388 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
389 $(TARGETLIB)n so it works on MSDOS.
390 (install_to_tooldir): Likewise.
391
9c8ac5a9
ILT
3921999-07-21 Ian Lance Taylor <ian@zembu.com>
393
394 From Mark Elbrecht:
395 * makefile.dos: Remove; obsolete.
8f36e47c 396 * configure.bat: Remove; obsolete.
9c8ac5a9 397
0c0a36a4
ILT
3981999-07-11 Ian Lance Taylor <ian@zembu.com>
399
400 * splay-tree.c (splay_tree_insert): Add initialization to avoid
401 warning.
402
4032000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
404
405 * pexecute.c: Conditionally include string.h.
b4fe2683 406 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
407
4082000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
409
410 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
411 we're using gcc.
412
413 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
414
4151999-12-27 Geoff Keating <geoffk@cygnus.com>
416
417 * vasprintf.c (int_vasprintf): Don't re-read the format character
418 as this mishandles strings like '%%s'.
419
4201999-12-05 Mark Mitchell <mark@codesourcery.com>
421
422 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
423 rather than struct splay_tree_node.
424 (splay_tree_insert): Use struct splay_tree_s rather than struct
425 splay_tree.
426
427Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
428
429 * hashtab.c (sys/types.h): File included.
430
4311999-11-22 Jason Merrill <jason@casey.cygnus.com>
432
433 * strtoul.c, strtol.c, random.c: Remove advertising clause from
434 BSD license, pursuant with
435
436 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
437
438Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
439
440 * hashtab.c: Include stdio.h.
441
442Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
443
444 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
445
446Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
447
448 * xstrdup (sys/types.h): Include this file.
449
4501999-10-28 Nathan Sidwell <nathan@acm.org>
451
452 * Makefile.in (SUBDIRS): New macro.
453 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
454 avoid multiple subdirectory cleaning.
455 (*-subdir): Use SUBDIRS.
456
4571999-10-25 Jim Kingdon <http://developer.redhat.com/>
458
459 * cplus-dem.c: Move declarations of standard_symbol_characters and
460 hp_symbol_characters inside #ifdef MAIN to avoid compiler
461 warnings.
462
4631999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
464
465 * hashtab.c (find_hash_table_entry): When returning a
466 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
467 (clear_hash_table_slot): New function which deletes an entry
468 by its position in the table, not its value.
469 (traverse_hash_table): New function which calls a hook
470 function for every live entry in the table.
471
4721999-10-19 Mark Mitchell <mark@codesourcery.com>
473
474 * cplus-dem.c (INTBUF_SIZE): New macro.
475 (string_append_template_idx): New function.
476 (demangle_expression): Likewise.
477 (demangle_integral_value): Use it.
478 (demangle_real_value): New function, split out from ...
479 (demangle_template_value_parm): ... here. Use
480 string_append_template_idx. Use demangle_real_value.
481 (demangle_template): Use string_append_template_idx.
482 (demangle_qualified): Use consume_count_with_underscores.
483 (get_count): Tweak formatting.
484 (do_type): Use string_append_template_idx.
b4fe2683 485
0c0a36a4
ILT
4861999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
487
488 * calloc.c: Add a public domain notice.
489
490Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
491
492 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
493
494Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
495
496 * Makefile.in (CFILES): Add hashtab.c
497 (REQUIRED_OFILES): Add hashtab.o
498 (hashtab.o): Add dependencies.
499 * hashtab.c: New file
500
501Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
502
503 * basename.c (DIR_SEPARATOR): New macro.
504 (DIR_SEPARATOR_2): Likewise.
505 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
506 (IS_DIR_SEPARATOR): Likewise.
507 (main): Handle MSDOS style pathname.
508
5091999-10-11 Mark Mitchell <mark@codesourcery.com>
510
511 * cplus-dem.c (do_type): Handle pointer to member types whose
512 enclosing classes have namespace scope.
513
514Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
515
516 * config.table: Provide a backup shell for executing move-if-change.
517
5181999-10-02 Mark Mitchell <mark@codesourcery.com>
519
520 * xmalloc.c (xmalloc): Fix spelling error.
521 (xcalloc, xrealloc): Likewise.
522
5231999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
524
525 * cplus-dem.c (fancy_abort, demangle_integral_value,
526 demangle_arm_hp_template, recursively_demangle,
527 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
528 (program_name, program_version, fatal): Constify a char*.
529 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
530 (main): Call return, not exit.
531
5321999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
533
534 * choose-temp.c: Remove obsolete comment about gcc.
535 (make_temp_file): Constify a char*.
536
537Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
538
539 * xmemdup.c: Include sys/types.h.
540
5411999-09-07 Jeff Garzik <jgarzik@pobox.com>
542
543 * xmemdup.c: New xmemdup function.
544 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
545
546Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
547
b4fe2683 548 * config.table: Add openedition target.
0c0a36a4
ILT
549 * config/mh-openedition: New file.
550
551Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
552
553 * pexecute.c (pexecute): Fill in temp_base when needed.
554
5551999-08-31 Richard Henderson <rth@cygnus.com>
556
557 * getpwd.c: Check HAVE_GETCWD before defining it away.
558
5591999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
560
561 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
562 (REQUIRED_OFILES): Add getpwd.o.
563 (getpwd.o): Add target.
564
565 * configure.in (AC_PREREQ): Bump to 2.13.
566 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
567
568 * getpwd.c: New file, moved here from gcc.
569
5701999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
571
572 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
573 comparing against a signed quantity.
574 (arm_special): Likewise.
575 (demangle_fund_type): Likewise.
576 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 577 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
578 (main): Constify variable `valid_symbols'.
579
580Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
581
582 * strtoul.c (strtoul): Add parentheses around && within ||.
583
584Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
585
586 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
587 libdir, libsubdir and tooldir.
588
5891999-08-01 Mark Mitchell <mark@codesourcery.com>
590
591 * splay-tree.c (splay_tree_insert): Return the new node.
592
35ca97ea
RH
5931999-07-14 Richard Henderson <rth@cygnus.com>
594
b4fe2683 595 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
596 prototyping directly.
597 * choose-temp.c: Conditionally include string.h.
598
0c0a36a4
ILT
5991999-07-12 Jason Merrill <jason@yorick.cygnus.com>
600
601 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
602
af32ff69
ILT
6031999-07-11 Ian Lance Taylor <ian@zembu.com>
604
605 * splay-tree.c (splay_tree_insert): Add initialization to avoid
606 warning.
607
0c0a36a4
ILT
6081999-07-07 Jason Merrill <jason@yorick.cygnus.com>
609
610 * Makefile.in (needed-list): Only include stuff we actually need
611 for libstdc++.
612
6131999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
614
615 * configure.in (checkfuncs): Add gettimeofday.
616 * config.in, configure: Regenerated.
617
618Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
619
620 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
621 the test fails.
622 * configure: Regenerate.
623
6241999-06-10 Mike Stump <mrs@wrs.com>
625
626 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
627 parallel builds.
628
6291999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
630
631 * putenv.c: Include ansidecl.h to define `const'.
632 * setenv.c: Likewise.
633
634Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
635
636 * Makefile.in (CFILES): Add putenv.c and setenv.c.
637 * configure.in (funcs): Add putenv and setenv.
638 (AC_CHECK_FUNCS): Check for putenv and setenv.
639 * configure: Rebuilt.
640 * putenv.c setenv.c: New files.
641
642 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
643 bytes of space using malloc.
644
645Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
646
647 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
648 the *mangled pointer beyond the end of the string. Clean up code to
649 match prevailing coding style.
650
6511999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
652
653 * tmpnam.c (L_tmpnam): Fix typo.
654
655Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
656
657 * cplus-dem.c (standard_symbol_characters): Renamed from
658 standard_symbol_alphabet. No longer modify TABLE.
659 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
660 modify TABLE.
661 (main): Corresponding changes. Use strchr to determine if a
662 character is valid.
663
e9868447
JB
6641999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
665
666 * cplus-dem.c (main): Use table lookup to distinguish identifier
667 characters from non-identifier characters.
668 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
669
33fbbfbc
RH
670Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
671
672 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
673 * getruntime.c: Only attempt to include sys/resource.h and
674 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
675 are defined.
676
0c0a36a4
ILT
677Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
678
679 * configure.in (alloca detection): Handle alloca directly for interix.
680 * configure: Rebuilt.
681
682Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
683
684 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
685
252b5132
RH
6861999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
687
688 Fix from Dale Hawkins:
b4fe2683 689 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
690 reallocated properly if we use it again.
691
692 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
693 stricter about syntax. Always null-terminate string.
694
c1687039
ILT
695Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
696
697 * configure.in (checkfuncs): Check for sbrk.
698 * config.in: Rebuilt.
699 * configure: Likewise.
700 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
701
0c0a36a4
ILT
7021999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
703
704 Fix from Marcus Daniels:
705 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
706 identifier looking for another underscore.
707
708Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
709
710 * pexecute.c: Change all references to __UWIN__ to _UWIN.
711 * xmalloc.c: Likewise.
712 (xcalloc): UWIN has sbrk.
713 (xrealloc): Fix guard macro.
714
252b5132
RH
7151999-04-11 Richard Henderson <rth@cygnus.com>
716
717 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
718 or <alloca.h>.
719 * clock.c (GNU_HZ): New definition.
720 (clock): Use it.
721 * getruntime.c: Likewise.
722
723 * config.table: Use mh-beos.
724 * config/mh-beos: New file.
725
0c0a36a4
ILT
7261999-04-11 Mark Mitchell <mark@codesourcery.com>
727
728 * cplus-dem.c (demangle_template_value_parm): Handle
729 pointers-to-members.
730 (do_type): Handle template parameters as qualifiers.
731
252b5132
RH
7321999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
733
734 * cplus-dem.c: Attempt to handle overflows in counts with some
735 semblance of grace.
736 (consume_count): Detect overflows. Return -1 to indicate errors,
737 instead of zero.
738 (demangle_template_value_parm, demangle_template): Handle change
739 to consume_count's return convention.
740
0c0a36a4
ILT
7411999-04-05 Tom Tromey <tromey@cygnus.com>
742
743 * testsuite/regress-demangle: New file.
744 * testsuite/demangle-expected: New file.
252b5132 745
0c0a36a4
ILT
746 * Makefile.in (all, check, installcheck, info, install-info,
747 clean-info, dvi, install, etags, tags, mostlyclean, clean,
748 distclean, maintainer-clean, realclean): Depend on corresponding
749 `-subdir' target.
750 (all-subdir check-subdir installcheck-subdir info-subdir
751 install-info-subdir clean-info-subdir dvi-subdir
752 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
753 distclean-subdir maintainer-clean-subdir): New target.
754 * testsuite/Makefile.in: New file.
755 * configure: Rebuilt.
756 * configure.in: Create testsuite/Makefile.
252b5132
RH
757
7581999-04-02 Mark Mitchell <mark@codesourcery.com>
759
760 * splay-tree.h (splay_tree_compare_pointers): Define.
761
7621999-03-30 Mark Mitchell <mark@codesourcery.com>
763
764 * splay-tree.c (splay_tree_compare_ints): Define.
765
7661999-03-30 Tom Tromey <tromey@cygnus.com>
767
768 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
769 don't advance input pointer.
770 (demangle_class_name): If consume_count didn't find a count, do
771 nothing. Don't bother with `strlen' sanity check; consume_count
772 does it for us.
773
7741999-03-16 Stan Shebs <shebs@andros.cygnus.com>
775
776 From Art Haas <ahaas@neosoft.com>:
777 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
778 when doing arm or hp style.
779 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 780
252b5132
RH
781Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
782
783 * pexecute.c (__CYGWIN32__): Rename to
784 (__CYGWIN__): this.
785 * xmalloc.c: Likewise.
786
787 Changes to support i386-pc-uwin.
788 * configure.in (*-*-uwin*): Workaround for vfork bug.
789 * configure: Regenerate.
790 * pexecute.c (pexecute): Be like standard Unix.
791 (pwait): Likewise.
792 * xmalloc.c (first_break): Define.
793 (xmalloc_set_program_name): Use.
794 (xmalloc): Use.
795
796Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
797
798 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
799
800Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
801
802 * config.table: Check cygwin*, not cygwin32*.
803
804Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
805
806 * Makefile.in: Change mkstemp -> mkstemps.
807
808Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
809
810 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
811 * configure.in (funcs): Check for and conditionally add mkstemps to
812 the list of functions libiberty will provide.
813 * configure: Rebuilt.
b4fe2683 814
252b5132
RH
815Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
816
b4fe2683 817 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
818 platforms that don't have HZ.
819 * getruntime.c (HZ): Likewise.
820
821Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
822
823 * Makefile.in (xstrdup.o): Depend on config.h.
824
825Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
826
827 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
828 freeing it.
829
830Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
831
832 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
833
834Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
835
836 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
837 splay-tree.o.
838
8391999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
840
841 * configure.in: Require autoconf 2.12.1 or higher.
842
8431998-12-30 Michael Meissner <meissner@cygnus.com>
844
845 * random.c (NULL): Don't redefine NULL if it is already defined.
846
847Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
848
849 * argv.c (buildargv): Cast the result of alloca in assignment.
850
851 * choose-temp.c: Include stdlib.h.
852
853 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
854 (snarf_numeric_literal): Constify first parameter.
855 (code_for_qualifier): Avoid a gcc extension, make the parameter an
856 int, not a char.
857 (demangle_qualifier): Likewise.
858 (demangle_signature): Cast the argument of a ctype function to
859 unsigned char.
860 (arm_pt): Add parens around assignment used as truth value.
861 (demangle_arm_hp_template): Constify variable `args'.
862 (do_hpacc_template_const_value): Cast the argument of a ctype
863 function to unsigned char.
864 (do_hpacc_template_literal): Remove unused variable `i'.
865 (snarf_numeric_literal): Constify parameter `args'.
866 Cast the argument of a ctype function to unsigned char.
867
868 * floatformat.c (floatformat_to_double): Add explicit braces to
869 avoid ambiguous `else'.
870
871 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
872 `cstart' and `cend' to unsigned char. Cast the argument of macro
873 `FOLD', which uses ctype functions, to unsigned char.
874
875 * objalloc.c (free): Add prototype.
876
877Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
878
879 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
880
881Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
882
883 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
884 doesn't exist.
885 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 886
252b5132
RH
887Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
888
889 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
890 bumping the pointer we read from. Also prepend these codes,
891 as we do in other places.
892
8931998-12-18 Nick Clifton <nickc@cygnus.com>
894
895 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
896 'const char *' in order to match its usage when calling siblings.
897 (snarf_numeric_literal): Make first arg 'const char **' in order
898 to match usage.
899
900Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
901
902 * choose-temp.c: Don't check IN_GCC anymore.
903
904 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
905 * memchr.c (memchr): Likewise.
906 * memcpy.c (memcpy): Likewise.
907 * memmove.c (memmove): Likewise.
908
909 * mkstemp.c: Don't check IN_GCC anymore.
910 * pexecute.c: Likewise.
911 * splay-tree.c: Likewise.
912
913 * strchr.c (strchr): Use `const', not `CONST'.
914 * strrchr.c (strrchr): Likewise.
915 * strtol.c (strtol): Likewise.
916 * strtoul.c (strtoul): Likewise.
917
918Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
919 Elena Zannoni <ezannoni@cygnus.com>
920 Stan Shebs <shebs@cygnus.com>
921 Edith Epstein <eepstein@cygnus.com>
922 Andres MacLeod <amacleod@cygnus.com>
923 Satish Pai <pai@apollo.hp.com>
924
925 * HP aCC demangling support.
926 * cplus-dem.c
927 (main): Remove default to HP style demangling, set to EDG
928 demangling correctly when -edg specified; set the demangling style
929 when user specifies 'edg'. Set strip_underscore to
930 prepends_underscore, if not HPUXHPPA. Set
931 current_demangling_style to hp_demangling if HPUXHPPA. Set
932 current demangling style correctly if the switch is hp. Read
933 label correctly also in the HP style case.
934 (work_stuff): add temp_start field; add field for volatile member
935 function.
936 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
937 style for this case is the same as ARM.
938 (demangle_args): handle EDG_DEMANGLING style; support HP style.
939 (demangle_arm_hp_template): new function. (It was
940 demangle_arm_pt.); check and set value of temp_start field in
941 multiple places. Also, when ceching for end of template args,
942 check to see if at end of static member of template class.
943 (demangle_class): new local variable : save_class_name_end Don't
944 include template args in string defining class.
945 (demangle_class_name): use demangel_arm_hp_template.
946 (demangle_function_name): handle case where demangling style is
947 HP_DEMANGLING and currently point at an 'X' in the mangled name.
948 Handle EDG_DEMANGLING style. Handle constructor and destructor
949 ops for HP style.
950 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
951 styles. global destructor and constructor for HP style are same
952 as for ARM style. Same for local variables.
953 (demangle_qualified): handle EDG_DEMANGLING style.
954 (demangle_signature): add case for volatile member function. For
955 cases '1' - '9' : initialize the temp_start field to -1 and handle
956 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
957 and AUTO_DEMANGLING styles. If expecting a function and managed
958 to demangle the funct args, then handle the LUCID_DEMANGLING,
959 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
960 class name after "Lnnn_ in HP style case. HP style too needs to
961 forget types. _nnn is OK for HP style, so don't report failure.
962 (do_hpacc_template_const_value): new function. Handle template's
963 value param for HP/aCC.
964 (do_hpacc_template_literal): new function. Handle a template's
965 literal parameter for HP aCC.
966 (recursively_demangle): new function
967 (snarf_numeric_literal): new function.
968 (usage): add 'edg' to the list of demangling styles; add hp switch
969 to message.
970
971Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
972
973 * pexecute.c: Remove obsolete ifdefed cygwin code.
974
975Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
976
977 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
978 * cplus-dem.c: Likewise. Conform to libiberty.h.
979 * pexecute.c: Likewise.
980 * splay-tree.c: Likewise.
981
9821998-11-25 Mike Stump <mrs@wrs.com>
983
984 * Makefile.in (splay-tree.o): Add config.h dependency.
985
986Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
987
988 * configure.in: Use AC_PREREQ(2.12.1).
989
9901998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
991
b4fe2683 992 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
993
994Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
995
996 * mpw.c (mpw_access): Add missing parens.
997
998Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
999
1000 * configure.in: Call AC_HEADER_SYS_WAIT.
1001
1002 * pexecute.c: Include sys/wait.h when !IN_GCC.
1003
1004Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1005
1006 * pexecute.c: revert back to checking old Cygwin
1007 preprocessor symbol until some time has passed.
1008
1009Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1010
1011 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1012 since it will now support similar constructs.
1013
1014Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1015
1016 * configure.in: Check for calloc.
1017
1018 * calloc.c: New file.
1019
1020 * xmalloc.c (xcalloc): New function.
1021
1022Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1023
1024 *cplus-dem.c (demangle_prefix): Use the last "__"
1025 in the mangled name when looking for the signature. This allows
1026 template names to begin with "__".
1027
10281998-11-08 Mark Mitchell <mark@markmitchell.com>
1029
1030 * cplus-dem.c (type_kind_t): Add tk_reference.
1031 (demangle_template_value_parm): Handle it.
1032 (do_type): Use it for references, instead of tk_pointer.
1033
1034 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1035 not internal_cplus_demangle.
1036
1037Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1038
1039 * choose-temp.c: Don't include gansidecl.h.
1040 * mkstemp.c: Likewise.
1041 * pexecute.c: Likewise.
1042
1043Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1044
b4fe2683
JM
1045 * configure.in: detect cygwin* instead of cygwin32*
1046 * configure: regenerate
252b5132
RH
1047
1048Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1049
1050 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1051 whether to include config.h. Possibly include unistd.h in the
1052 !IN_GCC case. Define VFORK_STRING as a printable function call
1053 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1054 defined, include vfork.h. If VMS is defined, define vfork()
1055 appropriately. Remove vfork check on USG, we're using autoconf.
1056 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1057 locally what string to use.
1058
10591998-10-26 Mark Mitchell <mark@markmitchell.com>
1060
1061 * splay-tree.c: Tweak include directives to make sure declarations of
1062 xmalloc and free are available.
1063
10641998-10-25 Mark Mitchell <mark@markmitchell.com>
1065
1066 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1067 anonymous namespaces.
1068
10691998-10-23 Mark Mitchell <mark@markmitchell.com>
1070
1071 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1072 with type_quals.
1073 (TYPE_UNQUALIFIED): New macro.
1074 (TYPE_QUAL_CONST): Likewise.
1075 (TYPE_QUAL_VOLATILE): Likewise.
1076 (TYPE_QUAL_RESTRICT): Likewise.
1077 (code_for_qualifier): New function.
1078 (qualifier_string): Likewise.
1079 (demangle_qualifier): Likewise.
1080 (internal_cplus_demangle): Use them.
1081 (demangle_signature): Likewise.
1082 (demangle_template_value_parm): Likewise.
1083 (do_type): Likewise.
1084 (demangle_fund_type)): Likewise.
1085
1086Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1087
1088 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1089 to match prototype.
1090
10911998-10-21 Mark Mitchell <mark@markmitchell.com>
1092
1093 * splay-tree.c: New file.
1094 * Makefile.in (CFILES): Add it.
1095 (REQUIRED_OFILES): Likewise.
1096 (splay-tree.o): Add dependencies.
1097
1098Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1099
1100 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1101 range of 'K' index.
1102
1103Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1104
1105 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1106
1107 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1108 `unsigned char'.
1109 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1110 comparing against one.
1111 (cplus_mangle_opname): Likewise.
1112 (demangle_integral_value): Cast argument of ctype macro to
1113 `unsigned char'.
1114 (demangle_template_value_parm): Likewise.
1115 (demangle_template): Initialize variable `bindex'. Cast the
1116 result of `strlen' to (int) when comparing against one. Remove
1117 unused variable `start_of_value_parm'.
1118 (demangle_class_name): Cast the result of `strlen' to (int) when
1119 comparing against one.
1120 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1121 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1122 when comparing against one.
1123 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1124 (get_count): Likewise.
1125 (do_type): Likewise. Cast the result of `strlen' to (int) when
1126 comparing against one.
1127 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1128 (demangle_function_name): Cast the result of `strlen' to (int)
1129 when comparing against one.
1130
1131 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1132 comparing against one.
1133
1134Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1135
b4fe2683
JM
1136 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1137 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1138 * config.in, configure: Rebuilt.
252b5132
RH
1139
1140 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1141 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1142 * config.in, configure: Rebuilt.
1143
1144Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1145
b4fe2683 1146 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
1147
1148Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1149
1150 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1151
1152Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1153
1154 * Merge egcs & devo libiberty.
1155