]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
jvgenmain.c (class_mangling_suffix): Remove unused string.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
42c0c80a
PE
12001-01-29 Phil Edwards <pme@sources.redhat.com>
2
3 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
4
584932e9
DD
52000-12-29 DJ Delorie <dj@redhat.com>
6
7 * fnmatch.c: Make the note about the origins of this file more
8 accurate, at least until we can sync with glibc.
9 * getopt.c: Ditto.
10 * getopt1.c: Ditto.
11 * md5.c: Ditto.
12 * obstack.c: Ditto.
13
dac45916
MS
142000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
15
16 * bsearch.c: New file.
17 * configure.in (funcs): Add bsearch.
18 (AC_CHECK_FUNCS): Likewise.
19 * configure, config.in: Regenerate.
20
a8e4a997
MS
212000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
22
23 * safe-ctype.c: #include "ansidecl.h".
24 * strtod.c: Likewise.
25
75444da7
MS
262000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
27
28 * strtoul.c: Include safe-ctype.h, not ctype.h.
29
f6bbde28
ZW
302000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
31
32 * safe-ctype.c: New file.
33 * Makefile.in (CFILES): Add safe-ctype.c.
34 (REQUIRED_OFILES): Add safe-ctype.o.
35
36 * argv.c: Define ISBLANK and use it, not isspace.
37 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
38 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
39 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
40 before calling TOLOWER(c)/TOUPPER(c).
41
6c1ce62b 422000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
43
44 * Makefile.in (distclean): When cleaning, remove testsuite.
45
b5d1497d
JM
462000-12-05 Jason Merrill <jason@redhat.com>
47
48 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
49 name before allocating the dyn_string.
50
c6e13630
JM
512000-12-04 Jason Merrill <jason@redhat.com>
52
53 * cp-demangle.c: s/new_abi/v3/.
54 * cplus-dem.c: Likewise.
55 (current_demangling_style): Now auto_demangling.
56 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 57 (main): Use standard symbol chars for auto_demangling.
c6e13630 58
a4c9b97e
MM
592000-11-26 Mark Mitchell <mark@codesourcery.com>
60
61 * hashtab.c (higher_prime_number): Use a table, rather than a
62 seive, to find the next prime.
63
3b3bd9a7
L
642000-11-22 H.J. Lu <hjl@gnu.org>
65
66 * cplus-dem.c (main): Handle gnat_demangling.
67
d1209685
ZW
682000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
69
70 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
71 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
72 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
73 argument form of AC_DEFINE in dummy definitions block. Use
74 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
75 in dummy block. Preload cache variables instead of bypassing
76 tests, where possible.
77 * acconfig.h: Removed.
78
79 * xmalloc.c (xmalloc_failed): New function, does error
80 reporting on failed allocation.
81 (xmalloc, xcalloc, xrealloc): Use it.
82
cf183ac2
HPN
832000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
84
85 * cplus-dem.c (cplus_demangle): Fix formatting.
86 (grow_vect): Ditto.
87 (ada_demangle): Ditto.
88 (internal_cplus_demangle): Ditto.
89 (mop_up): Ditto.
90
912000-11-21 H.J. Lu <hjl@gnu.org>
92
93 * cplus-dem.c (main): Handle java_demangling.
94
8bcc782c
KG
952000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
96
97 * cplus-dem.c (grow_vect): Prototype.
98 (ada_demangle): Cast the arg of ctype macros to unsigned char.
99
29120f44
HPN
1002000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
101
102 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
103 parameter `option'.
104
0437a5a8
KB
1052000-11-15 Kenneth Block <kenneth.block@compaq.com>
106
9e038f71 107 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
108 be used in GCC.
109
eab0c1ab 1102000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 111
29120f44 112 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
113 list.
114
d50d20ec
HPN
1152000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
116
117 * hashtab.c (htab_expand): Change to return int. Use calloc or
118 xcalloc depending on htab->return_allocation_failure. Return zero
119 if calloc fails.
120 (htab_create): Update comment to cover memory allocation.
121 (htab_try_create): New.
122 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
123 Update comment to cover this.
124
35e9340f
HPN
1252000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
126
127 * hashtab.c: Change void * to PTR where necessary.
128 (htab_create, htab_expand): Correct formatting of comment before
129 function.
130
ea343d1a 1312000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
132
133 * cp-demangle.c (string_list_def): Add caret_position and comments.
134 (result_caret_pos): New macro.
135 (result_append_string): Rename to...
136 (result_add_string): ... this, and insert at caret position.
d1209685 137 Rename throughout.
0870bfd6
AS
138 (result_append): Rename to...
139 (result_add): ... this, and insert at caret position. Rename
d1209685 140 throughout.
0870bfd6
AS
141 (result_append_char): Rename to...
142 (result_add_char): ... this, and insert at caret position. Rename
d1209685 143 throughout.
0870bfd6
AS
144 (result_append_space): Remove.
145 (string_list_new): Initialize caret position.
146 (result_add_separated_char): Use caret position.
147 (result_get_caret): New funtion.
148 (result_set_caret): Likewise.
149 (result_shift_caret): Likewise.
150 (result_previous_char_is_space): Likewise.
151 (substitution_start): Use caret position.
152 (substitution_add): Likewise.
153 (demangling_new): Initialize caret position.
154 (demangle_encoding): Use caret position.
d1209685 155 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
156 (demangle_type_ptr): Use switch statement. Handle pointers to
157 arrays. Don't use result_append_space. Use caret position.
158 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
159 call to demangle_array_type.
160 (demangle_array_type): Add parameter to handle pointers to arrays.
161
f15b9af9
MM
1622000-10-01 Mark Mitchell <mark@codesourcery.com>
163
164 * splay-tree.c (splay_tree_insert): Fix formatting.
165
8f17b5c5
MM
1662000-09-16 Mark Mitchell <mark@codesourcery.com>
167
168 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
169
4eaa189a
MS
1702000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
171
172 * splay-tree.c: #include <stdio.h>.
173
29791078
HPN
1742000-09-14 Hans-Peter Nilsson <hp@axis.com>
175
176 * testsuite/demangle-expected: Add two tests for anonymous
177 namespaces.
178 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
179
2c9f4db7
MM
1802000-09-10 Mark Mitchell <mark@codesourcery.com>
181
182 * splay-tree.c (splay_tree_predecessor): New function.
183 (splay_tree_successor): Likewise.
184
bb22da4b
HPN
1852000-09-10 Hans-Peter Nilsson <hp@axis.com>
186
187 * testsuite/demangle-expected: Add four tests for type_info
188 mangling.
bb22da4b
HPN
189 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
190 for a non-template non-qualified type_info function or node.
191
759e8187
AS
1922000-09-08 Alex Samuel <samuel@codesourcery.com>
193
194 * cp-demangle.c: Fix copyright banner.
195
2ecd81ef
MS
1962000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
197
198 * md5.c: #include "ansidecl.h".
199
d93998ec
AS
2002000-09-06 Alex Samuel <samuel@codesourcery.com>
201
202 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
203 (demangle_type): Handle substitution candidates correctly in the
204 face of special substitutions.
205
1056d228
AS
2062000-09-05 Alex Samuel <samuel@codesourcery.com>
207
208 * cp-demangle.c (demangle_encoding): Rename variable.
209 (demangle_name): Rename parameter. Handle return type
210 suppression.
211 (demangle_nested_name): Rename parameter.
212 (demangle_prefix): Likewise. Change return type suppression.
213 (demangle_unqualified_name): Add parameter. Flag constructors and
214 conversion operators.
215 (demangle_special_name): Fix comment.
216 (demangle_type): Rename variable.
217 (demangle_bare_function_type): Check for missing return type and
d1209685 218 parameter.
1056d228
AS
219 (demangle_class_enum_type): Rename parameter.
220 (demangle_discriminator): Fix misspelling in comment.
221
2f31ed7e
DD
2222000-08-31 DJ Delorie <dj@redhat.com>
223
224 * configure.in (Cygwin): special case cygwin only when we're
225 building cygwin, not when we're hosting cygwin.
226
02bcb9c6
AS
2272000-09-04 Alex Samuel <samuel@codesourcery.com>
228
229 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
230 <expression>.
231
aee749cf
AS
2322000-09-04 Alex Samuel <samuel@codesourcery.com>
233
234 * cp-demangle.c (demangle_type_ptr): Increment position past
235 pointer and reference characters.
236
92a16bbe
AS
2372000-09-04 Alex Samuel <samuel@codesourcery.com>
238
239 * cp-demangle.c (demangle_nv_offset): New function.
240 (demangle_v_offset): Likewise.
241 (demangle_call_offset): Likewise.
242 (demangle_special_name): Update thunk demangling to comply with
243 ABI changes.
d1209685 244
31e0ab1f
AS
2452000-09-03 Alex Samuel <samuel@codesourcery.com>
246
247 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
248 (substitution_def): Remove template_parm_number.
249 (NOT_TEMPLATE_PARM): Remove.
250 (result_insert_string): New macro.
251 (result_insert): Likewise.
252 (result_insert_char): Likewise.
253 (substitution_add): Remove last parameter. Don't store template
d1209685 254 parm number.
31e0ab1f
AS
255 (BFT_NO_RETURN_TYPE): Define as NULL.
256 (demangle_encoding): Adjust call to demangle_bare_function_type.
257 (demangle_name): Adjust substitution. Adjust call to
d1209685 258 substitution_add.
31e0ab1f
AS
259 (demangle_prefix): Adjust call to substitution_add.
260 (demangle_identifier): Handle anonymous namespaces.
261 (demangle_operator_name): Change demangling of vendor-extended
262 operator to match ABI changes.
263 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 264 substitutions here.
31e0ab1f
AS
265 (demangle_type): Adjust calls to demangle_template_param,
266 substitution_add, and demangle_type_ptr. Fix substitution of
267 templated types.
268 (demangle_function_type): Change parameter to a pointer.
269 (demangle_bare_function_type): Likewise. Adjust insertion point.
270 (demangle_template_param): Remove last parameter.
271 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 272 demangle_template_param.
31e0ab1f
AS
273 (is_mangled_char): Accept `$' and `.'.
274 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
275 * dyn-string.c (dyn_string_insert_char): New function.
276
ccbc3eb7
HPN
2772000-08-31 Hans-Peter Nilsson <hp@axis.com>
278
279 * testsuite/demangle-expected: Add nine tests for
280 underscore-after-number followed by five tests for name-signature
281 delimiter.
282
53dce582
RH
2832000-08-28 Richard Henderson <rth@cygnus.com>
284
285 * Makefile.in (md5.o): Depend on config.h.
286
881c6935
JM
2872000-08-28 Jason Merrill <jason@redhat.com>
288
289 * Makefile.in (REQUIRED_OFILES): Add md5.o.
290 (CFILES): Add md5.c.
291 * md5.c: New file.
292
a440fd19
AS
2932000-08-27 Alex Samuel <samuel@codesourcery.com>
294
295 * cp-demangle.c (demangle_name): Initialize template_p in local
296 name case. Don't re-add substitutions as candidates.
297 (demangle_nested_name): Use <unqualified-name>.
298 (demangle_prefix): Likewise. Don't add template names as
299 substitution candidates twice, or re-add a substitution or the
300 last prefix component.
301 (demangle_local_name): Adjust output format.
302
d01ce591
AS
3032000-08-25 Alex Samuel <samuel@codesourcery.com>
304
305 * cp-demangle.c (result_add_separated_char): Change parameter to
306 int.
307 (substitution_add): Don't check for duplicates. Check if
308 previously allocated size is zero.
309 (demangle_name): Remove duplicate check for std substitution.
310 Clear template flag appropriately.
311 (demangle_prefix): Remove argument to demangle_substitution.
312 Don't check that template flag is already set.
313 (demangle_operator_name): Add pt operator.
314 (demangle_type): Don't treat r as built-in type. Remove argument
315 to demangle_substitution. Fix substitution candidate mechanics.
316 Handle <template-template-parm>s. Improve comments.
d1209685 317 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
318 (demangle_substitution): Remove parameter.
319 (print_usage): Remove extra fprintf option.
320
2f59c8eb
GM
3212000-08-24 Greg McGary <greg@mcgary.org>
322
323 * libiberty/random.c (end_ptr): Revert previous change.
324
2f26c11d
GM
3252000-08-24 Greg McGary <greg@mcgary.org>
326
327 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
328 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
329 * libiberty/random.c (end_ptr): Likewise.
330
e282c9c9
AS
3312000-08-23 Alex Samuel <samuel@codesourcery.com>
332
333 * cp-demangle.c (result_close_template_list): Remove function.
334 (result_add_separated_char): New function.
335 (result_open_template_list): New macro.
336 (result_close_template_list): Likewise.
337 (demangle_prefix): Don't set template_p if the
338 prefix ends with a ctor name.
339 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
340 (demangle_type): Check for template args after substitution.
341 (demangle_template_args): Use result_open_template_list.
d1209685 342
c9b6494a
ZW
3432000-08-02 Zack Weinberg <zack@wolery.cumb.org>
344
345 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
346
d1209685 3472000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
348
349 * config/mh-openedition.h: Added -DLE370 definition.
350
0aab2795
ME
3512000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
352
353 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
354 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
355 Cast program to 'char *' in errmsg_arg assignment.
356 (PWAIT_ERROR): Define.
357 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
358 to DJGPP's WIF* macros.
359
c2f275e4
RB
3602000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
361 Jeff Law <law@cygnus.com>
362
73aa9564
RB
363 * getcwd.c: Include string.h, stdlib.h for prototypes
364
c2f275e4 365 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
366 * rename.c: Include config.h, unistd.h
367 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 368
ccbc3eb7
HPN
3692000-07-24 Hans-Peter Nilsson <hp@axis.com>
370
371 * cplus-dem.c (work_stuff_copy_to_from): New.
372 (delete_non_B_K_work_stuff): New.
373 (delete_work_stuff): New.
374 (mop_up): Break out work_stuff partly destruction to
375 delete_non_B_K_work_stuff.
376 (iterate_demangle_function): New.
377 (demangle_prefix): Call iterate_demangle_function instead of
378 demangle_function_name. Leave handling of name-signature
379 __-delimiters to iterate_demangle_function.
380 (demangle_integral_value): Strip an optional
381 following underscore cautiously. Handle negative numbers.
382
3388651c
DB
3832000-07-24 Daniel Berlin <dberlin@redhat.com>
384
d1209685 385 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
386 if (AUTO_DEMANGLING || GNU_DEMANGLING)
387
0fac482e
AS
3882000-07-21 Alex Samuel <samuel@codesourcery.com>
389
390 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
391 allocating ctor mangling.
392 (demangle_array_type): Handle empty and non-constant array length.
393
8502a100 3942000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
395 Jeff Law <law@cygnus.com>
396
c6451ce1
MS
397 * configure.in (AC_CHECK_HEADERS): Add time.h.
398 (AC_HEADER_TIME): Add check.
399 * configure, config.in: Regenerate.
400 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
401
cd447360
MS
402 * configure.in (AC_CHECK_HEADERS): Add limits.h.
403 * configure, config.in: Regenerate.
404 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
405 * strtol.c, strtoul.c: #include "config.h". Portably #include
406 <limits.h> and/or <sys/param.h>.
407 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 408
3b58c099
MS
409 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
410 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
411 * configure, config.in: Regenerate.
412 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
413
8502a100
MS
414 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
415
da0c7743
MS
4162000-07-21 Mike Stump <mrs@wrs.com>
417
418 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 419 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 420
838f8562
KG
4212000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
422
423 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
424
425 * setenv.c (setenv): Initialize variable `ep'.
426
427 * sigsetmask.c (abort): Prototype.
428
429 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
430 __STDC__ for stdarg.h include.
431 (int_vasprintf): Prototype.
432 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
433 definition. Cast `global_total_width' in comparison.
434 (main): Prototype. Return a value.
435
436 * vfork.c (fork): Prototype.
437
438 * xexit.c: Include config.h.
439
e9958132
JM
4402000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
441
442 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
443 and print it with %u.
444
39a6492f
HPN
4452000-07-17 Hans-Peter Nilsson <hp@axis.com>
446
447 * testsuite/regress-demangle (failed test): Show result and
448 expected output.
449
6d0be369
AH
4502000-07-07 Andrew Haley <aph@cygnus.com>
451
452 * cplus-dem.c (main): fflush() after emitting last char before
453 waiting for input.
454
bece74bd
AS
4552000-06-28 Alex Samuel <samuel@codesourcery.com>
456
457 * cp-demangle.c (demangle_encoding): Accept no substitutions.
458 (demangle_name): Handle <substitution> followed by
459 <unqualified-template-name>.
460 (demangle_type): Follow special substitutions with
461 <class-enum-type>
462 (demangle_subtitution): Set template_p for special substitutions.
463 (main): Fix typos.
d1209685 464
229b8ec7
AS
4652000-06-27 Alex Samuel <samuel@codesourcery.com>
466
467 * cp-demangle.c (demangle_special_name): Swap base and derived
468 class when demangling construction vtables.
469
051664b0
AS
4702000-06-21 Alex Samuel <samuel@codesourcery.com>
471
472 * cp-demangle.c: Don't include ctype.h.
473 (IS_DIGIT): New macro.
474 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
475 instead of isdigit and isalpanum.
476 (demangling_def): Make name and next const pointers.
477 (STATUS_ALLOCATION_FAILED): New status code.
478 (dyn_string_append_space): Handle failure in
479 dyn_string_append_char.
480 (int_to_dyn_string): Likewise. Change return value to status_t.
481 (string_list_new): Handle failure of dyn_string_init.
482 (result_close_template_list): Change return type to status_t.
483 Handle failure in dyn_string_append.
484 (result_push): Change return value to status_t. Handle failure in
485 string_list_new. Handle failure of result_push throughout.
486 (substitution_add): Change return value to status_t. Handle
487 dyn_string failures. Handle failure of substitution_add
488 throughout.
489 (template_arg_list_new): Return NULL on allocation failure.
490 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
491 Handle error result throughout.
492 (result_append): Likewise.
493 (result_append_char): Likewise.
494 (result_append_space): Likewise.
495 (demangling_new): Make argument a const pointer. Handle
496 allocation failures.
497 (demangle_template_args): Handle failure in template_arg_list_new
498 and result_close_template_list.
499 (demangle_discriminator): Return if int_to_dyn_string fails.
500 (cp_demangle): Likewise.
501 (cp_demangle_type): New function.
502 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
503 memory allocation failure.
504 (main): Likewise.
505 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
506 IN_LIBGCC2.
507 (dyn_string_init): Change return value to int. Handle
508 RETURN_ON_ALLOCATION_FAILURE case.
509 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
510 (dyn_string_release): Delete the dyn_string.
511 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
512 (dyn_string_copy): Change return type to int.
513 (dyn_string_copy_cstr): Likewise.
514 (dyn_string_prepend): Likewise.
515 (dyn_string_prepend_cstr): Likewise.
516 (dyn_string_insert): Likewise.
517 (dyn_string_insert_cstr): Likewise.
518 (dyn_string_append): Likewise.
519 (dyn_string_append_cstr): Likewise.
520 (dyn_string_append_char): Likewise.
521 (dyn_string_substring): Likewise.
d1209685 522
fe06b696
ZW
5232000-06-09 Zack Weinberg <zack@wolery.cumb.org>
524
525 * cp-demangle.c (demangle_operator_name): Add spaces before
526 names beginning with a letter: delete, delete[], new, new[],
527 sizeof.
528 (demangle_special_name): Handle TF <type> and TJ <type>.
529
6223e158
PDM
530Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
531
532 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
533
48f3e29b
PDM
534Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
535
536 * cp-demangle.c (stdio.h): File included unconditionaly.
537 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
538 * dyn-string.c (stdio.h): File included.
539 * partition.c (partition_print): No `&' needed to take the address of
540 a function.
541
69197e7e
KG
5422000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
543
544 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 545
69197e7e
KG
546 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
547
548 * cp-demangle.c (demangle_char): Change parameter from char to int.
549 (demangle_expression, demangle_expr_primary): Remove extra
550 semi-colon in prototype.
551
552 * dyn-string.c (dyn_string_append_char): Change parameter from
553 char to int.
554
555 * memcmp.c (memcmp): Constify.
556
557 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
558 __extension__.
559
560 * partition.c (elem_compare): Prototype. Don't cast away
561 const-ness.
562
563 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 564
7eb23b1f
KG
5652000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
566
567 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
568
569 * cp-demangle.c: Include demangle.h.
570 (template_arg_list_new): DeANSIfy.
571 (cp_demangle): Make static and add prototype.
572 (operator_code, operators): Constify.
573 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
574
3faa108c
AS
5752000-06-05 Alex Samuel <samuel@codesourcery.com>
576
577 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
578 unsigned char.
579 (demangle_unqualified_name): Likewise.
580 (demangle_number_literally): Likewise.
581 (demangle_type): Likewise.
582 (demangle_substitution): Likewise.
583 (is_mangled_char): Likewise, for isalnum.
584
69afa80d
AS
5852000-06-04 Alex Samuel <samuel@codesourcery.com>
586
587 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
588 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
589 (cp-demangle.o): New dependency.
590 (dyn-string.o): Likewise.
591
592 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
593
594 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
595 demangler.
596 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
597 demangling mode.
598 (gnu_new_abi_symbol_characters): New function.
599 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
600 file.
601 * cp-demangle.c: New file.
d1209685 602
0b72c3df
AC
603Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
604
605 * floatformat.c: Add name to each floatformat field.
606
270cea06
JL
607Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
608
609 * Makefile.in (objalloc.o): Depend on config.h
610
d11ec6f0
ZW
6112000-05-29 Zack Weinberg <zack@wolery.cumb.org>
612
613 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
614 if HAVE_STRING_H.
615 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
616 * objalloc.c: Include config.h. Include stdlib.h and don't
617 declare malloc or free if HAVE_STDLIB_H.
618 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
619 else declare malloc without prototype. Include string.h if
620 HAVE_STRING_H, else declare memset without prototype. Don't
621 include stddef.h.
622
f8e2da56
MS
6232000-05-23 Mike Stump <mrs@wrs.com>
624
625 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
626 -j3.
627
650f3068
DA
6282000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
629
630 * xmalloc.c: Include config.h for HAVE_SBRK definition.
631
1d2da2e1
HB
6322000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
633
d1209685 634 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
635 probably zero, also eliminate a warning on alpha.
636
47668d0a
DE
6372000-05-15 David Edelsohn <edelsohn@gnu.org>
638
c7a79a32 639 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
640 on $(enable_shared).
641
36348eab
JJ
6422000-05-10 Jakub Jelinek <jakub@redhat.com>
643
644 * config.table: Use mh-sparcpic for sparc*-*-*.
645
209bbe34
NC
6462000-05-08 Nick Clifton <nickc@cygnus.com>
647
648 * Makefile.in (CFILES): Add strncmp.c.
649 (NEEDED): Add strncmp.
650
a85a47fb
KG
6512000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
652
653 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
654 Cast the arguments to `islower' to `unsigned char'.
655 (print_demangler_list): Prototype.
656
4aef973c
PDM
657Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
658
659 * sort.c (UCHAR_MAX): Provide fallback definition.
660
3b94497c
AO
6612000-04-29 Alexandre Oliva <aoliva@cygnus.com>
662
663 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
664 SUBDIRS.
665
24eaa47a
KB
6662000-04-28 Kenneth Block <block@zk3.dec.com>
667 Jason Merrill <jason@casey.cygnus.com>
668
d1209685
ZW
669 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
670 (cplus_demangle_set_style): New function for setting style.
671 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 672
a9266bfa
KG
6732000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
674
675 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
676
677 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
678 (libiberty_AC_FUNC_STRNCMP): Invoke.
679
680 * strncmp.c: New file.
681
8e02c4d0
JH
682Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
683
684 * hashtab.c (htab_expand): Add prototype.
685 (find_empty_slot_for_expand): Likewise.
686
4feeaae3
KG
6872000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
688
689 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
690 match prototype.
691 (htab_expand): Cast the return value of xcalloc.
692
18a94a2f
MM
6932000-04-24 Mark Mitchell <mark@codesourcery.com>
694
695 * hashtab.c (hash_pointer): New function.
696 (eq_pointer): Likewise.
697 (htab_hash_pointer): New variable.
698 (htab_eq_pointer): Likewise.
699
eeb0656f
MM
7002000-04-23 Mark Mitchell <mark@codesourcery.com>
701
b51024fc
MM
702 * sort.c (sort_pointers): Fix endianness bugs.
703
eeb0656f
MM
704 * sort.c: New file.
705 * Makefile.in (CFILES): Add sort.c
706 (REQUIRED_OFILES): Add sort.o.
707 (sort.o): New target.
708
7277f72d
MS
7092000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
710
711 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
712 4.3BSD systems.
713
e38992e8
RK
714Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
715
716 * hashtab.c: Various minor cleanups.
717 (htab_find_slot_with_hash): INSERT is now enum insert_option.
718 (htab_find_slot): Likewise.
719
498e1ab1
DP
7202000-04-16 Dave Pitts <dpitts@cozx.com>
721
722 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 723
dc17cc7b
RH
7242000-04-05 Richard Henderson <rth@cygnus.com>
725
726 * splay-tree.c (splay_tree_remove): New.
727
b13eb66b
MM
7282000-03-30 Mark Mitchell <mark@codesourcery.com>
729
730 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
731 codes.
732 (htab_find_with_hash): Likewise.
733 (htab_find_slot_with_hash): Likewise.
d1209685 734
0194e877
ZW
7352000-03-29 Zack Weinberg <zack@wolery.cumb.org>
736
737 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
738 unless it will be used. Rearrange loop for better
739 optimization.
740 (higher_prime_number): Add static prototype.
741
abc61fd4
JL
742Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
743
744 * Makefile.in (partition.o): Depend on config.h
745
8c5d513f
BS
7462000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
747
748 * hashtab.c (find_empty_slot_for_expand): New function.
749 (htab_expand): Use it instead of htab_find_slot.
750 (htab_find_with_hash): Renamed from htab_find; now accepts extra
751 argument HASH.
752 (htab_find_slot_with_hash): Likewise for htab_find_slot.
753 (htab_find): New wrapper function.
754 (htab_find_slot): Likewise.
755 (htab_traverse): Pass slot, not entry, to called function.
756
d9d4fb43
AS
7572000-03-09 Alex Samuel <samuel@codesourcery.com>
758
759 * Makefile.in (CFILES): Add partition.c.
760 (REQUIRED_OFILES): Add partition.o.
761 (partition.o): New rule.
762 * partition.c: New file.
d1209685 763
5dc9cffd
ZW
7642000-03-09 Zack Weinberg <zack@wolery.cumb.org>
765
766 * hashtab.c (htab_create): Set del_f.
767 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
768 Use it.
769
5194cf08
ZW
7702000-03-08 Zack Weinberg <zack@wolery.cumb.org>
771
772 * hashtab.c: Remove debugging variables (all_searches,
773 all_collisions, all_expansions). Delete
774 all_hash_table_collisions.
775 (create_hash_table, delete_hash_table, empty_hash_table,
776 find_hash_table_entry, remove_element_from_hash_table_entry,
777 clear_hash_table_slot, traverse_hash_table, hash_table_size,
778 hash_table_elements_number, hash_table_collisions): Rename to:
779 htab_create, htab_delete, htab_empty, htab_find_slot,
780 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
781 htab_elements, htab_collisions.
782 (htab_find): New function, handles common case where you don't
783 plan to add or delete an entry.
784 (htab_expand): Don't create a whole new table, just a new
785 entry vector.
786 (htab_find_slot): Simplify logic.
787
5ad5a984
ILT
7881999-08-03 Ian Lance Taylor <ian@zembu.com>
789
790 * floatformat.c: Add casts to avoid signed/unsigned warnings.
791 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
792
793 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
794 $(TARGETLIB)n so it works on MSDOS.
795 (install_to_tooldir): Likewise.
796
7971999-07-21 Ian Lance Taylor <ian@zembu.com>
798
799 From Mark Elbrecht:
800 * makefile.dos: Remove; obsolete.
801 * configure.bat: Remove; obsolete.
802
8031999-07-11 Ian Lance Taylor <ian@zembu.com>
804
805 * splay-tree.c (splay_tree_insert): Add initialization to avoid
806 warning.
807
aeecce42
MK
8082000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
809
810 * pexecute.c: Conditionally include string.h.
5194cf08 811 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 812
1eaf7d9c
KG
8132000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
814
815 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
816 we're using gcc.
817
818 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
819
0fadedb2
GK
8201999-12-27 Geoff Keating <geoffk@cygnus.com>
821
822 * vasprintf.c (int_vasprintf): Don't re-read the format character
823 as this mishandles strings like '%%s'.
824
08230f26
MM
8251999-12-05 Mark Mitchell <mark@codesourcery.com>
826
827 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
828 rather than struct splay_tree_node.
829 (splay_tree_insert): Use struct splay_tree_s rather than struct
830 splay_tree.
831
6de9b8ff
PDM
832Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
833
834 * hashtab.c (sys/types.h): File included.
835
f3636679
JM
8361999-11-22 Jason Merrill <jason@casey.cygnus.com>
837
838 * strtoul.c, strtol.c, random.c: Remove advertising clause from
839 BSD license, pursuant with
840
841 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
842
36dd3a44
JL
843Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
844
845 * hashtab.c: Include stdio.h.
846
6e300472
JL
847Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
848
849 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
850
df548dfc
PDM
851Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
852
853 * xstrdup (sys/types.h): Include this file.
854
2c375143
NS
8551999-10-28 Nathan Sidwell <nathan@acm.org>
856
857 * Makefile.in (SUBDIRS): New macro.
858 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
859 avoid multiple subdirectory cleaning.
860 (*-subdir): Use SUBDIRS.
861
a82cecda
JK
8621999-10-25 Jim Kingdon <http://developer.redhat.com/>
863
864 * cplus-dem.c: Move declarations of standard_symbol_characters and
865 hp_symbol_characters inside #ifdef MAIN to avoid compiler
866 warnings.
867
ed38f5d5
ZW
8681999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
869
870 * hashtab.c (find_hash_table_entry): When returning a
871 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
872 (clear_hash_table_slot): New function which deletes an entry
873 by its position in the table, not its value.
874 (traverse_hash_table): New function which calls a hook
875 function for every live entry in the table.
876
b60fe4a7
MM
8771999-10-19 Mark Mitchell <mark@codesourcery.com>
878
879 * cplus-dem.c (INTBUF_SIZE): New macro.
880 (string_append_template_idx): New function.
881 (demangle_expression): Likewise.
882 (demangle_integral_value): Use it.
883 (demangle_real_value): New function, split out from ...
884 (demangle_template_value_parm): ... here. Use
885 string_append_template_idx. Use demangle_real_value.
886 (demangle_template): Use string_append_template_idx.
887 (demangle_qualified): Use consume_count_with_underscores.
888 (get_count): Tweak formatting.
889 (do_type): Use string_append_template_idx.
5194cf08 890
3da5522a
KG
8911999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
892
893 * calloc.c: Add a public domain notice.
894
d7d36ea8
PDM
895Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
896
897 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
898
a2f945c6
VM
899Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
900
901 * Makefile.in (CFILES): Add hashtab.c
902 (REQUIRED_OFILES): Add hashtab.o
903 (hashtab.o): Add dependencies.
904 * hashtab.c: New file
905
7f22ec2e
MK
906Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
907
908 * basename.c (DIR_SEPARATOR): New macro.
909 (DIR_SEPARATOR_2): Likewise.
910 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
911 (IS_DIR_SEPARATOR): Likewise.
912 (main): Handle MSDOS style pathname.
913
7c56a6ce
MM
9141999-10-11 Mark Mitchell <mark@codesourcery.com>
915
916 * cplus-dem.c (do_type): Handle pointer to member types whose
917 enclosing classes have namespace scope.
918
cd32188b
ME
919Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
920
921 * config.table: Provide a backup shell for executing move-if-change.
922
fc232f7a
MM
9231999-10-02 Mark Mitchell <mark@codesourcery.com>
924
925 * xmalloc.c (xmalloc): Fix spelling error.
926 (xcalloc, xrealloc): Likewise.
927
2a138827
KG
9281999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
929
930 * cplus-dem.c (fancy_abort, demangle_integral_value,
931 demangle_arm_hp_template, recursively_demangle,
932 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
933 (program_name, program_version, fatal): Constify a char*.
934 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
935 (main): Call return, not exit.
936
5a657fc3
KG
9371999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
938
939 * choose-temp.c: Remove obsolete comment about gcc.
940 (make_temp_file): Constify a char*.
941
33c5ddcd
KG
942Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
943
944 * xmemdup.c: Include sys/types.h.
945
b10647f1
JG
9461999-09-07 Jeff Garzik <jgarzik@pobox.com>
947
948 * xmemdup.c: New xmemdup function.
949 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
950
3dd6c3af
LV
951Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
952
5194cf08 953 * config.table: Add openedition target.
3dd6c3af
LV
954 * config/mh-openedition: New file.
955
19e28e2a
ME
956Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
957
958 * pexecute.c (pexecute): Fill in temp_base when needed.
959
4dfeccf9
RH
9601999-08-31 Richard Henderson <rth@cygnus.com>
961
962 * getpwd.c: Check HAVE_GETCWD before defining it away.
963
4ac3cb83
KG
9641999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
965
966 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
967 (REQUIRED_OFILES): Add getpwd.o.
968 (getpwd.o): Add target.
969
970 * configure.in (AC_PREREQ): Bump to 2.13.
971 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
972
973 * getpwd.c: New file, moved here from gcc.
974
e797ff70
KG
9751999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
976
977 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
978 comparing against a signed quantity.
979 (arm_special): Likewise.
980 (demangle_fund_type): Likewise.
981 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 982 ATTRIBUTE_UNUSED.
e797ff70
KG
983 (main): Constify variable `valid_symbols'.
984
55247fce
PDM
985Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
986
987 * strtoul.c (strtoul): Add parentheses around && within ||.
988
76632dd0
DJ
989Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
990
991 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
992 libdir, libsubdir and tooldir.
993
d080bbfa
MM
9941999-08-01 Mark Mitchell <mark@codesourcery.com>
995
996 * splay-tree.c (splay_tree_insert): Return the new node.
997
a81c752a
RH
9981999-07-14 Richard Henderson <rth@cygnus.com>
999
5194cf08 1000 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
1001 prototyping directly.
1002 * choose-temp.c: Conditionally include string.h.
1003
8f1824d9
JM
10041999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1005
1006 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1007
652374d3
ILT
10081999-07-11 Ian Lance Taylor <ian@zembu.com>
1009
1010 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1011 warning.
1012
a4494286
JM
10131999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1014
1015 * Makefile.in (needed-list): Only include stuff we actually need
1016 for libstdc++.
1017
90e72e20
AS
10181999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1019
1020 * configure.in (checkfuncs): Add gettimeofday.
1021 * config.in, configure: Regenerated.
1022
b569200e
MK
1023Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1024
1025 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1026 the test fails.
1027 * configure: Regenerate.
1028
73919448
MS
10291999-06-10 Mike Stump <mrs@wrs.com>
1030
1031 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1032 parallel builds.
1033
fee9125c
KG
10341999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1035
1036 * putenv.c: Include ansidecl.h to define `const'.
1037 * setenv.c: Likewise.
1038
71cce721
MN
1039Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1040
a7c9637f
JL
1041 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1042 * configure.in (funcs): Add putenv and setenv.
1043 (AC_CHECK_FUNCS): Check for putenv and setenv.
1044 * configure: Rebuilt.
1045 * putenv.c setenv.c: New files.
1046
71cce721
MN
1047 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1048 bytes of space using malloc.
1049
53504016
SG
1050Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1051
1052 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1053 the *mangled pointer beyond the end of the string. Clean up code to
1054 match prevailing coding style.
1055
34842539
MH
10561999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1057
1058 * tmpnam.c (L_tmpnam): Fix typo.
1059
3a08531d
ME
1060Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1061
1062 * cplus-dem.c (standard_symbol_characters): Renamed from
1063 standard_symbol_alphabet. No longer modify TABLE.
1064 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1065 modify TABLE.
1066 (main): Corresponding changes. Use strchr to determine if a
1067 character is valid.
1068
8db9d08b
JB
10691999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1070
1071 * cplus-dem.c (main): Use table lookup to distinguish identifier
1072 characters from non-identifier characters.
1073 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1074
6a071f4a
FF
1075Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1076
1077 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1078 * getruntime.c: Only attempt to include sys/resource.h and
1079 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1080 are defined.
1081
7dd88617
DT
1082Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1083
1084 * configure.in (alloca detection): Handle alloca directly for interix.
1085 * configure: Rebuilt.
1086
7a1528bc
MK
1087Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1088
1089 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1090
76409268
JB
10911999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1092
1093 Fix from Dale Hawkins:
5194cf08 1094 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
1095 reallocated properly if we use it again.
1096
1097 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1098 stricter about syntax. Always null-terminate string.
1099
acbbd80a
MK
1100Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1101
1102 * configure.in (checkfuncs): Check for sbrk.
1103 * config.in: Rebuilt.
1104 * configure: Likewise.
1105 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1106
92523551
JB
11071999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1108
1109 Fix from Marcus Daniels:
1110 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1111 identifier looking for another underscore.
1112
36eb4217
MK
1113Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1114
1115 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1116 * xmalloc.c: Likewise.
1117 (xcalloc): UWIN has sbrk.
1118 (xrealloc): Fix guard macro.
1119
2c45d1a0
RH
11201999-04-11 Richard Henderson <rth@cygnus.com>
1121
1122 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1123 or <alloca.h>.
1124 * clock.c (GNU_HZ): New definition.
1125 (clock): Use it.
1126 * getruntime.c: Likewise.
1127
1128 * config.table: Use mh-beos.
1129 * config/mh-beos: New file.
1130
391cdef0
MM
11311999-04-11 Mark Mitchell <mark@codesourcery.com>
1132
1133 * cplus-dem.c (demangle_template_value_parm): Handle
1134 pointers-to-members.
1135 (do_type): Handle template parameters as qualifiers.
1136
9d229989
JB
11371999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1138
1139 * cplus-dem.c: Attempt to handle overflows in counts with some
1140 semblance of grace.
1141 (consume_count): Detect overflows. Return -1 to indicate errors,
1142 instead of zero.
1143 (demangle_template_value_parm, demangle_template): Handle change
1144 to consume_count's return convention.
1145
7c72138a
TT
11461999-04-05 Tom Tromey <tromey@cygnus.com>
1147
1148 * testsuite/regress-demangle: New file.
1149 * testsuite/demangle-expected: New file.
1150
1151 * Makefile.in (all, check, installcheck, info, install-info,
1152 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1153 distclean, maintainer-clean, realclean): Depend on corresponding
1154 `-subdir' target.
1155 (all-subdir check-subdir installcheck-subdir info-subdir
1156 install-info-subdir clean-info-subdir dvi-subdir
1157 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1158 distclean-subdir maintainer-clean-subdir): New target.
1159 * testsuite/Makefile.in: New file.
1160 * configure: Rebuilt.
1161 * configure.in: Create testsuite/Makefile.
1162
ae7f7270
MM
11631999-04-02 Mark Mitchell <mark@codesourcery.com>
1164
1165 * splay-tree.h (splay_tree_compare_pointers): Define.
1166
30f72379
MM
11671999-03-30 Mark Mitchell <mark@codesourcery.com>
1168
1169 * splay-tree.c (splay_tree_compare_ints): Define.
1170
4cc48683
TT
11711999-03-30 Tom Tromey <tromey@cygnus.com>
1172
1173 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1174 don't advance input pointer.
1175 (demangle_class_name): If consume_count didn't find a count, do
1176 nothing. Don't bother with `strlen' sanity check; consume_count
1177 does it for us.
1178
3510075c
JL
11791999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1180
1181 From Art Haas <ahaas@neosoft.com>:
1182 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1183 when doing arm or hp style.
1184 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 1185
89f602a7
MK
1186Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1187
1188 * pexecute.c (__CYGWIN32__): Rename to
1189 (__CYGWIN__): this.
1190 * xmalloc.c: Likewise.
1191
1192 Changes to support i386-pc-uwin.
1193 * configure.in (*-*-uwin*): Workaround for vfork bug.
1194 * configure: Regenerate.
1195 * pexecute.c (pexecute): Be like standard Unix.
1196 (pwait): Likewise.
1197 * xmalloc.c (first_break): Define.
1198 (xmalloc_set_program_name): Use.
1199 (xmalloc): Use.
1200
9346c824
FS
1201Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1202
1203 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1204
3510075c
JL
1205Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1206
1207 * config.table: Check cygwin*, not cygwin32*.
1208
8ec65f13
DB
1209Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1210
1211 * Makefile.in: Change mkstemp -> mkstemps.
1212
687361c8
ME
1213Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1214
1215 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1216 * configure.in (funcs): Check for and conditionally add mkstemps to
1217 the list of functions libiberty will provide.
1218 * configure: Rebuilt.
5194cf08 1219
b207e09c
MK
1220Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1221
5194cf08 1222 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
1223 platforms that don't have HZ.
1224 * getruntime.c (HZ): Likewise.
1225
16b4c15e
RH
1226Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1227
1228 * Makefile.in (xstrdup.o): Depend on config.h.
1229
38beb75c
UD
1230Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1231
1232 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1233 freeing it.
1234
7e4311a3
KG
1235Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1236
1237 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1238
3510075c
JL
1239Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1240
1241 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1242 splay-tree.o.
1243
12441999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1245
1246 * configure.in: Require autoconf 2.12.1 or higher.
1247
fb9939b8
MM
12481998-12-30 Michael Meissner <meissner@cygnus.com>
1249
1250 * random.c (NULL): Don't redefine NULL if it is already defined.
1251
087aa398
KG
1252Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1253
1254 * argv.c (buildargv): Cast the result of alloca in assignment.
1255
1256 * choose-temp.c: Include stdlib.h.
38beb75c 1257
087aa398
KG
1258 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
1259 (snarf_numeric_literal): Constify first parameter.
1260 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1261 int, not a char.
1262 (demangle_qualifier): Likewise.
1263 (demangle_signature): Cast the argument of a ctype function to
1264 unsigned char.
1265 (arm_pt): Add parens around assignment used as truth value.
1266 (demangle_arm_hp_template): Constify variable `args'.
1267 (do_hpacc_template_const_value): Cast the argument of a ctype
1268 function to unsigned char.
1269 (do_hpacc_template_literal): Remove unused variable `i'.
1270 (snarf_numeric_literal): Constify parameter `args'.
1271 Cast the argument of a ctype function to unsigned char.
1272
1273 * floatformat.c (floatformat_to_double): Add explicit braces to
1274 avoid ambiguous `else'.
38beb75c 1275
087aa398
KG
1276 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
1277 `cstart' and `cend' to unsigned char. Cast the argument of macro
1278 `FOLD', which uses ctype functions, to unsigned char.
1279
1280 * objalloc.c (free): Add prototype.
1281
21f2174d
HPN
1282Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1283
1284 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1285
3510075c
JL
1286Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1287
1288 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
1289 doesn't exist.
1290 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 1291
e8fc8222
AM
1292Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1293
1294 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1295 bumping the pointer we read from. Also prepend these codes,
1296 as we do in other places.
1297
3510075c
JL
12981998-12-18 Nick Clifton <nickc@cygnus.com>
1299
1300 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1301 'const char *' in order to match its usage when calling siblings.
1302 (snarf_numeric_literal): Make first arg 'const char **' in order
1303 to match usage.
11a0bb74 1304
f4f30aa1
JL
1305Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1306
11a0bb74
KG
1307 * choose-temp.c: Don't check IN_GCC anymore.
1308
1309 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1310 * memchr.c (memchr): Likewise.
1311 * memcpy.c (memcpy): Likewise.
1312 * memmove.c (memmove): Likewise.
38beb75c 1313
11a0bb74
KG
1314 * mkstemp.c: Don't check IN_GCC anymore.
1315 * pexecute.c: Likewise.
1316 * splay-tree.c: Likewise.
38beb75c 1317
11a0bb74
KG
1318 * strchr.c (strchr): Use `const', not `CONST'.
1319 * strrchr.c (strrchr): Likewise.
1320 * strtol.c (strtol): Likewise.
1321 * strtoul.c (strtoul): Likewise.
1322
70d5ccef
DT
1323Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1324 Elena Zannoni <ezannoni@cygnus.com>
1325 Stan Shebs <shebs@cygnus.com>
1326 Edith Epstein <eepstein@cygnus.com>
1327 Andres MacLeod <amacleod@cygnus.com>
1328 Satish Pai <pai@apollo.hp.com>
1329
1330 * HP aCC demangling support.
1331 * cplus-dem.c
1332 (main): Remove default to HP style demangling, set to EDG
1333 demangling correctly when -edg specified; set the demangling style
1334 when user specifies 'edg'. Set strip_underscore to
1335 prepends_underscore, if not HPUXHPPA. Set
1336 current_demangling_style to hp_demangling if HPUXHPPA. Set
1337 current demangling style correctly if the switch is hp. Read
1338 label correctly also in the HP style case.
1339 (work_stuff): add temp_start field; add field for volatile member
1340 function.
1341 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1342 style for this case is the same as ARM.
1343 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1344 (demangle_arm_hp_template): new function. (It was
1345 demangle_arm_pt.); check and set value of temp_start field in
1346 multiple places. Also, when ceching for end of template args,
1347 check to see if at end of static member of template class.
1348 (demangle_class): new local variable : save_class_name_end Don't
1349 include template args in string defining class.
1350 (demangle_class_name): use demangel_arm_hp_template.
1351 (demangle_function_name): handle case where demangling style is
1352 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1353 Handle EDG_DEMANGLING style. Handle constructor and destructor
1354 ops for HP style.
1355 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1356 styles. global destructor and constructor for HP style are same
1357 as for ARM style. Same for local variables.
1358 (demangle_qualified): handle EDG_DEMANGLING style.
1359 (demangle_signature): add case for volatile member function. For
1360 cases '1' - '9' : initialize the temp_start field to -1 and handle
1361 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1362 and AUTO_DEMANGLING styles. If expecting a function and managed
1363 to demangle the funct args, then handle the LUCID_DEMANGLING,
1364 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1365 class name after "Lnnn_ in HP style case. HP style too needs to
1366 forget types. _nnn is OK for HP style, so don't report failure.
1367 (do_hpacc_template_const_value): new function. Handle template's
1368 value param for HP/aCC.
1369 (do_hpacc_template_literal): new function. Handle a template's
1370 literal parameter for HP aCC.
1371 (recursively_demangle): new function
1372 (snarf_numeric_literal): new function.
1373 (usage): add 'edg' to the list of demangling styles; add hp switch
1374 to message.
1375
8d525fa8
CF
1376Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1377
1378 * pexecute.c: Remove obsolete ifdefed cygwin code.
1379
9b1a92d8
KG
1380Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1381
1382 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1383 * cplus-dem.c: Likewise. Conform to libiberty.h.
1384 * pexecute.c: Likewise.
1385 * splay-tree.c: Likewise.
1386
c85c3232
MS
13871998-11-25 Mike Stump <mrs@wrs.com>
1388
1389 * Makefile.in (splay-tree.o): Add config.h dependency.
1390
35a6cd99
KG
1391Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1392
1393 * configure.in: Use AC_PREREQ(2.12.1).
1394
6e6e34b7
BK
13951998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1396
5194cf08 1397 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 1398
59b67c11
JL
1399Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1400
1401 * mpw.c (mpw_access): Add missing parens.
1402
a6458d1d
KG
1403Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1404
1405 * configure.in: Call AC_HEADER_SYS_WAIT.
1406
1407 * pexecute.c: Include sys/wait.h when !IN_GCC.
1408
3510075c
JL
1409Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1410
1411 * pexecute.c: revert back to checking old Cygwin
1412 preprocessor symbol until some time has passed.
1413
1414Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1415
1416 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1417 since it will now support similar constructs.
1418
a9acf741
KG
1419Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1420
1421 * configure.in: Check for calloc.
1422
1423 * calloc.c: New file.
1424
1425 * xmalloc.c (xcalloc): New function.
1426
a49fb37a
AM
1427Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1428
1429 *cplus-dem.c (demangle_prefix): Use the last "__"
1430 in the mangled name when looking for the signature. This allows
1431 template names to begin with "__".
1432
0e714131
MM
14331998-11-08 Mark Mitchell <mark@markmitchell.com>
1434
ec2288ff
MM
1435 * cplus-dem.c (type_kind_t): Add tk_reference.
1436 (demangle_template_value_parm): Handle it.
1437 (do_type): Use it for references, instead of tk_pointer.
1438
0e714131
MM
1439 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1440 not internal_cplus_demangle.
1441
2931b6d4
KG
1442Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1443
1444 * choose-temp.c: Don't include gansidecl.h.
1445 * mkstemp.c: Likewise.
1446 * pexecute.c: Likewise.
1447
dd8f3ed5
GN
1448Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1449
5194cf08
ZW
1450 * configure.in: detect cygwin* instead of cygwin32*
1451 * configure: regenerate
dd8f3ed5 1452
c5f7c445
KG
1453Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1454
1455 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1456 whether to include config.h. Possibly include unistd.h in the
1457 !IN_GCC case. Define VFORK_STRING as a printable function call
1458 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1459 defined, include vfork.h. If VMS is defined, define vfork()
1460 appropriately. Remove vfork check on USG, we're using autoconf.
1461 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1462 locally what string to use.
1463
ad3ef78e
MM
14641998-10-26 Mark Mitchell <mark@markmitchell.com>
1465
1466 * splay-tree.c: Tweak include directives to make sure declarations of
1467 xmalloc and free are available.
1468
224301c1
MM
14691998-10-25 Mark Mitchell <mark@markmitchell.com>
1470
1471 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1472 anonymous namespaces.
38beb75c 1473
d9db46fd
MM
14741998-10-23 Mark Mitchell <mark@markmitchell.com>
1475
1476 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1477 with type_quals.
1478 (TYPE_UNQUALIFIED): New macro.
1479 (TYPE_QUAL_CONST): Likewise.
1480 (TYPE_QUAL_VOLATILE): Likewise.
1481 (TYPE_QUAL_RESTRICT): Likewise.
1482 (code_for_qualifier): New function.
1483 (qualifier_string): Likewise.
1484 (demangle_qualifier): Likewise.
1485 (internal_cplus_demangle): Use them.
1486 (demangle_signature): Likewise.
1487 (demangle_template_value_parm): Likewise.
1488 (do_type): Likewise.
1489 (demangle_fund_type)): Likewise.
224301c1 1490
b056ad1c
KG
1491Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1492
1493 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1494 to match prototype.
1495
ed87f9c8
MM
14961998-10-21 Mark Mitchell <mark@markmitchell.com>
1497
1498 * splay-tree.c: New file.
1499 * Makefile.in (CFILES): Add it.
1500 (REQUIRED_OFILES): Likewise.
1501 (splay-tree.o): Add dependencies.
1502
e0c13971
AS
1503Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1504
1505 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1506 range of 'K' index.
1507
91e0f659
KG
1508Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1509
1510 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1511
1512 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1513 `unsigned char'.
1514 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1515 comparing against one.
1516 (cplus_mangle_opname): Likewise.
1517 (demangle_integral_value): Cast argument of ctype macro to
1518 `unsigned char'.
1519 (demangle_template_value_parm): Likewise.
1520 (demangle_template): Initialize variable `bindex'. Cast the
1521 result of `strlen' to (int) when comparing against one. Remove
1522 unused variable `start_of_value_parm'.
1523 (demangle_class_name): Cast the result of `strlen' to (int) when
1524 comparing against one.
1525 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1526 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1527 when comparing against one.
1528 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1529 (get_count): Likewise.
1530 (do_type): Likewise. Cast the result of `strlen' to (int) when
1531 comparing against one.
1532 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1533 (demangle_function_name): Cast the result of `strlen' to (int)
1534 when comparing against one.
1535
1536 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1537 comparing against one.
1538
73aeb2ff
JL
1539Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1540
5194cf08
ZW
1541 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1542 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1543 * config.in, configure: Rebuilt.
ae76f1be 1544
73aeb2ff
JL
1545 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1546 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1547 * config.in, configure: Rebuilt.
1548
dd8f3ed5
GN
1549Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1550
5194cf08 1551 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 1552
f77d8413
MT
1553Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1554
1555 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1556
ca6b370d
JL
1557Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1558
1559 * Merge egcs & devo libiberty.
1560
ab4856b1
ML
1561