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