]> Git Repo - binutils.git/blame - libiberty/ChangeLog
*** empty log message ***
[binutils.git] / libiberty / ChangeLog
CommitLineData
cc5144f8
DD
12001-08-03 Richard Henderson <[email protected]>
2
3 * Makefile.in (concat.o): Depend on config.h.
4
86710ce2
DD
52001-07-30 Andreas Jaeger <[email protected]>
6
7 * regex.c: Declare wcs functions only if compiling with
8 MBS_SUPPORT.
9 Don't use #elif for traditional C.
10
112001-07-23 Ulrich Drepper <[email protected]>
12
13 * regex.c: Revamp memory allocation for WCHAR functions to
14 not use too much stack.
15
162001-07-30 Andreas Jaeger <[email protected]>
17
18 * regex.c: Declare wcs functions only if compiling with
19 MBS_SUPPORT.
20 Don't use #elif for traditional C.
21
a5d8f731
DD
222001-07-25 Daniel Jacobowitz <[email protected]>
23
24 * Makefile.in (regex.o): Add dependency on config.h.
25
6ad8a379
DD
262001-07-18 Andreas Schwab <[email protected]>
27
28 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
29 underscore character.
30
312001-07-18 Ulrich Drepper <[email protected]>
32
33 * regex.c: Limit string length printed in debug messages to 100
34 chars.
35
362001-07-18 Andreas Jaeger <[email protected]>
37
38 * regex.c: Place under LGPL version 2.1.
39
2a6ef469
DD
402001-07-10 Jeff Johnston <[email protected]>
41
42 * Makefile.in: Add support for regex code.
43 * regex.c: New file.
44
7b78baae
DD
452001-07-05 Mark Klein <[email protected]>
46
47 * Makefile.in: Add ffs.c dependency.
48 * configure.in: Add ffs.c.
49 * ffs.c: New file.
50
926150e2
DD
512001-06-18 Richard Henderson <[email protected]>
52
53 * concat.c: Include <sys/types.h>.
54
11f6f21d
DD
552001-06-11 Loren J. Rittle <[email protected]>
56
57 bootstrap/3106
58 * strerror.c (sys_nerr): Hide the OS header version.
59 * strsignal.c (sys_nsig): Likewise.
60
d42dae6c
DD
612001-06-10 Richard Henderson <[email protected]>
62
63 * concat.c: Include string.h. Fix int vs size_t usage.
64 Simplify the iteration loops. Use memcpy.
65
e05c6d27
DD
662001-05-16 Matt Kraai <[email protected]>
67
68 * partition.c: Fix misspelling of `implementation'.
69
b50c4073
DD
702001-05-09 Thiemo Seufer <[email protected]>
71
72 * md5.c (md5_init_ctx): Declare constants as unsigned.
73 (md5_process_block): Likewise.
74
457161bf
DD
752001-05-07 Zack Weinberg <[email protected]>
76
77 * cp-demangle.c (demangle_v3_with_details,
78 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
79 function definition.
80 * ternary.c: Use K+R style function definitions. Use PTR, not
81 void *. Make arguments constant where possible.
82
e00bc6a7
DD
832001-05-07 Mark Mitchell <[email protected]>
84
85 * splay-tree.h (splay_tree_max): New function.
86 (splay_tree_min): Likewise.
87
400ee7e1
DB
882001-04-15 Daniel Berlin <[email protected]>
89
90 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
91
92 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 93
d9697354
DD
942001-04-03 Zack Weinberg <[email protected]>
95
96 * make-temp-file.c (try): Inline.
97
a7bf099b
DD
982001-02-28 Richard Henderson <[email protected]>
99
100 * Makefile.in (make-temp-file.o): Depend on config.h.
101
30a1def2
DD
1022001-03-27 Kaveh R. Ghazi <[email protected]>
103
104 * memchr.c (memchr): Adjust condition to avoid infinite loop.
105
079c672a
DD
1062001-03-23 Jakub Jelinek <[email protected]>
107
108 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
109 `_' not followed by a digit is invalid.
110
a88e356a
JB
1112001-03-22 Jim Blandy <[email protected]>
112
113 * cp-demangle.c (string_list_delete): Use dyn_string_delete
114 instead of free, to free the contents as well as the string
115 structure.
116
1dffcc66
DD
1172001-03-21 Zack Weinberg <[email protected]>
118
119 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
120 Don't default P_tmpdir to anything. Try /var/tmp before
121 /usr/tmp.
122
1232001-03-20 Zack Weinberg <[email protected]>
124
125 * choose-temp.c: Split off make_temp_file, and the code
126 duplicated between it and choose_temp_base, into...
127 * make-temp-file.c: ... here; new file.
128
129 * Makefile.in (CFILES): Add make-temp-file.c.
130 (REQUIRED_OFILES): Add make-temp-file.o.
131
e61231f1
JB
1322001-03-20 Jim Blandy <[email protected]>
133
134 * cp-demangle.c (struct demangling_def): New fields:
135 is_constructor and is_destructor.
136 (demangling_new): Initialize them.
137 (demangle_ctor_dtor_name): Set them, if we detect a constructor
138 or destructor.
139 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
140 is_gnu_v3_mangled_dtor): New functions.
141
a9cbbe6d
DD
1422001-03-20 Jason Merrill <[email protected]>
143
144 * cplus-dem.c (main): Skip initial $.
145
b1e51b3c
DD
1462001-03-15 Michael Meissner <[email protected]>
147
148 * hashtab.c (higher_prime_number): Silence warning that 4294967291
149 might be a signed integer under pre-ISO C systems.
150
8aa30e60 1512001-03-10 Neil Booth <[email protected]>
fa03f0a7 152 John David Anglin <[email protected]>
8aa30e60 153
8aa30e60
DD
154 * libiberty/lbasename.c: New file.
155 * libiberty/Makefile.in: Update for lbasename.
156
30673bf5
DD
1572001-03-06 Zack Weinberg <[email protected]>
158
159 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
160 * configure.in: Replace all alloca logic with a simple use of
161 the above new macro.
162 * config.table: Kill *-*-beos* entry.
163 * config/mh-beos: Delete.
164 * configure, config.in: Regenerate.
fa03f0a7 165
30673bf5
DD
166 * Makefile.in (ALLOCA, HFILES): Kill.
167 (REQUIRED_OFILES): Add alloca.o.
168 (alloca.o): Depend on libiberty.h.
169 (argv.o): Don't depend on alloca-conf.h.
170 * alloca-conf.h: Delete.
171 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
172 blocks. Provide the C alloca unconditionally. Use PTR where
173 appropriate. Make i00afunc static.
174 * argv.c: Don't include alloca-conf.h.
fa03f0a7 175
5810f394
DD
1762001-03-04 John David Anglin <[email protected]>
177
178 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 179
a9db032a
DD
1802001-02-16 Loren J. Rittle <[email protected]>
181
182 * cplus-dem.c (main): Initialize style.
fa03f0a7 183
bc9bf259
DD
1842001-01-31 Bryce McKinlay <[email protected]>
185
186 Add support for Java demangling under the v3 ABI:
187 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
188 (struct demangling_def): Add `style' field.
189 (demangling_new): New parameter `style'. Set it in demangling_t.
190 (demangle_prefix): Use NAMESPACE_SEPARATOR.
191 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
192 (cp_demangle): New parameter `style'. Pass it to demangling_new().
193 (main): Call cp_demangle with extra parameter.
194 (java_demangle_v3): New function.
195 (java_builtin_type_names): New. Table of primitive type names used
196 for Java demangling.
197 (demangle_builtin_type): Look up in java_builtin_type_names if doing
198 Java output.
199 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
200 demangling.
201 (long_options): Remove obsolete `java' option.
202 (main): Remove explicit handling of `java' option. Instead, pass style
203 parameter in cplus_demangle flags as gdb does.
204 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 205
bc9bf259
DD
2062001-01-29 Phil Edwards <[email protected]>
207
208 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
fa03f0a7 209
f6528837
DD
2102000-12-29 DJ Delorie <[email protected]>
211
212 * fnmatch.c: Make the note about the origins of this file more
213 accurate, at least until we can sync with glibc.
214 * getopt.c: Ditto.
215 * getopt1.c: Ditto.
216 * md5.c: Ditto.
217 * obstack.c: Ditto.
9d969b59 218
c6da642e
DD
2192000-12-26 Michael Sokolov <[email protected]>
220
221 * bsearch.c: New file.
222 * configure.in (funcs): Add bsearch.
223 (AC_CHECK_FUNCS): Likewise.
224 * configure, config.in: Regenerate.
225
ae7d06ad 2262000-12-13 Michael Sokolov <[email protected]>
f021637a
DD
227
228 * safe-ctype.c: #include "ansidecl.h".
229 * strtod.c: Likewise.
230
ae7d06ad 2312000-12-13 Michael Sokolov <[email protected]>
f021637a
DD
232
233 * strtoul.c: Include safe-ctype.h, not ctype.h.
234
ac424eb3
DD
2352000-12-07 Zack Weinberg <[email protected]>
236
237 * safe-ctype.c: New file.
238 * Makefile.in (CFILES): Add safe-ctype.c.
239 (REQUIRED_OFILES): Add safe-ctype.o.
240
241 * argv.c: Define ISBLANK and use it, not isspace.
242 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
243 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
244 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
245 before calling TOLOWER(c)/TOUPPER(c).
246
4415a860
DD
2472000-12-07 Mike Stump <[email protected]>
248
249 * Makefile.in (distclean): When cleaning, remove testsuite.
250
849ee224
DD
2512000-12-05 Jason Merrill <[email protected]>
252
253 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
254 name before allocating the dyn_string.
255
ae7d06ad 2562000-12-04 Jason Merrill <[email protected]>
e49a569c
DD
257
258 * cp-demangle.c: s/new_abi/v3/.
259 * cplus-dem.c: Likewise.
260 (current_demangling_style): Now auto_demangling.
261 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 262 (main): Use standard symbol chars for auto_demangling.
e49a569c 263
ae7d06ad 2642000-11-26 Mark Mitchell <[email protected]>
5ca0f83d
DD
265
266 * hashtab.c (higher_prime_number): Use a table, rather than a
267 seive, to find the next prime.
ae7d06ad
NC
268
2692000-11-22 H.J. Lu <[email protected]>
270
271 * cplus-dem.c (main): Handle gnat_demangling.
272
2732000-11-22 Zack Weinberg <[email protected]>
2ea7befd
DD
274
275 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
276 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
277 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
278 argument form of AC_DEFINE in dummy definitions block. Use
279 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
280 in dummy block. Preload cache variables instead of bypassing
281 tests, where possible.
282 * acconfig.h: Removed.
ae7d06ad 283
2ea7befd
DD
284 * xmalloc.c (xmalloc_failed): New function, does error
285 reporting on failed allocation.
286 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 287
f1775526
HPN
2882000-11-21 Hans-Peter Nilsson <[email protected]>
289
290 * cplus-dem.c (cplus_demangle): Fix formatting.
291 (grow_vect): Ditto.
292 (ada_demangle): Ditto.
293 (internal_cplus_demangle): Ditto.
294 (mop_up): Ditto.
295
2962000-11-21 H.J. Lu <[email protected]>
297
298 * cplus-dem.c (main): Handle java_demangling.
299
ae7d06ad 3002000-11-19 Kaveh R. Ghazi <[email protected]>
f1775526
HPN
301
302 * cplus-dem.c (grow_vect): Prototype.
303 (ada_demangle): Cast the arg of ctype macros to unsigned char.
304
5dd42ef4
HPN
3052000-11-15 Hans-Peter Nilsson <[email protected]>
306
307 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
308 parameter `option'.
309
296731c1
DD
3102000-11-15 Kenneth Block <[email protected]>
311
8944fb9d 312 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
313 be used in GCC.
314
6e53a714 3152000-11-15 Kenneth Block <[email protected]>
16e85745 316
5dd42ef4 317 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
318 list.
319
99a4c1bd
HPN
3202000-11-04 Hans-Peter Nilsson <[email protected]>
321
322 * hashtab.c (htab_expand): Change to return int. Use calloc or
323 xcalloc depending on htab->return_allocation_failure. Return zero
324 if calloc fails.
325 (htab_create): Update comment to cover memory allocation.
326 (htab_try_create): New.
327 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
328 Update comment to cover this.
329
e0f3df8f
HPN
3302000-11-03 Hans-Peter Nilsson <[email protected]>
331
332 * hashtab.c: Change void * to PTR where necessary.
333 (htab_create, htab_expand): Correct formatting of comment before
334 function.
335
ae7d06ad 3362000-10-22 Alex Samuel <[email protected]>
59666b35
DD
337
338 * cp-demangle.c (string_list_def): Add caret_position and comments.
339 (result_caret_pos): New macro.
340 (result_append_string): Rename to...
341 (result_add_string): ... this, and insert at caret position.
ae7d06ad 342 Rename throughout.
59666b35
DD
343 (result_append): Rename to...
344 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 345 throughout.
59666b35
DD
346 (result_append_char): Rename to...
347 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 348 throughout.
59666b35
DD
349 (result_append_space): Remove.
350 (string_list_new): Initialize caret position.
351 (result_add_separated_char): Use caret position.
352 (result_get_caret): New funtion.
353 (result_set_caret): Likewise.
354 (result_shift_caret): Likewise.
355 (result_previous_char_is_space): Likewise.
356 (substitution_start): Use caret position.
357 (substitution_add): Likewise.
358 (demangling_new): Initialize caret position.
359 (demangle_encoding): Use caret position.
ae7d06ad 360 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
361 (demangle_type_ptr): Use switch statement. Handle pointers to
362 arrays. Don't use result_append_space. Use caret position.
363 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
364 call to demangle_array_type.
365 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 366
ae7d06ad 3672000-10-01 Mark Mitchell <[email protected]>
74bcd529
DD
368
369 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
370
3712000-09-16 Mark Mitchell <[email protected]>
74bcd529
DD
372
373 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
374
3752000-09-14 Michael Sokolov <[email protected]>
376
377 * splay-tree.c: #include <stdio.h>.
378
3792000-09-14 Hans-Peter Nilsson <[email protected]>
380
381 * testsuite/demangle-expected: Add two tests for anonymous
382 namespaces.
383 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
384
3852000-09-10 Mark Mitchell <[email protected]>
74bcd529
DD
386
387 * splay-tree.c (splay_tree_predecessor): New function.
388 (splay_tree_successor): Likewise.
ae7d06ad
NC
389
3902000-09-10 Hans-Peter Nilsson <[email protected]>
391
392 * testsuite/demangle-expected: Add four tests for type_info
393 mangling.
394 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
395 for a non-template non-qualified type_info function or node.
396
3972000-09-08 Alex Samuel <[email protected]>
74bcd529
DD
398
399 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
400
4012000-09-07 Michael Sokolov <[email protected]>
402
403 * md5.c: #include "ansidecl.h".
404
4052000-09-06 Alex Samuel <[email protected]>
74bcd529
DD
406
407 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
408 (demangle_type): Handle substitution candidates correctly in the
409 face of special substitutions.
ae7d06ad
NC
410
4112000-09-05 Alex Samuel <[email protected]>
74bcd529
DD
412
413 * cp-demangle.c (demangle_encoding): Rename variable.
414 (demangle_name): Rename parameter. Handle return type
415 suppression.
416 (demangle_nested_name): Rename parameter.
417 (demangle_prefix): Likewise. Change return type suppression.
418 (demangle_unqualified_name): Add parameter. Flag constructors and
419 conversion operators.
420 (demangle_special_name): Fix comment.
421 (demangle_type): Rename variable.
422 (demangle_bare_function_type): Check for missing return type and
423 parameter.
424 (demangle_class_enum_type): Rename parameter.
425 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
426
4272000-08-31 DJ Delorie <[email protected]>
428
429 * configure.in (Cygwin): special case cygwin only when we're
430 building cygwin, not when we're hosting cygwin.
431
4322000-09-04 Alex Samuel <[email protected]>
74bcd529
DD
433
434 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
435 <expression>.
ae7d06ad
NC
436
4372000-09-04 Alex Samuel <[email protected]>
74bcd529
DD
438
439 * cp-demangle.c (demangle_type_ptr): Increment position past
440 pointer and reference characters.
ae7d06ad
NC
441
4422000-09-04 Alex Samuel <[email protected]>
74bcd529
DD
443
444 * cp-demangle.c (demangle_nv_offset): New function.
445 (demangle_v_offset): Likewise.
446 (demangle_call_offset): Likewise.
447 (demangle_special_name): Update thunk demangling to comply with
448 ABI changes.
ae7d06ad
NC
449
4502000-09-03 Alex Samuel <[email protected]>
74bcd529
DD
451
452 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
453 (substitution_def): Remove template_parm_number.
454 (NOT_TEMPLATE_PARM): Remove.
455 (result_insert_string): New macro.
456 (result_insert): Likewise.
457 (result_insert_char): Likewise.
458 (substitution_add): Remove last parameter. Don't store template
459 parm number.
460 (BFT_NO_RETURN_TYPE): Define as NULL.
461 (demangle_encoding): Adjust call to demangle_bare_function_type.
462 (demangle_name): Adjust substitution. Adjust call to
463 substitution_add.
464 (demangle_prefix): Adjust call to substitution_add.
465 (demangle_identifier): Handle anonymous namespaces.
466 (demangle_operator_name): Change demangling of vendor-extended
467 operator to match ABI changes.
468 (demangle_type_ptr): Change parameters. Make recursive. Handle
469 substitutions here.
470 (demangle_type): Adjust calls to demangle_template_param,
471 substitution_add, and demangle_type_ptr. Fix substitution of
472 templated types.
473 (demangle_function_type): Change parameter to a pointer.
474 (demangle_bare_function_type): Likewise. Adjust insertion point.
475 (demangle_template_param): Remove last parameter.
476 (demangle_expr_primary): Remove unused variable. Adjust call to
477 demangle_template_param.
478 (is_mangled_char): Accept `$' and `.'.
479 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
480 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
481
4822000-08-31 Hans-Peter Nilsson <[email protected]>
483
484 * testsuite/demangle-expected: Add nine tests for
485 underscore-after-number followed by five tests for name-signature
486 delimiter.
487
4882000-08-28 Richard Henderson <[email protected]>
74bcd529
DD
489
490 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
491
4922000-08-28 Jason Merrill <[email protected]>
493
494 * Makefile.in (REQUIRED_OFILES): Add md5.o.
495 (CFILES): Add md5.c.
496 * md5.c: New file.
497
4982000-08-27 Alex Samuel <[email protected]>
74bcd529
DD
499
500 * cp-demangle.c (demangle_name): Initialize template_p in local
501 name case. Don't re-add substitutions as candidates.
502 (demangle_nested_name): Use <unqualified-name>.
503 (demangle_prefix): Likewise. Don't add template names as
504 substitution candidates twice, or re-add a substitution or the
505 last prefix component.
506 (demangle_local_name): Adjust output format.
ae7d06ad
NC
507
5082000-08-25 Alex Samuel <[email protected]>
74bcd529
DD
509
510 * cp-demangle.c (result_add_separated_char): Change parameter to
511 int.
512 (substitution_add): Don't check for duplicates. Check if
513 previously allocated size is zero.
514 (demangle_name): Remove duplicate check for std substitution.
515 Clear template flag appropriately.
516 (demangle_prefix): Remove argument to demangle_substitution.
517 Don't check that template flag is already set.
518 (demangle_operator_name): Add pt operator.
519 (demangle_type): Don't treat r as built-in type. Remove argument
520 to demangle_substitution. Fix substitution candidate mechanics.
521 Handle <template-template-parm>s. Improve comments.
522 (demangle_template_param): Don't handle template arg lists here.
523 (demangle_substitution): Remove parameter.
524 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
525
5262000-08-24 Greg McGary <[email protected]>
74bcd529
DD
527
528 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
529
5302000-08-24 Greg McGary <[email protected]>
74bcd529
DD
531
532 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
533 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
534 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
535
5362000-08-23 Alex Samuel <[email protected]>
74bcd529
DD
537
538 * cp-demangle.c (result_close_template_list): Remove function.
539 (result_add_separated_char): New function.
540 (result_open_template_list): New macro.
541 (result_close_template_list): Likewise.
542 (demangle_prefix): Don't set template_p if the
543 prefix ends with a ctor name.
544 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
545 (demangle_type): Check for template args after substitution.
546 (demangle_template_args): Use result_open_template_list.
d3e85005 547
ae7d06ad 5482000-08-02 Zack Weinberg <[email protected]>
64e3a659 549
ae7d06ad 550 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 551
ae7d06ad 5522000-07-26 Dave Pitts <[email protected]>
d6e83f5f
JL
553
554 * config/mh-openedition.h: Added -DLE370 definition.
555
a9f34fb6
JL
5562000-07-26 Mark Elbrecht <[email protected]>
557
558 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
559 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
560 Cast program to 'char *' in errmsg_arg assignment.
561 (PWAIT_ERROR): Define.
562 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
563 to DJGPP's WIF* macros.
564
90aaccd1 5652000-07-27 RodneyBrown <[email protected]>
ae7d06ad 566 Jeff Law <[email protected]>
90aaccd1 567
ae7d06ad 568 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 569
90aaccd1 570 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
571 * rename.c: Include config.h, unistd.h
572 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 573
6ef554e3
HPN
5742000-07-24 Hans-Peter Nilsson <[email protected]>
575
576 * cplus-dem.c (work_stuff_copy_to_from): New.
577 (delete_non_B_K_work_stuff): New.
578 (delete_work_stuff): New.
579 (mop_up): Break out work_stuff partly destruction to
580 delete_non_B_K_work_stuff.
581 (iterate_demangle_function): New.
582 (demangle_prefix): Call iterate_demangle_function instead of
583 demangle_function_name. Leave handling of name-signature
584 __-delimiters to iterate_demangle_function.
585 (demangle_integral_value): Strip an optional
586 following underscore cautiously. Handle negative numbers.
587
ae7d06ad 5882000-07-24 Daniel Berlin <[email protected]>
e8865c28 589
ae7d06ad 590 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
591 if (AUTO_DEMANGLING || GNU_DEMANGLING)
592
ae7d06ad
NC
5932000-07-21 Alex Samuel <[email protected]>
594
595 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
596 allocating ctor mangling.
597 (demangle_array_type): Handle empty and non-constant array length.
598
b1233257 5992000-07-23 Michael Sokolov <[email protected]>
62df2065
JL
600 Jeff Law <[email protected]>
601
602 * configure.in (AC_CHECK_HEADERS): Add time.h.
603 (AC_HEADER_TIME): Add check.
604 * configure, config.in: Regenerate.
605 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
606
607 * configure.in (AC_CHECK_HEADERS): Add limits.h.
608 * configure, config.in: Regenerate.
609 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
610 * strtol.c, strtoul.c: #include "config.h". Portably #include
611 <limits.h> and/or <sys/param.h>.
612 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 613
7d3ffcaf
JL
614 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
615 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
616 * configure, config.in: Regenerate.
617 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
618
b1233257
JL
619 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
620
ae7d06ad
NC
6212000-07-21 Mike Stump <[email protected]>
622
623 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
624 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
625
6262000-07-21 Kaveh R. Ghazi <[email protected]>
627
628 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
629
630 * setenv.c (setenv): Initialize variable `ep'.
631
632 * sigsetmask.c (abort): Prototype.
633
634 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
635 __STDC__ for stdarg.h include.
636 (int_vasprintf): Prototype.
637 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
638 definition. Cast `global_total_width' in comparison.
639 (main): Prototype. Return a value.
640
641 * vfork.c (fork): Prototype.
642
643 * xexit.c: Include config.h.
644
9adf30b2
JL
6452000-07-20 Joseph S. Myers <[email protected]>
646
647 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
648 and print it with %u.
649
2ed78d1b
HPN
6502000-07-17 Hans-Peter Nilsson <[email protected]>
651
652 * testsuite/regress-demangle (failed test): Show result and
653 expected output.
654
0473bdf7
AH
6552000-07-07 Andrew Haley <[email protected]>
656
657 * cplus-dem.c (main): fflush() after emitting last char before
658 waiting for input.
659
03d5f569
JM
6602000-06-28 Alex Samuel <[email protected]>
661
662 * cp-demangle.c (demangle_encoding): Accept no substitutions.
663 (demangle_name): Handle <substitution> followed by
664 <unqualified-template-name>.
665 (demangle_type): Follow special substitutions with
666 <class-enum-type>
667 (demangle_subtitution): Set template_p for special substitutions.
668 (main): Fix typos.
ae7d06ad 669
03d5f569
JM
6702000-06-27 Alex Samuel <[email protected]>
671
672 * cp-demangle.c (demangle_special_name): Swap base and derived
673 class when demangling construction vtables.
674
6752000-06-21 Alex Samuel <[email protected]>
676
677 * cp-demangle.c: Don't include ctype.h.
678 (IS_DIGIT): New macro.
679 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
680 instead of isdigit and isalpanum.
681 (demangling_def): Make name and next const pointers.
682 (STATUS_ALLOCATION_FAILED): New status code.
683 (dyn_string_append_space): Handle failure in
684 dyn_string_append_char.
685 (int_to_dyn_string): Likewise. Change return value to status_t.
686 (string_list_new): Handle failure of dyn_string_init.
687 (result_close_template_list): Change return type to status_t.
688 Handle failure in dyn_string_append.
689 (result_push): Change return value to status_t. Handle failure in
690 string_list_new. Handle failure of result_push throughout.
691 (substitution_add): Change return value to status_t. Handle
692 dyn_string failures. Handle failure of substitution_add
693 throughout.
694 (template_arg_list_new): Return NULL on allocation failure.
695 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
696 Handle error result throughout.
697 (result_append): Likewise.
698 (result_append_char): Likewise.
699 (result_append_space): Likewise.
700 (demangling_new): Make argument a const pointer. Handle
701 allocation failures.
702 (demangle_template_args): Handle failure in template_arg_list_new
703 and result_close_template_list.
704 (demangle_discriminator): Return if int_to_dyn_string fails.
705 (cp_demangle): Likewise.
706 (cp_demangle_type): New function.
707 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
708 memory allocation failure.
709 (main): Likewise.
710 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
711 IN_LIBGCC2.
712 (dyn_string_init): Change return value to int. Handle
713 RETURN_ON_ALLOCATION_FAILURE case.
714 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
715 (dyn_string_release): Delete the dyn_string.
716 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
717 (dyn_string_copy): Change return type to int.
718 (dyn_string_copy_cstr): Likewise.
719 (dyn_string_prepend): Likewise.
720 (dyn_string_prepend_cstr): Likewise.
721 (dyn_string_insert): Likewise.
722 (dyn_string_insert_cstr): Likewise.
723 (dyn_string_append): Likewise.
724 (dyn_string_append_cstr): Likewise.
725 (dyn_string_append_char): Likewise.
726 (dyn_string_substring): Likewise.
ae7d06ad 727
eb383413 7282000-06-09 Zack Weinberg <[email protected]>
9cc28cc8 729
eb383413
L
730 * cp-demangle.c (demangle_operator_name): Add spaces before
731 names beginning with a letter: delete, delete[], new, new[],
732 sizeof.
733 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 734
eb383413
L
735Thu Jun 8 18:52:24 2000 Philippe De Muyter <[email protected]>
736
737 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
738
739Thu Jun 8 09:25:54 2000 Philippe De Muyter <[email protected]>
740
741 * cp-demangle.c (stdio.h): File included unconditionaly.
742 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
743 * dyn-string.c (stdio.h): File included.
744 * partition.c (partition_print): No `&' needed to take the address of
745 a function.
746
7472000-06-07 Kaveh R. Ghazi <[email protected]>
748
749 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 750
eb383413
L
751 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
752
753 * cp-demangle.c (demangle_char): Change parameter from char to int.
754 (demangle_expression, demangle_expr_primary): Remove extra
755 semi-colon in prototype.
756
757 * dyn-string.c (dyn_string_append_char): Change parameter from
758 char to int.
759
760 * memcmp.c (memcmp): Constify.
761
762 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
763 __extension__.
764
765 * partition.c (elem_compare): Prototype. Don't cast away
766 const-ness.
767
768 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 769
eb383413
L
7702000-06-07 Kaveh R. Ghazi <[email protected]>
771
772 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
773
774 * cp-demangle.c: Include demangle.h.
775 (template_arg_list_new): DeANSIfy.
776 (cp_demangle): Make static and add prototype.
777 (operator_code, operators): Constify.
778 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
779
7802000-06-05 Alex Samuel <[email protected]>
781
782 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
783 unsigned char.
784 (demangle_unqualified_name): Likewise.
785 (demangle_number_literally): Likewise.
786 (demangle_type): Likewise.
787 (demangle_substitution): Likewise.
788 (is_mangled_char): Likewise, for isalnum.
789
7902000-06-04 Alex Samuel <[email protected]>
791
792 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
793 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
794 (cp-demangle.o): New dependency.
795 (dyn-string.o): Likewise.
796
797 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
798
799 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
800 demangler.
801 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
802 demangling mode.
803 (gnu_new_abi_symbol_characters): New function.
804 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
805 file.
806 * cp-demangle.c: New file.
ae7d06ad 807
f03aa80d
AC
808Tue May 30 16:45:25 2000 Andrew Cagney <[email protected]>
809
810 * floatformat.c: Add name to each floatformat field.
811
77bfb694
JL
812Tue May 30 15:07:52 2000 Jeffrey A Law ([email protected])
813
814 * Makefile.in (objalloc.o): Depend on config.h
815
5c82d20a
ZW
8162000-05-29 Zack Weinberg <[email protected]>
817
eb383413 818 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
819 if HAVE_STRING_H.
820 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
821 * objalloc.c: Include config.h. Include stdlib.h and don't
822 declare malloc or free if HAVE_STDLIB_H.
823 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
824 else declare malloc without prototype. Include string.h if
825 HAVE_STRING_H, else declare memset without prototype. Don't
826 include stddef.h.
827
eb383413
L
8282000-05-23 Mike Stump <[email protected]>
829
830 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
831 -j3.
832
8332000-05-18 J. David Anglin <[email protected]>
834
835 * xmalloc.c: Include config.h for HAVE_SBRK definition.
836
8372000-05-16 Horst von Brand <[email protected]>
838
ae7d06ad 839 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
840 probably zero, also eliminate a warning on alpha.
841
8422000-05-15 David Edelsohn <[email protected]>
843
844 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
845 on $(enable_shared).
846
8472000-05-10 Jakub Jelinek <[email protected]>
848
849 * config.table: Use mh-sparcpic for sparc*-*-*.
850
8512000-05-08 Nick Clifton <[email protected]>
852
853 * Makefile.in (CFILES): Add strncmp.c.
854 (NEEDED): Add strncmp.
855
8562000-05-04 Kaveh R. Ghazi <[email protected]>
5c82d20a 857
eb383413
L
858 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
859 Cast the arguments to `islower' to `unsigned char'.
860 (print_demangler_list): Prototype.
861
862Thu May 4 17:14:41 2000 Philippe De Muyter <[email protected]>
863
864 * sort.c (UCHAR_MAX): Provide fallback definition.
865
8662000-04-29 Alexandre Oliva <[email protected]>
010c70e1
AO
867
868 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
869 SUBDIRS.
870
eb383413
L
8712000-04-28 Kenneth Block <[email protected]>
872 Jason Merrill <[email protected]>
873
ae7d06ad
NC
874 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
875 (cplus_demangle_set_style): New function for setting style.
876 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
877
8782000-04-27 Kaveh R. Ghazi <[email protected]>
879
880 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
881
882 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
883 (libiberty_AC_FUNC_STRNCMP): Invoke.
884
885 * strncmp.c: New file.
886
887Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <[email protected]>
888
889 * hashtab.c (htab_expand): Add prototype.
890 (find_empty_slot_for_expand): Likewise.
891
8922000-04-24 Kaveh R. Ghazi <[email protected]>
893
894 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
895 match prototype.
896 (htab_expand): Cast the return value of xcalloc.
897
8982000-04-24 Mark Mitchell <[email protected]>
899
900 * hashtab.c (hash_pointer): New function.
901 (eq_pointer): Likewise.
902 (htab_hash_pointer): New variable.
903 (htab_eq_pointer): Likewise.
904
9052000-04-23 Mark Mitchell <[email protected]>
906
907 * sort.c (sort_pointers): Fix endianness bugs.
908
909 * sort.c: New file.
910 * Makefile.in (CFILES): Add sort.c
911 (REQUIRED_OFILES): Add sort.o.
912 (sort.o): New target.
913
19be4303
JL
9142000-04-21 Michael Sokolov <[email protected]>
915
916 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
917 4.3BSD systems.
918
eb383413
L
919Tue Apr 18 16:23:31 2000 Richard Kenner <[email protected]>
920
921 * hashtab.c: Various minor cleanups.
922 (htab_find_slot_with_hash): INSERT is now enum insert_option.
923 (htab_find_slot): Likewise.
924
9252000-04-16 Dave Pitts <[email protected]>
926
927 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 928
afe36a78
RH
9292000-04-05 Richard Henderson <[email protected]>
930
931 * splay-tree.c (splay_tree_remove): New.
932
eb383413
L
9332000-03-30 Mark Mitchell <[email protected]>
934
935 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
936 codes.
937 (htab_find_with_hash): Likewise.
938 (htab_find_slot_with_hash): Likewise.
ae7d06ad 939
eb383413
L
9402000-03-29 Zack Weinberg <[email protected]>
941
942 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
943 unless it will be used. Rearrange loop for better
944 optimization.
945 (higher_prime_number): Add static prototype.
946
b4fe2683
JM
947Thu Mar 16 01:33:58 2000 Jeffrey A Law ([email protected])
948
949 * Makefile.in (partition.o): Depend on config.h
950
9512000-03-14 Bernd Schmidt <[email protected]>
952
953 * hashtab.c (find_empty_slot_for_expand): New function.
954 (htab_expand): Use it instead of htab_find_slot.
955 (htab_find_with_hash): Renamed from htab_find; now accepts extra
956 argument HASH.
957 (htab_find_slot_with_hash): Likewise for htab_find_slot.
958 (htab_find): New wrapper function.
959 (htab_find_slot): Likewise.
960 (htab_traverse): Pass slot, not entry, to called function.
961
9622000-03-09 Alex Samuel <[email protected]>
963
964 * Makefile.in (CFILES): Add partition.c.
965 (REQUIRED_OFILES): Add partition.o.
966 (partition.o): New rule.
967 * partition.c: New file.
ae7d06ad 968
b4fe2683
JM
9692000-03-09 Zack Weinberg <[email protected]>
970
971 * hashtab.c (htab_create): Set del_f.
972 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
973 Use it.
974
9752000-03-08 Zack Weinberg <[email protected]>
976
977 * hashtab.c: Remove debugging variables (all_searches,
978 all_collisions, all_expansions). Delete
979 all_hash_table_collisions.
980 (create_hash_table, delete_hash_table, empty_hash_table,
981 find_hash_table_entry, remove_element_from_hash_table_entry,
982 clear_hash_table_slot, traverse_hash_table, hash_table_size,
983 hash_table_elements_number, hash_table_collisions): Rename to:
984 htab_create, htab_delete, htab_empty, htab_find_slot,
985 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
986 htab_elements, htab_collisions.
987 (htab_find): New function, handles common case where you don't
988 plan to add or delete an entry.
989 (htab_expand): Don't create a whole new table, just a new
990 entry vector.
991 (htab_find_slot): Simplify logic.
992
08372f14
ILT
9931999-08-03 Ian Lance Taylor <[email protected]>
994
995 * floatformat.c: Add casts to avoid signed/unsigned warnings.
996 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
997
998 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
999 $(TARGETLIB)n so it works on MSDOS.
1000 (install_to_tooldir): Likewise.
1001
9c8ac5a9
ILT
10021999-07-21 Ian Lance Taylor <[email protected]>
1003
1004 From Mark Elbrecht:
1005 * makefile.dos: Remove; obsolete.
8f36e47c 1006 * configure.bat: Remove; obsolete.
9c8ac5a9 1007
0c0a36a4
ILT
10081999-07-11 Ian Lance Taylor <[email protected]>
1009
1010 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1011 warning.
1012
10132000-01-04 Mumit Khan <[email protected]>
1014
1015 * pexecute.c: Conditionally include string.h.
b4fe2683 1016 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1017
10182000-01-04 Kaveh R. Ghazi <[email protected]>
1019
1020 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1021 we're using gcc.
1022
1023 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1024
10251999-12-27 Geoff Keating <[email protected]>
1026
1027 * vasprintf.c (int_vasprintf): Don't re-read the format character
1028 as this mishandles strings like '%%s'.
1029
10301999-12-05 Mark Mitchell <[email protected]>
1031
1032 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1033 rather than struct splay_tree_node.
1034 (splay_tree_insert): Use struct splay_tree_s rather than struct
1035 splay_tree.
1036
1037Sun Nov 28 00:59:39 1999 Philippe De Muyter <[email protected]>
1038
1039 * hashtab.c (sys/types.h): File included.
1040
10411999-11-22 Jason Merrill <[email protected]>
1042
1043 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1044 BSD license, pursuant with
1045
1046 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1047
1048Wed Nov 10 09:42:39 1999 Jeffrey A Law ([email protected])
1049
1050 * hashtab.c: Include stdio.h.
1051
1052Mon Nov 8 09:23:41 1999 Jeffrey A Law ([email protected])
1053
1054 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1055
1056Tue Nov 2 03:23:13 1999 Philippe De Muyter <[email protected]>
1057
1058 * xstrdup (sys/types.h): Include this file.
1059
10601999-10-28 Nathan Sidwell <[email protected]>
1061
1062 * Makefile.in (SUBDIRS): New macro.
1063 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1064 avoid multiple subdirectory cleaning.
1065 (*-subdir): Use SUBDIRS.
1066
10671999-10-25 Jim Kingdon <http://developer.redhat.com/>
1068
1069 * cplus-dem.c: Move declarations of standard_symbol_characters and
1070 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1071 warnings.
1072
10731999-10-23 08:51 -0700 Zack Weinberg <[email protected]>
1074
1075 * hashtab.c (find_hash_table_entry): When returning a
1076 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1077 (clear_hash_table_slot): New function which deletes an entry
1078 by its position in the table, not its value.
1079 (traverse_hash_table): New function which calls a hook
1080 function for every live entry in the table.
1081
10821999-10-19 Mark Mitchell <[email protected]>
1083
1084 * cplus-dem.c (INTBUF_SIZE): New macro.
1085 (string_append_template_idx): New function.
1086 (demangle_expression): Likewise.
1087 (demangle_integral_value): Use it.
1088 (demangle_real_value): New function, split out from ...
1089 (demangle_template_value_parm): ... here. Use
1090 string_append_template_idx. Use demangle_real_value.
1091 (demangle_template): Use string_append_template_idx.
1092 (demangle_qualified): Use consume_count_with_underscores.
1093 (get_count): Tweak formatting.
1094 (do_type): Use string_append_template_idx.
b4fe2683 1095
0c0a36a4
ILT
10961999-10-18 Kaveh R. Ghazi <[email protected]>
1097
1098 * calloc.c: Add a public domain notice.
1099
1100Mon Oct 18 02:30:47 1999 Philippe De Muyter <[email protected]>
1101
1102 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1103
1104Fri Oct 15 01:47:51 1999 Vladimir Makarov <[email protected]>
1105
1106 * Makefile.in (CFILES): Add hashtab.c
1107 (REQUIRED_OFILES): Add hashtab.o
1108 (hashtab.o): Add dependencies.
1109 * hashtab.c: New file
1110
1111Wed Oct 13 01:16:47 1999 Mumit Khan <[email protected]>
1112
1113 * basename.c (DIR_SEPARATOR): New macro.
1114 (DIR_SEPARATOR_2): Likewise.
1115 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1116 (IS_DIR_SEPARATOR): Likewise.
1117 (main): Handle MSDOS style pathname.
1118
11191999-10-11 Mark Mitchell <[email protected]>
1120
1121 * cplus-dem.c (do_type): Handle pointer to member types whose
1122 enclosing classes have namespace scope.
1123
1124Sun Oct 10 01:23:50 1999 Marc Espie <[email protected]>
1125
1126 * config.table: Provide a backup shell for executing move-if-change.
1127
11281999-10-02 Mark Mitchell <[email protected]>
1129
1130 * xmalloc.c (xmalloc): Fix spelling error.
1131 (xcalloc, xrealloc): Likewise.
1132
11331999-10-02 Kaveh R. Ghazi <[email protected]>
1134
1135 * cplus-dem.c (fancy_abort, demangle_integral_value,
1136 demangle_arm_hp_template, recursively_demangle,
1137 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1138 (program_name, program_version, fatal): Constify a char*.
1139 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1140 (main): Call return, not exit.
1141
11421999-09-25 Kaveh R. Ghazi <[email protected]>
1143
1144 * choose-temp.c: Remove obsolete comment about gcc.
1145 (make_temp_file): Constify a char*.
1146
1147Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <[email protected]>
1148
1149 * xmemdup.c: Include sys/types.h.
1150
11511999-09-07 Jeff Garzik <[email protected]>
1152
1153 * xmemdup.c: New xmemdup function.
1154 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1155
1156Tue Sep 7 23:32:18 1999 Linas Vepstas <[email protected]>
1157
b4fe2683 1158 * config.table: Add openedition target.
0c0a36a4
ILT
1159 * config/mh-openedition: New file.
1160
1161Thu Sep 2 01:36:12 1999 Marc Espie <[email protected]>
1162
1163 * pexecute.c (pexecute): Fill in temp_base when needed.
1164
11651999-08-31 Richard Henderson <[email protected]>
1166
1167 * getpwd.c: Check HAVE_GETCWD before defining it away.
1168
11691999-08-30 Kaveh R. Ghazi <[email protected]>
1170
1171 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1172 (REQUIRED_OFILES): Add getpwd.o.
1173 (getpwd.o): Add target.
1174
1175 * configure.in (AC_PREREQ): Bump to 2.13.
1176 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1177
1178 * getpwd.c: New file, moved here from gcc.
1179
11801999-08-25 Kaveh R. Ghazi <[email protected]>
1181
1182 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1183 comparing against a signed quantity.
1184 (arm_special): Likewise.
1185 (demangle_fund_type): Likewise.
1186 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1187 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1188 (main): Constify variable `valid_symbols'.
1189
1190Tue Aug 24 02:50:45 1999 Philippe De Muyter <[email protected]>
1191
1192 * strtoul.c (strtoul): Add parentheses around && within ||.
1193
1194Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <[email protected]>
1195
1196 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1197 libdir, libsubdir and tooldir.
1198
11991999-08-01 Mark Mitchell <[email protected]>
1200
1201 * splay-tree.c (splay_tree_insert): Return the new node.
1202
35ca97ea
RH
12031999-07-14 Richard Henderson <[email protected]>
1204
b4fe2683 1205 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1206 prototyping directly.
1207 * choose-temp.c: Conditionally include string.h.
1208
0c0a36a4
ILT
12091999-07-12 Jason Merrill <[email protected]>
1210
1211 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1212
af32ff69
ILT
12131999-07-11 Ian Lance Taylor <[email protected]>
1214
1215 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1216 warning.
1217
0c0a36a4
ILT
12181999-07-07 Jason Merrill <[email protected]>
1219
1220 * Makefile.in (needed-list): Only include stuff we actually need
1221 for libstdc++.
1222
12231999-06-21 Andreas Schwab <[email protected]>
1224
1225 * configure.in (checkfuncs): Add gettimeofday.
1226 * config.in, configure: Regenerated.
1227
1228Mon Jun 21 05:56:01 1999 Mumit Khan <[email protected]>
1229
1230 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1231 the test fails.
1232 * configure: Regenerate.
1233
12341999-06-10 Mike Stump <[email protected]>
1235
1236 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1237 parallel builds.
1238
12391999-05-28 Kaveh R. Ghazi <[email protected]>
1240
1241 * putenv.c: Include ansidecl.h to define `const'.
1242 * setenv.c: Likewise.
1243
1244Wed May 26 03:58:20 1999 "Melissa O'Neill" <[email protected]>
1245
1246 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1247 * configure.in (funcs): Add putenv and setenv.
1248 (AC_CHECK_FUNCS): Check for putenv and setenv.
1249 * configure: Rebuilt.
1250 * putenv.c setenv.c: New files.
1251
1252 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1253 bytes of space using malloc.
1254
1255Mon May 17 01:42:34 1999 Stu Grossman <[email protected]>
1256
1257 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1258 the *mangled pointer beyond the end of the string. Clean up code to
1259 match prevailing coding style.
1260
12611999-05-13 Michael Hayes <[email protected]>
1262
1263 * tmpnam.c (L_tmpnam): Fix typo.
1264
1265Thu May 13 01:14:46 1999 Marc Espie <[email protected]>
1266
1267 * cplus-dem.c (standard_symbol_characters): Renamed from
1268 standard_symbol_alphabet. No longer modify TABLE.
1269 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1270 modify TABLE.
1271 (main): Corresponding changes. Use strchr to determine if a
1272 character is valid.
1273
e9868447
JB
12741999-05-11 Jim Blandy <[email protected]>
1275
1276 * cplus-dem.c (main): Use table lookup to distinguish identifier
1277 characters from non-identifier characters.
1278 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1279
33fbbfbc
RH
1280Thu May 6 20:34:42 1999 Fred Fish <[email protected]>
1281
1282 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1283 * getruntime.c: Only attempt to include sys/resource.h and
1284 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1285 are defined.
1286
0c0a36a4
ILT
1287Mon Apr 26 01:36:06 1999 Donn Terry ([email protected])
1288
1289 * configure.in (alloca detection): Handle alloca directly for interix.
1290 * configure: Rebuilt.
1291
1292Sun Apr 25 01:18:21 1999 Mumit Khan <[email protected]>
1293
1294 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1295
252b5132
RH
12961999-04-20 Jim Blandy <[email protected]>
1297
1298 Fix from Dale Hawkins:
b4fe2683 1299 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1300 reallocated properly if we use it again.
1301
1302 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1303 stricter about syntax. Always null-terminate string.
1304
c1687039
ILT
1305Thu Apr 15 23:00:55 1999 Mumit Khan <[email protected]>
1306
1307 * configure.in (checkfuncs): Check for sbrk.
1308 * config.in: Rebuilt.
1309 * configure: Likewise.
1310 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1311
0c0a36a4
ILT
13121999-04-12 Jim Blandy <[email protected]>
1313
1314 Fix from Marcus Daniels:
1315 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1316 identifier looking for another underscore.
1317
1318Sun Apr 11 23:20:59 1999 Mumit Khan <[email protected]>
1319
1320 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1321 * xmalloc.c: Likewise.
1322 (xcalloc): UWIN has sbrk.
1323 (xrealloc): Fix guard macro.
1324
252b5132
RH
13251999-04-11 Richard Henderson <[email protected]>
1326
1327 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1328 or <alloca.h>.
1329 * clock.c (GNU_HZ): New definition.
1330 (clock): Use it.
1331 * getruntime.c: Likewise.
1332
1333 * config.table: Use mh-beos.
1334 * config/mh-beos: New file.
1335
0c0a36a4
ILT
13361999-04-11 Mark Mitchell <[email protected]>
1337
1338 * cplus-dem.c (demangle_template_value_parm): Handle
1339 pointers-to-members.
1340 (do_type): Handle template parameters as qualifiers.
1341
252b5132
RH
13421999-04-01 Jim Blandy <[email protected]>
1343
1344 * cplus-dem.c: Attempt to handle overflows in counts with some
1345 semblance of grace.
1346 (consume_count): Detect overflows. Return -1 to indicate errors,
1347 instead of zero.
1348 (demangle_template_value_parm, demangle_template): Handle change
1349 to consume_count's return convention.
1350
0c0a36a4
ILT
13511999-04-05 Tom Tromey <[email protected]>
1352
1353 * testsuite/regress-demangle: New file.
1354 * testsuite/demangle-expected: New file.
252b5132 1355
0c0a36a4
ILT
1356 * Makefile.in (all, check, installcheck, info, install-info,
1357 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1358 distclean, maintainer-clean, realclean): Depend on corresponding
1359 `-subdir' target.
1360 (all-subdir check-subdir installcheck-subdir info-subdir
1361 install-info-subdir clean-info-subdir dvi-subdir
1362 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1363 distclean-subdir maintainer-clean-subdir): New target.
1364 * testsuite/Makefile.in: New file.
1365 * configure: Rebuilt.
1366 * configure.in: Create testsuite/Makefile.
252b5132
RH
1367
13681999-04-02 Mark Mitchell <[email protected]>
1369
1370 * splay-tree.h (splay_tree_compare_pointers): Define.
1371
13721999-03-30 Mark Mitchell <[email protected]>
1373
1374 * splay-tree.c (splay_tree_compare_ints): Define.
1375
13761999-03-30 Tom Tromey <[email protected]>
1377
1378 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1379 don't advance input pointer.
1380 (demangle_class_name): If consume_count didn't find a count, do
1381 nothing. Don't bother with `strlen' sanity check; consume_count
1382 does it for us.
1383
13841999-03-16 Stan Shebs <[email protected]>
1385
1386 From Art Haas <[email protected]>:
1387 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1388 when doing arm or hp style.
1389 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1390
252b5132
RH
1391Thu Mar 11 01:22:58 1999 Mumit Khan <[email protected]>
1392
1393 * pexecute.c (__CYGWIN32__): Rename to
1394 (__CYGWIN__): this.
1395 * xmalloc.c: Likewise.
1396
1397 Changes to support i386-pc-uwin.
1398 * configure.in (*-*-uwin*): Workaround for vfork bug.
1399 * configure: Regenerate.
1400 * pexecute.c (pexecute): Be like standard Unix.
1401 (pwait): Likewise.
1402 * xmalloc.c (first_break): Define.
1403 (xmalloc_set_program_name): Use.
1404 (xmalloc): Use.
1405
1406Thu Mar 11 01:07:55 1999 Franz Sirl <[email protected]>
1407
1408 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1409
1410Sun Feb 28 22:30:44 1999 Geoffrey Noer <[email protected]>
1411
1412 * config.table: Check cygwin*, not cygwin32*.
1413
1414Tue Feb 9 16:39:01 1999 Dave Brolley <[email protected]>
1415
1416 * Makefile.in: Change mkstemp -> mkstemps.
1417
1418Tue Feb 9 01:12:27 1999 Marc Espie <[email protected]>
1419
1420 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1421 * configure.in (funcs): Check for and conditionally add mkstemps to
1422 the list of functions libiberty will provide.
1423 * configure: Rebuilt.
b4fe2683 1424
252b5132
RH
1425Wed Feb 3 00:01:15 1999 Mumit Khan <[email protected]>
1426
b4fe2683 1427 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1428 platforms that don't have HZ.
1429 * getruntime.c (HZ): Likewise.
1430
1431Sat Jan 30 13:28:04 1999 Richard Henderson <[email protected]>
1432
1433 * Makefile.in (xstrdup.o): Depend on config.h.
1434
1435Wed Jan 13 07:26:44 1999 H.J. Lu ([email protected])
1436
1437 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1438 freeing it.
1439
1440Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <[email protected]>
1441
1442 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1443
1444Tue Jan 5 15:58:29 1999 Elena Zannoni <[email protected]>
1445
1446 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1447 splay-tree.o.
1448
14491999-01-04 Jason Molenda ([email protected])
1450
1451 * configure.in: Require autoconf 2.12.1 or higher.
1452
14531998-12-30 Michael Meissner <[email protected]>
1454
1455 * random.c (NULL): Don't redefine NULL if it is already defined.
1456
1457Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <[email protected]>
1458
1459 * argv.c (buildargv): Cast the result of alloca in assignment.
1460
1461 * choose-temp.c: Include stdlib.h.
1462
1463 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
1464 (snarf_numeric_literal): Constify first parameter.
1465 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1466 int, not a char.
1467 (demangle_qualifier): Likewise.
1468 (demangle_signature): Cast the argument of a ctype function to
1469 unsigned char.
1470 (arm_pt): Add parens around assignment used as truth value.
1471 (demangle_arm_hp_template): Constify variable `args'.
1472 (do_hpacc_template_const_value): Cast the argument of a ctype
1473 function to unsigned char.
1474 (do_hpacc_template_literal): Remove unused variable `i'.
1475 (snarf_numeric_literal): Constify parameter `args'.
1476 Cast the argument of a ctype function to unsigned char.
1477
1478 * floatformat.c (floatformat_to_double): Add explicit braces to
1479 avoid ambiguous `else'.
1480
1481 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
1482 `cstart' and `cend' to unsigned char. Cast the argument of macro
1483 `FOLD', which uses ctype functions, to unsigned char.
1484
1485 * objalloc.c (free): Add prototype.
1486
1487Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <[email protected]>
1488
1489 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1490
1491Fri Dec 18 17:50:18 1998 David Taylor <[email protected]>
1492
1493 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
1494 doesn't exist.
1495 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1496
252b5132
RH
1497Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <[email protected]>
1498
1499 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1500 bumping the pointer we read from. Also prepend these codes,
1501 as we do in other places.
1502
15031998-12-18 Nick Clifton <[email protected]>
1504
1505 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1506 'const char *' in order to match its usage when calling siblings.
1507 (snarf_numeric_literal): Make first arg 'const char **' in order
1508 to match usage.
1509
1510Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <[email protected]>
1511
1512 * choose-temp.c: Don't check IN_GCC anymore.
1513
1514 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1515 * memchr.c (memchr): Likewise.
1516 * memcpy.c (memcpy): Likewise.
1517 * memmove.c (memmove): Likewise.
1518
1519 * mkstemp.c: Don't check IN_GCC anymore.
1520 * pexecute.c: Likewise.
1521 * splay-tree.c: Likewise.
1522
1523 * strchr.c (strchr): Use `const', not `CONST'.
1524 * strrchr.c (strrchr): Likewise.
1525 * strtol.c (strtol): Likewise.
1526 * strtoul.c (strtoul): Likewise.
1527
1528Fri Dec 4 13:51:04 1998 David Taylor <[email protected]>
1529 Elena Zannoni <[email protected]>
1530 Stan Shebs <[email protected]>
1531 Edith Epstein <[email protected]>
1532 Andres MacLeod <[email protected]>
1533 Satish Pai <[email protected]>
1534
1535 * HP aCC demangling support.
1536 * cplus-dem.c
1537 (main): Remove default to HP style demangling, set to EDG
1538 demangling correctly when -edg specified; set the demangling style
1539 when user specifies 'edg'. Set strip_underscore to
1540 prepends_underscore, if not HPUXHPPA. Set
1541 current_demangling_style to hp_demangling if HPUXHPPA. Set
1542 current demangling style correctly if the switch is hp. Read
1543 label correctly also in the HP style case.
1544 (work_stuff): add temp_start field; add field for volatile member
1545 function.
1546 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1547 style for this case is the same as ARM.
1548 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1549 (demangle_arm_hp_template): new function. (It was
1550 demangle_arm_pt.); check and set value of temp_start field in
1551 multiple places. Also, when ceching for end of template args,
1552 check to see if at end of static member of template class.
1553 (demangle_class): new local variable : save_class_name_end Don't
1554 include template args in string defining class.
1555 (demangle_class_name): use demangel_arm_hp_template.
1556 (demangle_function_name): handle case where demangling style is
1557 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1558 Handle EDG_DEMANGLING style. Handle constructor and destructor
1559 ops for HP style.
1560 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1561 styles. global destructor and constructor for HP style are same
1562 as for ARM style. Same for local variables.
1563 (demangle_qualified): handle EDG_DEMANGLING style.
1564 (demangle_signature): add case for volatile member function. For
1565 cases '1' - '9' : initialize the temp_start field to -1 and handle
1566 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1567 and AUTO_DEMANGLING styles. If expecting a function and managed
1568 to demangle the funct args, then handle the LUCID_DEMANGLING,
1569 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1570 class name after "Lnnn_ in HP style case. HP style too needs to
1571 forget types. _nnn is OK for HP style, so don't report failure.
1572 (do_hpacc_template_const_value): new function. Handle template's
1573 value param for HP/aCC.
1574 (do_hpacc_template_literal): new function. Handle a template's
1575 literal parameter for HP aCC.
1576 (recursively_demangle): new function
1577 (snarf_numeric_literal): new function.
1578 (usage): add 'edg' to the list of demangling styles; add hp switch
1579 to message.
1580
1581Sat Nov 28 17:25:22 1998 Christopher Faylor <[email protected]>
1582
1583 * pexecute.c: Remove obsolete ifdefed cygwin code.
1584
1585Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <[email protected]>
1586
1587 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1588 * cplus-dem.c: Likewise. Conform to libiberty.h.
1589 * pexecute.c: Likewise.
1590 * splay-tree.c: Likewise.
1591
15921998-11-25 Mike Stump <[email protected]>
1593
1594 * Makefile.in (splay-tree.o): Add config.h dependency.
1595
1596Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <[email protected]>
1597
1598 * configure.in: Use AC_PREREQ(2.12.1).
1599
16001998-11-16 Benjamin Kosnik <[email protected]>
1601
b4fe2683 1602 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
1603
1604Thu Nov 19 22:15:50 1998 Jeffrey A Law ([email protected])
1605
1606 * mpw.c (mpw_access): Add missing parens.
1607
1608Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <[email protected]>
1609
1610 * configure.in: Call AC_HEADER_SYS_WAIT.
1611
1612 * pexecute.c: Include sys/wait.h when !IN_GCC.
1613
1614Thu Nov 19 14:38:20 1998 Geoffrey Noer <[email protected]>
1615
1616 * pexecute.c: revert back to checking old Cygwin
1617 preprocessor symbol until some time has passed.
1618
1619Wed Nov 18 08:52:26 1998 Christopher Faylor <[email protected]>
1620
1621 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1622 since it will now support similar constructs.
1623
1624Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <[email protected]>
1625
1626 * configure.in: Check for calloc.
1627
1628 * calloc.c: New file.
1629
1630 * xmalloc.c (xcalloc): New function.
1631
1632Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <[email protected]>
1633
1634 *cplus-dem.c (demangle_prefix): Use the last "__"
1635 in the mangled name when looking for the signature. This allows
1636 template names to begin with "__".
1637
16381998-11-08 Mark Mitchell <[email protected]>
1639
1640 * cplus-dem.c (type_kind_t): Add tk_reference.
1641 (demangle_template_value_parm): Handle it.
1642 (do_type): Use it for references, instead of tk_pointer.
1643
1644 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1645 not internal_cplus_demangle.
1646
1647Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <[email protected]>
1648
1649 * choose-temp.c: Don't include gansidecl.h.
1650 * mkstemp.c: Likewise.
1651 * pexecute.c: Likewise.
1652
1653Mon Nov 2 15:05:33 1998 Geoffrey Noer <[email protected]>
1654
b4fe2683
JM
1655 * configure.in: detect cygwin* instead of cygwin32*
1656 * configure: regenerate
252b5132
RH
1657
1658Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <[email protected]>
1659
1660 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1661 whether to include config.h. Possibly include unistd.h in the
1662 !IN_GCC case. Define VFORK_STRING as a printable function call
1663 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1664 defined, include vfork.h. If VMS is defined, define vfork()
1665 appropriately. Remove vfork check on USG, we're using autoconf.
1666 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1667 locally what string to use.
1668
16691998-10-26 Mark Mitchell <[email protected]>
1670
1671 * splay-tree.c: Tweak include directives to make sure declarations of
1672 xmalloc and free are available.
1673
16741998-10-25 Mark Mitchell <[email protected]>
1675
1676 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1677 anonymous namespaces.
1678
16791998-10-23 Mark Mitchell <[email protected]>
1680
1681 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1682 with type_quals.
1683 (TYPE_UNQUALIFIED): New macro.
1684 (TYPE_QUAL_CONST): Likewise.
1685 (TYPE_QUAL_VOLATILE): Likewise.
1686 (TYPE_QUAL_RESTRICT): Likewise.
1687 (code_for_qualifier): New function.
1688 (qualifier_string): Likewise.
1689 (demangle_qualifier): Likewise.
1690 (internal_cplus_demangle): Use them.
1691 (demangle_signature): Likewise.
1692 (demangle_template_value_parm): Likewise.
1693 (do_type): Likewise.
1694 (demangle_fund_type)): Likewise.
1695
1696Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <[email protected]>
1697
1698 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1699 to match prototype.
1700
17011998-10-21 Mark Mitchell <[email protected]>
1702
1703 * splay-tree.c: New file.
1704 * Makefile.in (CFILES): Add it.
1705 (REQUIRED_OFILES): Likewise.
1706 (splay-tree.o): Add dependencies.
1707
1708Tue Oct 20 12:29:02 1998 Andreas Schwab <[email protected]>
1709
1710 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1711 range of 'K' index.
1712
1713Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <[email protected]>
1714
1715 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1716
1717 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1718 `unsigned char'.
1719 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1720 comparing against one.
1721 (cplus_mangle_opname): Likewise.
1722 (demangle_integral_value): Cast argument of ctype macro to
1723 `unsigned char'.
1724 (demangle_template_value_parm): Likewise.
1725 (demangle_template): Initialize variable `bindex'. Cast the
1726 result of `strlen' to (int) when comparing against one. Remove
1727 unused variable `start_of_value_parm'.
1728 (demangle_class_name): Cast the result of `strlen' to (int) when
1729 comparing against one.
1730 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1731 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1732 when comparing against one.
1733 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1734 (get_count): Likewise.
1735 (do_type): Likewise. Cast the result of `strlen' to (int) when
1736 comparing against one.
1737 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1738 (demangle_function_name): Cast the result of `strlen' to (int)
1739 when comparing against one.
1740
1741 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1742 comparing against one.
1743
1744Tue Oct 13 23:51:51 1998 Jeffrey A Law ([email protected])
1745
b4fe2683
JM
1746 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1747 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1748 * config.in, configure: Rebuilt.
252b5132
RH
1749
1750 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1751 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1752 * config.in, configure: Rebuilt.
1753
1754Mon Oct 12 19:15:59 1998 Geoffrey Noer <[email protected]>
1755
b4fe2683 1756 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
1757
1758Sun Oct 11 17:36:06 1998 Michael Tiemann <[email protected]>
1759
1760 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1761
1762Thu Oct 8 23:42:08 1998 Jeffrey A Law ([email protected])
1763
1764 * Merge egcs & devo libiberty.
1765
1766