]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
demangle.h (no_demangling): New.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
d06ba3c7
RH
12001-12-06 Richard Henderson <rth@redhat.com>
2
3 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
4 (cplus_demangle): Support no_demangling.
5
e490616e
ZW
62001-11-27 Zack Weinberg <zack@codesourcery.com>
7
8 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
9 in libiberty context. Fix typo in leading comment.
10 * configure.in: Fix various AC_DEFINEs so autoheader works.
11 If any of vprintf, vsprintf, vfprintf is missing from libc,
12 then AC_REPLACE_FUNCS(_doprnt).
13
97e620cf 142001-11-26 DJ Delorie <dj@redhat.com>
e490616e 15 Daniel Jacobowitz <drow@mvista.com>
97e620cf
DD
16
17 * Makefile.in (stamp-h): Depend on Makefile for proper
18 serialization.
19 (*-subdir): Depend on config.h for proper serialization.
20
c3bb7df0
DD
212001-11-26 DJ Delorie <dj@redhat.com>
22
23 * configure.in: Check for alloca.h (for regex.c and putenv.c).
24 * configure: Regenerate.
25 * config.h: Add HAVE_ALLOCA_H.
26
23850d35
KG
272001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28
2c47b56b
KG
29 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
30 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
31 is available.
23850d35 32
7ddfb651
JL
33Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
34
d3982b71
JL
35 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
36 * configure.in (HAVE_UINTPTR_T): Test for system defining
37 uintptr_t and define HAVE_UINTPTR_T appropriately.
38 * regex.c (uintptr_t): Do not provide a definition if the
39 system provided one.
40
7ddfb651
JL
41 * regex.c (PREFIX): Provide an alternate definition for
42 non-ANSI/ISO compilers.
43 (ARG_PREFIX): Likewise.
44
2e683037
JM
452001-11-12 Jim Meyering <meyering@lucent.com>
46
47 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
48 this code would end up calling gettext even in packages built
49 with --disable-nls.
50 * getopt.c (_): Likewise.
51 * regex.c (_): Likewise.
52
f749bd83
AM
532001-11-03 Alan Modra <amodra@bigpond.net.au>
54
55 * configure.in: Cope with missing makeinfo.
55a10d7c 56 * configure: Regenerate.
f749bd83 57
26ad2982
KG
582001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
59
e5969ba6
KG
60 * hex.c (hex_init): Provide empty stub.
61
26ad2982
KG
62 * hex.c (hex_init): Delete.
63 (_hex_value): Const-ify and initialize at compile-time.
64
afb649d5
L
652001-10-19 H.J. Lu <hjl@gnu.org>
66
67 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
68 necessary.
69
5bed56d9
DD
702001-10-17 DJ Delorie <dj@redhat.com>
71
72 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
73 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4dcc42a3 74 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5bed56d9
DD
75 Improve manual formatting.
76 * functions.texi: Regenerate.
77
aac04c15
DD
782001-10-15 DJ Delorie <dj@redhat.com>
79
80 * Makefile.in (TEXIFILES): Add fnmatch.txh.
81 (maint-undoc): New.
82 maint-tool: Add "undoc" tool.
83 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
84 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
85 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
86 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
87 documentation.
88 * fnmatch.txh: New.
89 * functions.texi: Regenerate.
fae8182a 90
0e4e9e8f
JM
912001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
92
93 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
94 * strtod.c: Use "ISO C" instead of "ANSI C".
95 * functions.texi: Regenerate.
96
7f8fa05d
JM
972001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
98
99 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
100 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
101 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
102 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
103 spelling. Give names to function arguments in documentation. Use
104 (void) prototypes in documentation.
105 * functions.texi: Regenerate.
106
0be6abca
KG
1072001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
108
109 * argv.c (buildargv, tests, main): Const-ify.
110 * cp-demangle.c (operator_code): Likewise.
111 * cplus-dem.c (optable, libiberty_demanglers,
112 cplus_demangle_set_style, cplus_demangle_name_to_style,
113 print_demangler_list): Likewise.
114 * hashtab.c (higher_prime_number): Likewise.
115 * strcasecmp.c (charmap): Likewise.
116 * strerror.c (error_info, strerror, main): Likewise.
117 * strncasecmp.c (charmap): Likewise.
118 * strsignal.c (signal_info): Likewise.
119
0e30ffc5
DD
1202001-09-29 DJ Delorie <dj@redhat.com>
121
122 * configure: Regenerate.
123
576fb787
KG
1242001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
125
126 * concat.c: Include stdlib.h.
127
e922f978
EZ
1282001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
129
130 * libiberty.texi: (Top level): Add syncodeindex pg. Add
131 @dircategory and @direntry directives. Add @finalout.
132 (many nodes): Lose the next,prev,up pointers on the @nide line.
133 (Using, Supplemental Functions, Replacement Functions): Fix
134 markup.
135 (Functions): Move around, to allow makeinfo to build the manual
136 without next,prev,up pointers in thye node lines.
137 (Licenses): Fix typos.
138
139 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
140 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
141 * functions.texi: Regenerate.
142
143 * copying-lib.texi: Lose the next,prev,up pointers on the @node
144 line.
145
ae9092da
DD
1462001-09-27 DJ Delorie <dj@redhat.com>
147
148 * configure.in: Don't use in-tree texinfo, because libiberty must
149 be built before it. Check for makeinfo version 4 or higher.
150 * functions.texi: Regenerate.
fae8182a 151
aaa5f039
DD
1522001-09-20 DJ Delorie <dj@redhat.com>
153 Phil Edwards <pedwards@disaster.jaj.com>
fae8182a 154
aaa5f039
DD
155 * configure.in (MAKEINFO, PERL): Detect these.
156 (--enable-maintainer-mode): Add.
157 * configure: Regenerate.
158 * Makefile.in (MAKEINFO, PERL): Define.
159 (libiberty.info, libiberty.dvi, libiberty.html): New.
160 (CFILES): Add bsearch.c.
161 (CONFIGURED_OFILES): New, list of objects configure might add.
162 (maint-missing, maint-buildall): New, for maintainers only.
163 (clean, mostlyclean): Add info/dvi/html files.
164 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
165 * gather-docs: New, for maintainers.
166 * maint-tool: New, for maintainers.
167 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
168 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
169 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
170 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
171 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
172 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
173 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
174 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
175 documentation.
fae8182a 176
c1766881
KG
1772001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
178
179 * concat.c (reconcat): Fix for traditional C.
180
ad43d46f
KG
1812001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
182
183 * concat.c (reconcat): New function.
184
c1d49704
KG
1852001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
186
c793eea7
KG
187 * concat.c (vconcat_length, vconcat_copy, concat_length,
188 concat_copy, concat_copy2): New functions.
189 (concat): Use vconcat_length/vconcat_copy.
190
c1d49704
KG
191 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
192 Define.
193
7a98d9b2
KG
1942001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
195
196 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
197 VA_FIXEDARG & VA_CLOSE.
fae8182a 198
7a98d9b2
KG
199 * vasprintf.c: Check HAVE_STRING_H when including string.h.
200 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
201 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
202
e2dff3f2
KG
2032001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
204
205 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
206
d0708dc1
UD
2072001-08-23 Ulrich Drepper <drepper@redhat.com>
208
209 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
210
2112001-08-23 Ulrich Drepper <drepper@redhat.com>
212
213 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
214 instead of mbrtowc.
215 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
216 wcslen, and __wcscoll instead of wcscoll.
217
ffb9435b
MK
2182001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
219
220 * fibheap.c (fibheap_init, fibnode_init): Remove.
221 (fibheap_new, fibnode_new): Use xcalloc to allocate and
222 initialize memory.
223 (fibheap_insert): Remove check for node allocation failure.
224
f379eac3
RH
2252001-08-21 Richard Henderson <rth@redhat.com>
226
227 * Makefile.in (fibheap.o): Depend on config.h.
228 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
229 functions for inlining.
230
b1c45ae4
CF
231Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
232
233 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
234 hosting on cygwin.
235 * configure: Regenerate.
236
0310e5ac
AC
2372001-08-20 Andrew Cagney <ac131313@redhat.com>
238
239 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
240 HARRIS_FLOAT_FORMAT.
241 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
242 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
243 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
244 (floatformat_m88110_harris_ext): New float formats.
245
8c23e0a4
DB
2462001-08-20 Daniel Berlin <dan@cgsoftware.com>
247
248 * fibheap.c: New file. Fibonacci heap.
249
250 * Makefile.in (CFILES): Add fibheap.c.
251 (REQUIRED_OFILES): Add fibheap.o.
252 (fibheap.o): Add dependencies for fibheap.o.
253
91625004
CF
2542001-08-17 Christopher Faylor <cgf@cygnus.com>
255
256 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
257 * configure: Regenerate.
258
9e0ba685
RH
2592001-08-16 Richard Henderson <rth@redhat.com>
260
261 * hashtab.c (htab_hash_string): New.
262
d80dedbe
AC
2632001-08-13 Andrew Cagney <ac131313@redhat.com>
264
265 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
266 name.
267
ccea0d85
IH
2682001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
269
270 * regex.c (wcs_regex_compile): Use appropriate string
271 to compare with collating element.
272 Fix the padding for the alignment.
273
b0e9bc8c 2742001-08-10 Andrew Cagney <ac131313@redhat.com>
0ef5547d
AC
275
276 * lbasename.c (lbasename): Change function definition to return a
277 const char pointer.
278
056400f1
JM
2792001-08-07 Jason Merrill <jason_merrill@redhat.com>
280
281 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
282 for".
283
4e627c41
RH
2842001-08-03 Richard Henderson <rth@redhat.com>
285
286 * Makefile.in (concat.o): Depend on config.h.
287
b6a2f884
AJ
2882001-07-30 Andreas Jaeger <aj@suse.de>
289
290 * concat.c: Include "config.h".
291
c4b9cfe0
AJ
2922001-07-30 Andreas Jaeger <aj@suse.de>
293
294 * regex.c: Declare wcs functions only if compiling with
295 MBS_SUPPORT.
296 Don't use #elif for traditional C.
297
2982001-07-23 Ulrich Drepper <drepper@redhat.com>
299
300 * regex.c: Revamp memory allocation for WCHAR functions to
301 not use too much stack.
302
3032001-07-30 Andreas Jaeger <aj@suse.de>
304
305 * regex.c: Declare wcs functions only if compiling with
306 MBS_SUPPORT.
307 Don't use #elif for traditional C.
308
2cf50fd3
DJ
3092001-07-25 Daniel Jacobowitz <drow@mvista.com>
310
311 * Makefile.in (regex.o): Add dependency on config.h.
312
27ffc806
DD
3132001-07-18 Andreas Schwab <schwab@suse.de>
314
315 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
316 underscore character.
317
3182001-07-18 Ulrich Drepper <drepper@redhat.com>
319
320 * regex.c: Limit string length printed in debug messages to 100
321 chars.
322
3232001-07-18 Andreas Jaeger <aj@suse.de>
324
325 * regex.c: Place under LGPL version 2.1.
326
dd771632
JJ
3272001-07-10 Jeff Johnston <jjohnstn@redhat.com>
328
329 * Makefile.in: Add support for regex code.
330 * regex.c: New file.
331
29650b2b
MK
3322001-07-05 Mark Klein <mklein@dis.com>
333
334 * Makefile.in: Add ffs.c dependency.
335 * configure.in: Add ffs.c.
336 * ffs.c: New file.
337
c8b28221
RH
3382001-06-18 Richard Henderson <rth@redhat.com>
339
340 * concat.c: Include <sys/types.h>.
341
473c2d0b
LR
3422001-06-11 Loren J. Rittle <ljrittle@acm.org>
343
a4c03da2 344 bootstrap/3106
473c2d0b
LR
345 * strerror.c (sys_nerr): Hide the OS header version.
346 * strsignal.c (sys_nsig): Likewise.
347
0bdcca68
RH
3482001-06-10 Richard Henderson <rth@redhat.com>
349
350 * concat.c: Include string.h. Fix int vs size_t usage.
351 Simplify the iteration loops. Use memcpy.
352
6de133d3
MK
3532001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
354
355 * partition.c: Fix misspelling of `implementation'.
356
8a153288
TS
3572001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
358
359 * md5.c (md5_init_ctx): Declare constants as unsigned.
360 (md5_process_block): Likewise.
361
641b2721
ZW
3622001-05-07 Zack Weinberg <zackw@stanford.edu>
363
364 * cp-demangle.c (demangle_v3_with_details,
365 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
366 function definition.
367 * ternary.c: Use K+R style function definitions. Use PTR, not
368 void *. Make arguments constant where possible.
369
5cdba4ff
MM
3702001-05-07 Mark Mitchell <mark@codesourcery.com>
371
372 * splay-tree.h (splay_tree_max): New function.
373 (splay_tree_min): Likewise.
374
9dab060e
DB
3752001-04-15 Daniel Berlin <dan@cgsoftware.com>
376
377 * ternary.c: New file - Ternary search tree implementation.
378
379 * Makefile.in: Add ternary.o, and ternary.c dependencies.
380
d02af173
ZW
3812001-04-03 Zack Weinberg <zackw@stanford.edu>
382
383 * make-temp-file.c (try): Inline.
384
94b68558
RH
3852001-02-28 Richard Henderson <rth@redhat.com>
386
387 * Makefile.in (make-temp-file.o): Depend on config.h.
388
27f66c0b
KG
3892001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
390
391 * memchr.c (memchr): Adjust condition to avoid infinite loop.
392
f1a0345c
JJ
3932001-03-23 Jakub Jelinek <jakub@redhat.com>
394
395 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
396 `_' not followed by a digit is invalid.
397
a519fba6
JB
3982001-03-22 Jim Blandy <jimb@redhat.com>
399
400 * cp-demangle.c (string_list_delete): Use dyn_string_delete
401 instead of free, to free the contents as well as the string
402 structure.
403
49ee944b
ZW
4042001-03-21 Zack Weinberg <zackw@stanford.edu>
405
406 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
407 Don't default P_tmpdir to anything. Try /var/tmp before
408 /usr/tmp.
409
33437dc7
ZW
4102001-03-20 Zack Weinberg <zackw@stanford.edu>
411
412 * choose-temp.c: Split off make_temp_file, and the code
413 duplicated between it and choose_temp_base, into...
414 * make-temp-file.c: ... here; new file.
415
416 * Makefile.in (CFILES): Add make-temp-file.c.
417 (REQUIRED_OFILES): Add make-temp-file.o.
418
7dce2eff
JB
4192001-03-20 Jim Blandy <jimb@redhat.com>
420
421 * cp-demangle.c (struct demangling_def): New fields:
422 is_constructor and is_destructor.
423 (demangling_new): Initialize them.
424 (demangle_ctor_dtor_name): Set them, if we detect a constructor
425 or destructor.
426 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
427 is_gnu_v3_mangled_dtor): New functions.
428
e03a61f1
JM
4292001-03-20 Jason Merrill <jason@redhat.com>
430
431 * cplus-dem.c (main): Skip initial $.
432
8860ddab
MM
4332001-03-15 Michael Meissner <meissner@redhat.com>
434
435 * hashtab.c (higher_prime_number): Silence warning that 4294967291
436 might be a signed integer under pre-ISO C systems.
437
2b757d51
NB
4382001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
439 John David Anglin <dave@hiauly1.hia.nrc.ca>
440
441 * libiberty/lbasename.c: New file.
442 * libiberty/Makefile.in: Update for lbasename.
443
1f50aafb
ZW
4442001-03-06 Zack Weinberg <zackw@stanford.edu>
445
446 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
447 * configure.in: Replace all alloca logic with a simple use of
448 the above new macro.
449 * config.table: Kill *-*-beos* entry.
450 * config/mh-beos: Delete.
451 * configure, config.in: Regenerate.
452
453 * Makefile.in (ALLOCA, HFILES): Kill.
454 (REQUIRED_OFILES): Add alloca.o.
455 (alloca.o): Depend on libiberty.h.
456 (argv.o): Don't depend on alloca-conf.h.
457 * alloca-conf.h: Delete.
458 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
459 blocks. Provide the C alloca unconditionally. Use PTR where
460 appropriate. Make i00afunc static.
461 * argv.c: Don't include alloca-conf.h.
462
d9fd5aae
JDA
4632001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
464
465 * cplus-dem.c (main): Cast enum style to int.
466
4031ed65
LR
4672001-02-16 Loren J. Rittle <ljrittle@acm.org>
468
469 * cplus-dem.c (main): Initialize style.
470
2ca46e8a
PE
4712001-02-02 Phil Edwards <pme@sources.redhat.com>
472
473 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
474
3b60dd8e
BM
4752001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
476
477 Add support for Java demangling under the v3 ABI:
478 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
479 (struct demangling_def): Add `style' field.
480 (demangling_new): New parameter `style'. Set it in demangling_t.
481 (demangle_prefix): Use NAMESPACE_SEPARATOR.
482 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
483 (cp_demangle): New parameter `style'. Pass it to demangling_new().
484 (main): Call cp_demangle with extra parameter.
485 (java_demangle_v3): New function.
486 (java_builtin_type_names): New. Table of primitive type names used
487 for Java demangling.
488 (demangle_builtin_type): Look up in java_builtin_type_names if doing
489 Java output.
1f50aafb 490 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
491 demangling.
492 (long_options): Remove obsolete `java' option.
493 (main): Remove explicit handling of `java' option. Instead, pass style
494 parameter in cplus_demangle flags as gdb does.
495 * testsuite/demangle.expected: Add some Java test cases.
496
584932e9
DD
4972000-12-29 DJ Delorie <dj@redhat.com>
498
499 * fnmatch.c: Make the note about the origins of this file more
500 accurate, at least until we can sync with glibc.
501 * getopt.c: Ditto.
502 * getopt1.c: Ditto.
503 * md5.c: Ditto.
504 * obstack.c: Ditto.
505
dac45916
MS
5062000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
507
508 * bsearch.c: New file.
509 * configure.in (funcs): Add bsearch.
510 (AC_CHECK_FUNCS): Likewise.
511 * configure, config.in: Regenerate.
512
a8e4a997
MS
5132000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
514
515 * safe-ctype.c: #include "ansidecl.h".
516 * strtod.c: Likewise.
517
75444da7
MS
5182000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
519
520 * strtoul.c: Include safe-ctype.h, not ctype.h.
521
f6bbde28
ZW
5222000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
523
524 * safe-ctype.c: New file.
525 * Makefile.in (CFILES): Add safe-ctype.c.
526 (REQUIRED_OFILES): Add safe-ctype.o.
527
528 * argv.c: Define ISBLANK and use it, not isspace.
529 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
530 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
531 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
532 before calling TOLOWER(c)/TOUPPER(c).
533
6c1ce62b 5342000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
535
536 * Makefile.in (distclean): When cleaning, remove testsuite.
537
b5d1497d
JM
5382000-12-05 Jason Merrill <jason@redhat.com>
539
540 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
541 name before allocating the dyn_string.
542
c6e13630
JM
5432000-12-04 Jason Merrill <jason@redhat.com>
544
545 * cp-demangle.c: s/new_abi/v3/.
546 * cplus-dem.c: Likewise.
547 (current_demangling_style): Now auto_demangling.
548 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 549 (main): Use standard symbol chars for auto_demangling.
c6e13630 550
a4c9b97e
MM
5512000-11-26 Mark Mitchell <mark@codesourcery.com>
552
553 * hashtab.c (higher_prime_number): Use a table, rather than a
554 seive, to find the next prime.
555
3b3bd9a7
L
5562000-11-22 H.J. Lu <hjl@gnu.org>
557
558 * cplus-dem.c (main): Handle gnat_demangling.
559
d1209685
ZW
5602000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
561
562 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
563 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
564 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
565 argument form of AC_DEFINE in dummy definitions block. Use
566 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
567 in dummy block. Preload cache variables instead of bypassing
568 tests, where possible.
569 * acconfig.h: Removed.
570
571 * xmalloc.c (xmalloc_failed): New function, does error
572 reporting on failed allocation.
573 (xmalloc, xcalloc, xrealloc): Use it.
574
cf183ac2
HPN
5752000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
576
577 * cplus-dem.c (cplus_demangle): Fix formatting.
578 (grow_vect): Ditto.
579 (ada_demangle): Ditto.
580 (internal_cplus_demangle): Ditto.
581 (mop_up): Ditto.
582
5832000-11-21 H.J. Lu <hjl@gnu.org>
584
585 * cplus-dem.c (main): Handle java_demangling.
586
8bcc782c
KG
5872000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
588
589 * cplus-dem.c (grow_vect): Prototype.
590 (ada_demangle): Cast the arg of ctype macros to unsigned char.
591
29120f44
HPN
5922000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
593
594 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
595 parameter `option'.
596
0437a5a8
KB
5972000-11-15 Kenneth Block <kenneth.block@compaq.com>
598
9e038f71 599 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
600 be used in GCC.
601
eab0c1ab 6022000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 603
29120f44 604 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
605 list.
606
d50d20ec
HPN
6072000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
608
609 * hashtab.c (htab_expand): Change to return int. Use calloc or
c4b9cfe0
AJ
610 xcalloc depending on htab->return_allocation_failure. Return zero
611 if calloc fails.
d50d20ec
HPN
612 (htab_create): Update comment to cover memory allocation.
613 (htab_try_create): New.
614 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
c4b9cfe0 615 Update comment to cover this.
d50d20ec 616
35e9340f
HPN
6172000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
618
619 * hashtab.c: Change void * to PTR where necessary.
620 (htab_create, htab_expand): Correct formatting of comment before
621 function.
622
ea343d1a 6232000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
624
625 * cp-demangle.c (string_list_def): Add caret_position and comments.
626 (result_caret_pos): New macro.
627 (result_append_string): Rename to...
628 (result_add_string): ... this, and insert at caret position.
d1209685 629 Rename throughout.
0870bfd6
AS
630 (result_append): Rename to...
631 (result_add): ... this, and insert at caret position. Rename
d1209685 632 throughout.
0870bfd6
AS
633 (result_append_char): Rename to...
634 (result_add_char): ... this, and insert at caret position. Rename
d1209685 635 throughout.
0870bfd6
AS
636 (result_append_space): Remove.
637 (string_list_new): Initialize caret position.
638 (result_add_separated_char): Use caret position.
639 (result_get_caret): New funtion.
640 (result_set_caret): Likewise.
641 (result_shift_caret): Likewise.
642 (result_previous_char_is_space): Likewise.
643 (substitution_start): Use caret position.
644 (substitution_add): Likewise.
645 (demangling_new): Initialize caret position.
646 (demangle_encoding): Use caret position.
d1209685 647 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
648 (demangle_type_ptr): Use switch statement. Handle pointers to
649 arrays. Don't use result_append_space. Use caret position.
650 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
651 call to demangle_array_type.
652 (demangle_array_type): Add parameter to handle pointers to arrays.
653
f15b9af9
MM
6542000-10-01 Mark Mitchell <mark@codesourcery.com>
655
656 * splay-tree.c (splay_tree_insert): Fix formatting.
657
8f17b5c5
MM
6582000-09-16 Mark Mitchell <mark@codesourcery.com>
659
660 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
661
4eaa189a
MS
6622000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
663
664 * splay-tree.c: #include <stdio.h>.
665
29791078
HPN
6662000-09-14 Hans-Peter Nilsson <hp@axis.com>
667
668 * testsuite/demangle-expected: Add two tests for anonymous
669 namespaces.
670 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
671
2c9f4db7
MM
6722000-09-10 Mark Mitchell <mark@codesourcery.com>
673
674 * splay-tree.c (splay_tree_predecessor): New function.
675 (splay_tree_successor): Likewise.
676
bb22da4b
HPN
6772000-09-10 Hans-Peter Nilsson <hp@axis.com>
678
679 * testsuite/demangle-expected: Add four tests for type_info
680 mangling.
bb22da4b
HPN
681 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
682 for a non-template non-qualified type_info function or node.
683
759e8187
AS
6842000-09-08 Alex Samuel <samuel@codesourcery.com>
685
686 * cp-demangle.c: Fix copyright banner.
687
2ecd81ef
MS
6882000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
689
690 * md5.c: #include "ansidecl.h".
691
d93998ec
AS
6922000-09-06 Alex Samuel <samuel@codesourcery.com>
693
694 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
695 (demangle_type): Handle substitution candidates correctly in the
696 face of special substitutions.
697
1056d228
AS
6982000-09-05 Alex Samuel <samuel@codesourcery.com>
699
700 * cp-demangle.c (demangle_encoding): Rename variable.
701 (demangle_name): Rename parameter. Handle return type
702 suppression.
703 (demangle_nested_name): Rename parameter.
704 (demangle_prefix): Likewise. Change return type suppression.
705 (demangle_unqualified_name): Add parameter. Flag constructors and
706 conversion operators.
707 (demangle_special_name): Fix comment.
708 (demangle_type): Rename variable.
709 (demangle_bare_function_type): Check for missing return type and
d1209685 710 parameter.
1056d228
AS
711 (demangle_class_enum_type): Rename parameter.
712 (demangle_discriminator): Fix misspelling in comment.
713
2f31ed7e
DD
7142000-08-31 DJ Delorie <dj@redhat.com>
715
716 * configure.in (Cygwin): special case cygwin only when we're
717 building cygwin, not when we're hosting cygwin.
718
02bcb9c6
AS
7192000-09-04 Alex Samuel <samuel@codesourcery.com>
720
721 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
722 <expression>.
723
aee749cf
AS
7242000-09-04 Alex Samuel <samuel@codesourcery.com>
725
726 * cp-demangle.c (demangle_type_ptr): Increment position past
727 pointer and reference characters.
728
92a16bbe
AS
7292000-09-04 Alex Samuel <samuel@codesourcery.com>
730
731 * cp-demangle.c (demangle_nv_offset): New function.
732 (demangle_v_offset): Likewise.
733 (demangle_call_offset): Likewise.
734 (demangle_special_name): Update thunk demangling to comply with
735 ABI changes.
d1209685 736
31e0ab1f
AS
7372000-09-03 Alex Samuel <samuel@codesourcery.com>
738
739 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
740 (substitution_def): Remove template_parm_number.
741 (NOT_TEMPLATE_PARM): Remove.
742 (result_insert_string): New macro.
743 (result_insert): Likewise.
744 (result_insert_char): Likewise.
745 (substitution_add): Remove last parameter. Don't store template
d1209685 746 parm number.
31e0ab1f
AS
747 (BFT_NO_RETURN_TYPE): Define as NULL.
748 (demangle_encoding): Adjust call to demangle_bare_function_type.
749 (demangle_name): Adjust substitution. Adjust call to
d1209685 750 substitution_add.
31e0ab1f
AS
751 (demangle_prefix): Adjust call to substitution_add.
752 (demangle_identifier): Handle anonymous namespaces.
753 (demangle_operator_name): Change demangling of vendor-extended
754 operator to match ABI changes.
755 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 756 substitutions here.
31e0ab1f
AS
757 (demangle_type): Adjust calls to demangle_template_param,
758 substitution_add, and demangle_type_ptr. Fix substitution of
759 templated types.
760 (demangle_function_type): Change parameter to a pointer.
761 (demangle_bare_function_type): Likewise. Adjust insertion point.
762 (demangle_template_param): Remove last parameter.
763 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 764 demangle_template_param.
31e0ab1f
AS
765 (is_mangled_char): Accept `$' and `.'.
766 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
767 * dyn-string.c (dyn_string_insert_char): New function.
768
ccbc3eb7
HPN
7692000-08-31 Hans-Peter Nilsson <hp@axis.com>
770
771 * testsuite/demangle-expected: Add nine tests for
772 underscore-after-number followed by five tests for name-signature
773 delimiter.
774
53dce582
RH
7752000-08-28 Richard Henderson <rth@cygnus.com>
776
777 * Makefile.in (md5.o): Depend on config.h.
778
881c6935
JM
7792000-08-28 Jason Merrill <jason@redhat.com>
780
781 * Makefile.in (REQUIRED_OFILES): Add md5.o.
782 (CFILES): Add md5.c.
783 * md5.c: New file.
784
a440fd19
AS
7852000-08-27 Alex Samuel <samuel@codesourcery.com>
786
787 * cp-demangle.c (demangle_name): Initialize template_p in local
788 name case. Don't re-add substitutions as candidates.
789 (demangle_nested_name): Use <unqualified-name>.
790 (demangle_prefix): Likewise. Don't add template names as
791 substitution candidates twice, or re-add a substitution or the
792 last prefix component.
793 (demangle_local_name): Adjust output format.
794
d01ce591
AS
7952000-08-25 Alex Samuel <samuel@codesourcery.com>
796
797 * cp-demangle.c (result_add_separated_char): Change parameter to
798 int.
799 (substitution_add): Don't check for duplicates. Check if
800 previously allocated size is zero.
801 (demangle_name): Remove duplicate check for std substitution.
802 Clear template flag appropriately.
803 (demangle_prefix): Remove argument to demangle_substitution.
804 Don't check that template flag is already set.
805 (demangle_operator_name): Add pt operator.
806 (demangle_type): Don't treat r as built-in type. Remove argument
807 to demangle_substitution. Fix substitution candidate mechanics.
808 Handle <template-template-parm>s. Improve comments.
d1209685 809 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
810 (demangle_substitution): Remove parameter.
811 (print_usage): Remove extra fprintf option.
812
2f59c8eb
GM
8132000-08-24 Greg McGary <greg@mcgary.org>
814
815 * libiberty/random.c (end_ptr): Revert previous change.
816
2f26c11d
GM
8172000-08-24 Greg McGary <greg@mcgary.org>
818
819 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
820 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
821 * libiberty/random.c (end_ptr): Likewise.
822
e282c9c9
AS
8232000-08-23 Alex Samuel <samuel@codesourcery.com>
824
825 * cp-demangle.c (result_close_template_list): Remove function.
826 (result_add_separated_char): New function.
827 (result_open_template_list): New macro.
828 (result_close_template_list): Likewise.
829 (demangle_prefix): Don't set template_p if the
830 prefix ends with a ctor name.
831 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
832 (demangle_type): Check for template args after substitution.
833 (demangle_template_args): Use result_open_template_list.
d1209685 834
c9b6494a
ZW
8352000-08-02 Zack Weinberg <zack@wolery.cumb.org>
836
837 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
838
d1209685 8392000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
840
841 * config/mh-openedition.h: Added -DLE370 definition.
842
0aab2795
ME
8432000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
844
845 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
846 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
847 Cast program to 'char *' in errmsg_arg assignment.
848 (PWAIT_ERROR): Define.
849 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
850 to DJGPP's WIF* macros.
851
c2f275e4
RB
8522000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
853 Jeff Law <law@cygnus.com>
854
73aa9564
RB
855 * getcwd.c: Include string.h, stdlib.h for prototypes
856
c2f275e4 857 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
858 * rename.c: Include config.h, unistd.h
859 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 860
ccbc3eb7
HPN
8612000-07-24 Hans-Peter Nilsson <hp@axis.com>
862
863 * cplus-dem.c (work_stuff_copy_to_from): New.
864 (delete_non_B_K_work_stuff): New.
865 (delete_work_stuff): New.
866 (mop_up): Break out work_stuff partly destruction to
867 delete_non_B_K_work_stuff.
868 (iterate_demangle_function): New.
869 (demangle_prefix): Call iterate_demangle_function instead of
870 demangle_function_name. Leave handling of name-signature
871 __-delimiters to iterate_demangle_function.
872 (demangle_integral_value): Strip an optional
873 following underscore cautiously. Handle negative numbers.
874
3388651c
DB
8752000-07-24 Daniel Berlin <dberlin@redhat.com>
876
d1209685 877 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
878 if (AUTO_DEMANGLING || GNU_DEMANGLING)
879
0fac482e
AS
8802000-07-21 Alex Samuel <samuel@codesourcery.com>
881
882 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
883 allocating ctor mangling.
884 (demangle_array_type): Handle empty and non-constant array length.
885
8502a100 8862000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
887 Jeff Law <law@cygnus.com>
888
c6451ce1
MS
889 * configure.in (AC_CHECK_HEADERS): Add time.h.
890 (AC_HEADER_TIME): Add check.
891 * configure, config.in: Regenerate.
892 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
893
cd447360
MS
894 * configure.in (AC_CHECK_HEADERS): Add limits.h.
895 * configure, config.in: Regenerate.
896 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
897 * strtol.c, strtoul.c: #include "config.h". Portably #include
898 <limits.h> and/or <sys/param.h>.
899 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 900
3b58c099
MS
901 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
902 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
903 * configure, config.in: Regenerate.
904 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
905
8502a100
MS
906 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
907
da0c7743
MS
9082000-07-21 Mike Stump <mrs@wrs.com>
909
910 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 911 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 912
838f8562
KG
9132000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
914
915 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
916
917 * setenv.c (setenv): Initialize variable `ep'.
918
919 * sigsetmask.c (abort): Prototype.
920
921 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
922 __STDC__ for stdarg.h include.
923 (int_vasprintf): Prototype.
924 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
925 definition. Cast `global_total_width' in comparison.
926 (main): Prototype. Return a value.
927
928 * vfork.c (fork): Prototype.
929
930 * xexit.c: Include config.h.
931
e9958132
JM
9322000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
933
934 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
935 and print it with %u.
936
39a6492f
HPN
9372000-07-17 Hans-Peter Nilsson <hp@axis.com>
938
939 * testsuite/regress-demangle (failed test): Show result and
940 expected output.
941
6d0be369
AH
9422000-07-07 Andrew Haley <aph@cygnus.com>
943
944 * cplus-dem.c (main): fflush() after emitting last char before
945 waiting for input.
946
bece74bd
AS
9472000-06-28 Alex Samuel <samuel@codesourcery.com>
948
949 * cp-demangle.c (demangle_encoding): Accept no substitutions.
950 (demangle_name): Handle <substitution> followed by
951 <unqualified-template-name>.
952 (demangle_type): Follow special substitutions with
953 <class-enum-type>
954 (demangle_subtitution): Set template_p for special substitutions.
955 (main): Fix typos.
d1209685 956
229b8ec7
AS
9572000-06-27 Alex Samuel <samuel@codesourcery.com>
958
959 * cp-demangle.c (demangle_special_name): Swap base and derived
960 class when demangling construction vtables.
961
051664b0
AS
9622000-06-21 Alex Samuel <samuel@codesourcery.com>
963
964 * cp-demangle.c: Don't include ctype.h.
965 (IS_DIGIT): New macro.
966 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
967 instead of isdigit and isalpanum.
968 (demangling_def): Make name and next const pointers.
969 (STATUS_ALLOCATION_FAILED): New status code.
970 (dyn_string_append_space): Handle failure in
971 dyn_string_append_char.
972 (int_to_dyn_string): Likewise. Change return value to status_t.
973 (string_list_new): Handle failure of dyn_string_init.
974 (result_close_template_list): Change return type to status_t.
975 Handle failure in dyn_string_append.
976 (result_push): Change return value to status_t. Handle failure in
977 string_list_new. Handle failure of result_push throughout.
978 (substitution_add): Change return value to status_t. Handle
979 dyn_string failures. Handle failure of substitution_add
980 throughout.
981 (template_arg_list_new): Return NULL on allocation failure.
982 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
983 Handle error result throughout.
984 (result_append): Likewise.
985 (result_append_char): Likewise.
986 (result_append_space): Likewise.
987 (demangling_new): Make argument a const pointer. Handle
988 allocation failures.
989 (demangle_template_args): Handle failure in template_arg_list_new
990 and result_close_template_list.
991 (demangle_discriminator): Return if int_to_dyn_string fails.
992 (cp_demangle): Likewise.
993 (cp_demangle_type): New function.
994 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
995 memory allocation failure.
996 (main): Likewise.
997 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
998 IN_LIBGCC2.
999 (dyn_string_init): Change return value to int. Handle
1000 RETURN_ON_ALLOCATION_FAILURE case.
1001 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1002 (dyn_string_release): Delete the dyn_string.
1003 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1004 (dyn_string_copy): Change return type to int.
1005 (dyn_string_copy_cstr): Likewise.
1006 (dyn_string_prepend): Likewise.
1007 (dyn_string_prepend_cstr): Likewise.
1008 (dyn_string_insert): Likewise.
1009 (dyn_string_insert_cstr): Likewise.
1010 (dyn_string_append): Likewise.
1011 (dyn_string_append_cstr): Likewise.
1012 (dyn_string_append_char): Likewise.
1013 (dyn_string_substring): Likewise.
d1209685 1014
fe06b696
ZW
10152000-06-09 Zack Weinberg <zack@wolery.cumb.org>
1016
1017 * cp-demangle.c (demangle_operator_name): Add spaces before
1018 names beginning with a letter: delete, delete[], new, new[],
1019 sizeof.
1020 (demangle_special_name): Handle TF <type> and TJ <type>.
1021
6223e158
PDM
1022Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1023
1024 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1025
48f3e29b
PDM
1026Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1027
1028 * cp-demangle.c (stdio.h): File included unconditionaly.
1029 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1030 * dyn-string.c (stdio.h): File included.
1031 * partition.c (partition_print): No `&' needed to take the address of
1032 a function.
1033
69197e7e
KG
10342000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1035
1036 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 1037
69197e7e
KG
1038 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1039
1040 * cp-demangle.c (demangle_char): Change parameter from char to int.
1041 (demangle_expression, demangle_expr_primary): Remove extra
1042 semi-colon in prototype.
1043
1044 * dyn-string.c (dyn_string_append_char): Change parameter from
1045 char to int.
1046
1047 * memcmp.c (memcmp): Constify.
1048
1049 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1050 __extension__.
1051
1052 * partition.c (elem_compare): Prototype. Don't cast away
1053 const-ness.
1054
1055 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 1056
7eb23b1f
KG
10572000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1058
1059 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1060
1061 * cp-demangle.c: Include demangle.h.
1062 (template_arg_list_new): DeANSIfy.
1063 (cp_demangle): Make static and add prototype.
1064 (operator_code, operators): Constify.
1065 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1066
3faa108c
AS
10672000-06-05 Alex Samuel <samuel@codesourcery.com>
1068
1069 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1070 unsigned char.
1071 (demangle_unqualified_name): Likewise.
1072 (demangle_number_literally): Likewise.
1073 (demangle_type): Likewise.
1074 (demangle_substitution): Likewise.
1075 (is_mangled_char): Likewise, for isalnum.
1076
69afa80d
AS
10772000-06-04 Alex Samuel <samuel@codesourcery.com>
1078
1079 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1080 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1081 (cp-demangle.o): New dependency.
1082 (dyn-string.o): Likewise.
1083
1084 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1085
1086 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1087 demangler.
1088 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1089 demangling mode.
1090 (gnu_new_abi_symbol_characters): New function.
1091 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1092 file.
1093 * cp-demangle.c: New file.
d1209685 1094
0b72c3df
AC
1095Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1096
1097 * floatformat.c: Add name to each floatformat field.
1098
270cea06
JL
1099Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1100
1101 * Makefile.in (objalloc.o): Depend on config.h
1102
d11ec6f0
ZW
11032000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1104
1105 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
1106 if HAVE_STRING_H.
1107 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1108 * objalloc.c: Include config.h. Include stdlib.h and don't
1109 declare malloc or free if HAVE_STDLIB_H.
1110 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1111 else declare malloc without prototype. Include string.h if
1112 HAVE_STRING_H, else declare memset without prototype. Don't
1113 include stddef.h.
1114
f8e2da56
MS
11152000-05-23 Mike Stump <mrs@wrs.com>
1116
1117 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
c4b9cfe0 1118 -j3.
f8e2da56 1119
650f3068
DA
11202000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1121
1122 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1123
1d2da2e1
HB
11242000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1125
d1209685 1126 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
1127 probably zero, also eliminate a warning on alpha.
1128
47668d0a
DE
11292000-05-15 David Edelsohn <edelsohn@gnu.org>
1130
c7a79a32 1131 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
1132 on $(enable_shared).
1133
36348eab
JJ
11342000-05-10 Jakub Jelinek <jakub@redhat.com>
1135
1136 * config.table: Use mh-sparcpic for sparc*-*-*.
1137
209bbe34
NC
11382000-05-08 Nick Clifton <nickc@cygnus.com>
1139
1140 * Makefile.in (CFILES): Add strncmp.c.
1141 (NEEDED): Add strncmp.
1142
a85a47fb
KG
11432000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1144
1145 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1146 Cast the arguments to `islower' to `unsigned char'.
1147 (print_demangler_list): Prototype.
1148
4aef973c
PDM
1149Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1150
1151 * sort.c (UCHAR_MAX): Provide fallback definition.
1152
3b94497c
AO
11532000-04-29 Alexandre Oliva <aoliva@cygnus.com>
1154
1155 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1156 SUBDIRS.
1157
24eaa47a
KB
11582000-04-28 Kenneth Block <block@zk3.dec.com>
1159 Jason Merrill <jason@casey.cygnus.com>
1160
d1209685
ZW
1161 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1162 (cplus_demangle_set_style): New function for setting style.
1163 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 1164
a9266bfa
KG
11652000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1166
1167 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1168
1169 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1170 (libiberty_AC_FUNC_STRNCMP): Invoke.
1171
1172 * strncmp.c: New file.
1173
8e02c4d0
JH
1174Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1175
1176 * hashtab.c (htab_expand): Add prototype.
1177 (find_empty_slot_for_expand): Likewise.
1178
4feeaae3
KG
11792000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1180
1181 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1182 match prototype.
1183 (htab_expand): Cast the return value of xcalloc.
1184
18a94a2f
MM
11852000-04-24 Mark Mitchell <mark@codesourcery.com>
1186
1187 * hashtab.c (hash_pointer): New function.
1188 (eq_pointer): Likewise.
1189 (htab_hash_pointer): New variable.
1190 (htab_eq_pointer): Likewise.
1191
eeb0656f
MM
11922000-04-23 Mark Mitchell <mark@codesourcery.com>
1193
b51024fc
MM
1194 * sort.c (sort_pointers): Fix endianness bugs.
1195
eeb0656f
MM
1196 * sort.c: New file.
1197 * Makefile.in (CFILES): Add sort.c
1198 (REQUIRED_OFILES): Add sort.o.
1199 (sort.o): New target.
1200
7277f72d
MS
12012000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1202
1203 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1204 4.3BSD systems.
1205
e38992e8
RK
1206Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1207
1208 * hashtab.c: Various minor cleanups.
1209 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1210 (htab_find_slot): Likewise.
1211
498e1ab1
DP
12122000-04-16 Dave Pitts <dpitts@cozx.com>
1213
1214 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 1215
dc17cc7b
RH
12162000-04-05 Richard Henderson <rth@cygnus.com>
1217
1218 * splay-tree.c (splay_tree_remove): New.
1219
b13eb66b
MM
12202000-03-30 Mark Mitchell <mark@codesourcery.com>
1221
1222 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1223 codes.
1224 (htab_find_with_hash): Likewise.
1225 (htab_find_slot_with_hash): Likewise.
d1209685 1226
0194e877
ZW
12272000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1228
1229 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1230 unless it will be used. Rearrange loop for better
1231 optimization.
1232 (higher_prime_number): Add static prototype.
1233
abc61fd4
JL
1234Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1235
1236 * Makefile.in (partition.o): Depend on config.h
1237
8c5d513f
BS
12382000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1239
1240 * hashtab.c (find_empty_slot_for_expand): New function.
1241 (htab_expand): Use it instead of htab_find_slot.
1242 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1243 argument HASH.
1244 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1245 (htab_find): New wrapper function.
1246 (htab_find_slot): Likewise.
1247 (htab_traverse): Pass slot, not entry, to called function.
1248
d9d4fb43
AS
12492000-03-09 Alex Samuel <samuel@codesourcery.com>
1250
1251 * Makefile.in (CFILES): Add partition.c.
1252 (REQUIRED_OFILES): Add partition.o.
1253 (partition.o): New rule.
1254 * partition.c: New file.
d1209685 1255
5dc9cffd
ZW
12562000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1257
1258 * hashtab.c (htab_create): Set del_f.
1259 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1260 Use it.
1261
5194cf08
ZW
12622000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1263
1264 * hashtab.c: Remove debugging variables (all_searches,
1265 all_collisions, all_expansions). Delete
1266 all_hash_table_collisions.
1267 (create_hash_table, delete_hash_table, empty_hash_table,
1268 find_hash_table_entry, remove_element_from_hash_table_entry,
1269 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1270 hash_table_elements_number, hash_table_collisions): Rename to:
1271 htab_create, htab_delete, htab_empty, htab_find_slot,
1272 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1273 htab_elements, htab_collisions.
1274 (htab_find): New function, handles common case where you don't
1275 plan to add or delete an entry.
1276 (htab_expand): Don't create a whole new table, just a new
1277 entry vector.
1278 (htab_find_slot): Simplify logic.
1279
5ad5a984
ILT
12801999-08-03 Ian Lance Taylor <ian@zembu.com>
1281
1282 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1283 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1284
1285 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1286 $(TARGETLIB)n so it works on MSDOS.
1287 (install_to_tooldir): Likewise.
1288
12891999-07-21 Ian Lance Taylor <ian@zembu.com>
1290
1291 From Mark Elbrecht:
1292 * makefile.dos: Remove; obsolete.
1293 * configure.bat: Remove; obsolete.
1294
12951999-07-11 Ian Lance Taylor <ian@zembu.com>
1296
1297 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1298 warning.
1299
aeecce42
MK
13002000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1301
1302 * pexecute.c: Conditionally include string.h.
5194cf08 1303 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 1304
1eaf7d9c
KG
13052000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1306
1307 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1308 we're using gcc.
1309
1310 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1311
0fadedb2
GK
13121999-12-27 Geoff Keating <geoffk@cygnus.com>
1313
1314 * vasprintf.c (int_vasprintf): Don't re-read the format character
1315 as this mishandles strings like '%%s'.
1316
08230f26
MM
13171999-12-05 Mark Mitchell <mark@codesourcery.com>
1318
1319 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1320 rather than struct splay_tree_node.
1321 (splay_tree_insert): Use struct splay_tree_s rather than struct
1322 splay_tree.
1323
6de9b8ff
PDM
1324Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1325
1326 * hashtab.c (sys/types.h): File included.
1327
f3636679
JM
13281999-11-22 Jason Merrill <jason@casey.cygnus.com>
1329
1330 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1331 BSD license, pursuant with
1332
1333 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1334
36dd3a44
JL
1335Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1336
1337 * hashtab.c: Include stdio.h.
1338
6e300472
JL
1339Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1340
1341 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1342
df548dfc
PDM
1343Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1344
1345 * xstrdup (sys/types.h): Include this file.
1346
2c375143
NS
13471999-10-28 Nathan Sidwell <nathan@acm.org>
1348
1349 * Makefile.in (SUBDIRS): New macro.
1350 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1351 avoid multiple subdirectory cleaning.
1352 (*-subdir): Use SUBDIRS.
1353
a82cecda
JK
13541999-10-25 Jim Kingdon <http://developer.redhat.com/>
1355
1356 * cplus-dem.c: Move declarations of standard_symbol_characters and
1357 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1358 warnings.
1359
ed38f5d5
ZW
13601999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1361
1362 * hashtab.c (find_hash_table_entry): When returning a
1363 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1364 (clear_hash_table_slot): New function which deletes an entry
1365 by its position in the table, not its value.
1366 (traverse_hash_table): New function which calls a hook
1367 function for every live entry in the table.
1368
b60fe4a7
MM
13691999-10-19 Mark Mitchell <mark@codesourcery.com>
1370
1371 * cplus-dem.c (INTBUF_SIZE): New macro.
1372 (string_append_template_idx): New function.
1373 (demangle_expression): Likewise.
1374 (demangle_integral_value): Use it.
1375 (demangle_real_value): New function, split out from ...
1376 (demangle_template_value_parm): ... here. Use
1377 string_append_template_idx. Use demangle_real_value.
1378 (demangle_template): Use string_append_template_idx.
1379 (demangle_qualified): Use consume_count_with_underscores.
1380 (get_count): Tweak formatting.
1381 (do_type): Use string_append_template_idx.
5194cf08 1382
3da5522a
KG
13831999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1384
1385 * calloc.c: Add a public domain notice.
1386
d7d36ea8
PDM
1387Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1388
1389 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1390
a2f945c6
VM
1391Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1392
1393 * Makefile.in (CFILES): Add hashtab.c
1394 (REQUIRED_OFILES): Add hashtab.o
1395 (hashtab.o): Add dependencies.
1396 * hashtab.c: New file
1397
7f22ec2e
MK
1398Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1399
1400 * basename.c (DIR_SEPARATOR): New macro.
1401 (DIR_SEPARATOR_2): Likewise.
1402 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1403 (IS_DIR_SEPARATOR): Likewise.
1404 (main): Handle MSDOS style pathname.
1405
7c56a6ce
MM
14061999-10-11 Mark Mitchell <mark@codesourcery.com>
1407
1408 * cplus-dem.c (do_type): Handle pointer to member types whose
1409 enclosing classes have namespace scope.
1410
cd32188b
ME
1411Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1412
1413 * config.table: Provide a backup shell for executing move-if-change.
1414
fc232f7a
MM
14151999-10-02 Mark Mitchell <mark@codesourcery.com>
1416
1417 * xmalloc.c (xmalloc): Fix spelling error.
1418 (xcalloc, xrealloc): Likewise.
1419
2a138827
KG
14201999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1421
1422 * cplus-dem.c (fancy_abort, demangle_integral_value,
1423 demangle_arm_hp_template, recursively_demangle,
1424 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1425 (program_name, program_version, fatal): Constify a char*.
1426 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1427 (main): Call return, not exit.
1428
5a657fc3
KG
14291999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1430
1431 * choose-temp.c: Remove obsolete comment about gcc.
1432 (make_temp_file): Constify a char*.
1433
33c5ddcd
KG
1434Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1435
1436 * xmemdup.c: Include sys/types.h.
1437
b10647f1
JG
14381999-09-07 Jeff Garzik <jgarzik@pobox.com>
1439
1440 * xmemdup.c: New xmemdup function.
1441 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1442
3dd6c3af
LV
1443Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1444
5194cf08 1445 * config.table: Add openedition target.
3dd6c3af
LV
1446 * config/mh-openedition: New file.
1447
19e28e2a
ME
1448Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1449
1450 * pexecute.c (pexecute): Fill in temp_base when needed.
1451
4dfeccf9
RH
14521999-08-31 Richard Henderson <rth@cygnus.com>
1453
1454 * getpwd.c: Check HAVE_GETCWD before defining it away.
1455
4ac3cb83
KG
14561999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1457
1458 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1459 (REQUIRED_OFILES): Add getpwd.o.
1460 (getpwd.o): Add target.
1461
1462 * configure.in (AC_PREREQ): Bump to 2.13.
1463 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1464
1465 * getpwd.c: New file, moved here from gcc.
1466
e797ff70
KG
14671999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1468
1469 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1470 comparing against a signed quantity.
1471 (arm_special): Likewise.
1472 (demangle_fund_type): Likewise.
1473 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 1474 ATTRIBUTE_UNUSED.
e797ff70
KG
1475 (main): Constify variable `valid_symbols'.
1476
55247fce
PDM
1477Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1478
1479 * strtoul.c (strtoul): Add parentheses around && within ||.
1480
76632dd0
DJ
1481Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1482
1483 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1484 libdir, libsubdir and tooldir.
1485
d080bbfa
MM
14861999-08-01 Mark Mitchell <mark@codesourcery.com>
1487
1488 * splay-tree.c (splay_tree_insert): Return the new node.
1489
a81c752a
RH
14901999-07-14 Richard Henderson <rth@cygnus.com>
1491
5194cf08 1492 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
1493 prototyping directly.
1494 * choose-temp.c: Conditionally include string.h.
1495
8f1824d9
JM
14961999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1497
1498 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1499
652374d3
ILT
15001999-07-11 Ian Lance Taylor <ian@zembu.com>
1501
1502 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1503 warning.
1504
a4494286
JM
15051999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1506
1507 * Makefile.in (needed-list): Only include stuff we actually need
1508 for libstdc++.
1509
90e72e20
AS
15101999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1511
1512 * configure.in (checkfuncs): Add gettimeofday.
1513 * config.in, configure: Regenerated.
1514
b569200e
MK
1515Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1516
1517 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1518 the test fails.
1519 * configure: Regenerate.
1520
73919448
MS
15211999-06-10 Mike Stump <mrs@wrs.com>
1522
1523 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1524 parallel builds.
1525
fee9125c
KG
15261999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1527
1528 * putenv.c: Include ansidecl.h to define `const'.
1529 * setenv.c: Likewise.
1530
71cce721
MN
1531Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1532
a7c9637f
JL
1533 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1534 * configure.in (funcs): Add putenv and setenv.
1535 (AC_CHECK_FUNCS): Check for putenv and setenv.
1536 * configure: Rebuilt.
1537 * putenv.c setenv.c: New files.
1538
71cce721
MN
1539 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1540 bytes of space using malloc.
1541
53504016
SG
1542Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1543
1544 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1545 the *mangled pointer beyond the end of the string. Clean up code to
1546 match prevailing coding style.
1547
34842539
MH
15481999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1549
1550 * tmpnam.c (L_tmpnam): Fix typo.
1551
3a08531d
ME
1552Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1553
1554 * cplus-dem.c (standard_symbol_characters): Renamed from
1555 standard_symbol_alphabet. No longer modify TABLE.
1556 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1557 modify TABLE.
1558 (main): Corresponding changes. Use strchr to determine if a
1559 character is valid.
1560
8db9d08b
JB
15611999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1562
1563 * cplus-dem.c (main): Use table lookup to distinguish identifier
1564 characters from non-identifier characters.
1565 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1566
6a071f4a
FF
1567Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1568
1569 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1570 * getruntime.c: Only attempt to include sys/resource.h and
1571 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1572 are defined.
1573
7dd88617
DT
1574Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1575
1576 * configure.in (alloca detection): Handle alloca directly for interix.
1577 * configure: Rebuilt.
1578
7a1528bc
MK
1579Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1580
1581 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1582
76409268
JB
15831999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1584
1585 Fix from Dale Hawkins:
5194cf08 1586 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
1587 reallocated properly if we use it again.
1588
1589 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1590 stricter about syntax. Always null-terminate string.
1591
acbbd80a
MK
1592Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1593
1594 * configure.in (checkfuncs): Check for sbrk.
1595 * config.in: Rebuilt.
1596 * configure: Likewise.
1597 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1598
92523551
JB
15991999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1600
1601 Fix from Marcus Daniels:
1602 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1603 identifier looking for another underscore.
1604
36eb4217
MK
1605Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1606
1607 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1608 * xmalloc.c: Likewise.
1609 (xcalloc): UWIN has sbrk.
1610 (xrealloc): Fix guard macro.
1611
2c45d1a0
RH
16121999-04-11 Richard Henderson <rth@cygnus.com>
1613
1614 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1615 or <alloca.h>.
1616 * clock.c (GNU_HZ): New definition.
1617 (clock): Use it.
1618 * getruntime.c: Likewise.
1619
1620 * config.table: Use mh-beos.
1621 * config/mh-beos: New file.
1622
391cdef0
MM
16231999-04-11 Mark Mitchell <mark@codesourcery.com>
1624
1625 * cplus-dem.c (demangle_template_value_parm): Handle
1626 pointers-to-members.
1627 (do_type): Handle template parameters as qualifiers.
1628
9d229989
JB
16291999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1630
1631 * cplus-dem.c: Attempt to handle overflows in counts with some
1632 semblance of grace.
1633 (consume_count): Detect overflows. Return -1 to indicate errors,
1634 instead of zero.
1635 (demangle_template_value_parm, demangle_template): Handle change
1636 to consume_count's return convention.
1637
7c72138a
TT
16381999-04-05 Tom Tromey <tromey@cygnus.com>
1639
1640 * testsuite/regress-demangle: New file.
1641 * testsuite/demangle-expected: New file.
1642
1643 * Makefile.in (all, check, installcheck, info, install-info,
1644 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1645 distclean, maintainer-clean, realclean): Depend on corresponding
1646 `-subdir' target.
1647 (all-subdir check-subdir installcheck-subdir info-subdir
1648 install-info-subdir clean-info-subdir dvi-subdir
1649 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1650 distclean-subdir maintainer-clean-subdir): New target.
1651 * testsuite/Makefile.in: New file.
1652 * configure: Rebuilt.
1653 * configure.in: Create testsuite/Makefile.
1654
ae7f7270
MM
16551999-04-02 Mark Mitchell <mark@codesourcery.com>
1656
1657 * splay-tree.h (splay_tree_compare_pointers): Define.
1658
30f72379
MM
16591999-03-30 Mark Mitchell <mark@codesourcery.com>
1660
1661 * splay-tree.c (splay_tree_compare_ints): Define.
1662
4cc48683
TT
16631999-03-30 Tom Tromey <tromey@cygnus.com>
1664
1665 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1666 don't advance input pointer.
1667 (demangle_class_name): If consume_count didn't find a count, do
1668 nothing. Don't bother with `strlen' sanity check; consume_count
1669 does it for us.
1670
3510075c
JL
16711999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1672
1673 From Art Haas <ahaas@neosoft.com>:
1674 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1675 when doing arm or hp style.
1676 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 1677
89f602a7
MK
1678Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1679
1680 * pexecute.c (__CYGWIN32__): Rename to
1681 (__CYGWIN__): this.
1682 * xmalloc.c: Likewise.
1683
1684 Changes to support i386-pc-uwin.
1685 * configure.in (*-*-uwin*): Workaround for vfork bug.
1686 * configure: Regenerate.
1687 * pexecute.c (pexecute): Be like standard Unix.
1688 (pwait): Likewise.
1689 * xmalloc.c (first_break): Define.
1690 (xmalloc_set_program_name): Use.
1691 (xmalloc): Use.
1692
9346c824
FS
1693Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1694
1695 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1696
3510075c
JL
1697Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1698
1699 * config.table: Check cygwin*, not cygwin32*.
1700
8ec65f13
DB
1701Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1702
1703 * Makefile.in: Change mkstemp -> mkstemps.
1704
687361c8
ME
1705Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1706
1707 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1708 * configure.in (funcs): Check for and conditionally add mkstemps to
1709 the list of functions libiberty will provide.
1710 * configure: Rebuilt.
5194cf08 1711
b207e09c
MK
1712Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1713
5194cf08 1714 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
1715 platforms that don't have HZ.
1716 * getruntime.c (HZ): Likewise.
1717
16b4c15e
RH
1718Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1719
1720 * Makefile.in (xstrdup.o): Depend on config.h.
1721
38beb75c
UD
1722Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1723
1724 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1725 freeing it.
1726
7e4311a3
KG
1727Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1728
1729 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1730
3510075c
JL
1731Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1732
1733 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1734 splay-tree.o.
1735
17361999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1737
1738 * configure.in: Require autoconf 2.12.1 or higher.
1739
fb9939b8
MM
17401998-12-30 Michael Meissner <meissner@cygnus.com>
1741
1742 * random.c (NULL): Don't redefine NULL if it is already defined.
1743
087aa398
KG
1744Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1745
1746 * argv.c (buildargv): Cast the result of alloca in assignment.
1747
1748 * choose-temp.c: Include stdlib.h.
38beb75c 1749
087aa398 1750 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
c4b9cfe0
AJ
1751 (snarf_numeric_literal): Constify first parameter.
1752 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1753 int, not a char.
087aa398
KG
1754 (demangle_qualifier): Likewise.
1755 (demangle_signature): Cast the argument of a ctype function to
1756 unsigned char.
1757 (arm_pt): Add parens around assignment used as truth value.
1758 (demangle_arm_hp_template): Constify variable `args'.
1759 (do_hpacc_template_const_value): Cast the argument of a ctype
1760 function to unsigned char.
1761 (do_hpacc_template_literal): Remove unused variable `i'.
1762 (snarf_numeric_literal): Constify parameter `args'.
1763 Cast the argument of a ctype function to unsigned char.
1764
1765 * floatformat.c (floatformat_to_double): Add explicit braces to
c4b9cfe0 1766 avoid ambiguous `else'.
38beb75c 1767
087aa398 1768 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
c4b9cfe0
AJ
1769 `cstart' and `cend' to unsigned char. Cast the argument of macro
1770 `FOLD', which uses ctype functions, to unsigned char.
087aa398
KG
1771
1772 * objalloc.c (free): Add prototype.
1773
21f2174d
HPN
1774Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1775
1776 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1777
3510075c
JL
1778Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1779
1780 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
c4b9cfe0 1781 doesn't exist.
3510075c 1782 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 1783
e8fc8222
AM
1784Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1785
1786 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1787 bumping the pointer we read from. Also prepend these codes,
1788 as we do in other places.
1789
3510075c
JL
17901998-12-18 Nick Clifton <nickc@cygnus.com>
1791
1792 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1793 'const char *' in order to match its usage when calling siblings.
1794 (snarf_numeric_literal): Make first arg 'const char **' in order
1795 to match usage.
11a0bb74 1796
f4f30aa1
JL
1797Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1798
11a0bb74
KG
1799 * choose-temp.c: Don't check IN_GCC anymore.
1800
1801 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1802 * memchr.c (memchr): Likewise.
1803 * memcpy.c (memcpy): Likewise.
1804 * memmove.c (memmove): Likewise.
38beb75c 1805
11a0bb74
KG
1806 * mkstemp.c: Don't check IN_GCC anymore.
1807 * pexecute.c: Likewise.
1808 * splay-tree.c: Likewise.
38beb75c 1809
11a0bb74
KG
1810 * strchr.c (strchr): Use `const', not `CONST'.
1811 * strrchr.c (strrchr): Likewise.
1812 * strtol.c (strtol): Likewise.
1813 * strtoul.c (strtoul): Likewise.
1814
70d5ccef
DT
1815Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1816 Elena Zannoni <ezannoni@cygnus.com>
1817 Stan Shebs <shebs@cygnus.com>
1818 Edith Epstein <eepstein@cygnus.com>
1819 Andres MacLeod <amacleod@cygnus.com>
1820 Satish Pai <pai@apollo.hp.com>
1821
1822 * HP aCC demangling support.
1823 * cplus-dem.c
1824 (main): Remove default to HP style demangling, set to EDG
c4b9cfe0
AJ
1825 demangling correctly when -edg specified; set the demangling style
1826 when user specifies 'edg'. Set strip_underscore to
1827 prepends_underscore, if not HPUXHPPA. Set
1828 current_demangling_style to hp_demangling if HPUXHPPA. Set
1829 current demangling style correctly if the switch is hp. Read
1830 label correctly also in the HP style case.
70d5ccef 1831 (work_stuff): add temp_start field; add field for volatile member
c4b9cfe0 1832 function.
70d5ccef 1833 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
c4b9cfe0 1834 style for this case is the same as ARM.
70d5ccef
DT
1835 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1836 (demangle_arm_hp_template): new function. (It was
c4b9cfe0
AJ
1837 demangle_arm_pt.); check and set value of temp_start field in
1838 multiple places. Also, when ceching for end of template args,
1839 check to see if at end of static member of template class.
70d5ccef 1840 (demangle_class): new local variable : save_class_name_end Don't
c4b9cfe0 1841 include template args in string defining class.
70d5ccef
DT
1842 (demangle_class_name): use demangel_arm_hp_template.
1843 (demangle_function_name): handle case where demangling style is
c4b9cfe0
AJ
1844 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1845 Handle EDG_DEMANGLING style. Handle constructor and destructor
1846 ops for HP style.
70d5ccef 1847 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
c4b9cfe0
AJ
1848 styles. global destructor and constructor for HP style are same
1849 as for ARM style. Same for local variables.
70d5ccef
DT
1850 (demangle_qualified): handle EDG_DEMANGLING style.
1851 (demangle_signature): add case for volatile member function. For
c4b9cfe0
AJ
1852 cases '1' - '9' : initialize the temp_start field to -1 and handle
1853 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1854 and AUTO_DEMANGLING styles. If expecting a function and managed
1855 to demangle the funct args, then handle the LUCID_DEMANGLING,
1856 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1857 class name after "Lnnn_ in HP style case. HP style too needs to
1858 forget types. _nnn is OK for HP style, so don't report failure.
70d5ccef 1859 (do_hpacc_template_const_value): new function. Handle template's
c4b9cfe0 1860 value param for HP/aCC.
70d5ccef 1861 (do_hpacc_template_literal): new function. Handle a template's
c4b9cfe0 1862 literal parameter for HP aCC.
70d5ccef
DT
1863 (recursively_demangle): new function
1864 (snarf_numeric_literal): new function.
1865 (usage): add 'edg' to the list of demangling styles; add hp switch
c4b9cfe0 1866 to message.
70d5ccef 1867
8d525fa8
CF
1868Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1869
1870 * pexecute.c: Remove obsolete ifdefed cygwin code.
1871
9b1a92d8
KG
1872Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1873
1874 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1875 * cplus-dem.c: Likewise. Conform to libiberty.h.
1876 * pexecute.c: Likewise.
1877 * splay-tree.c: Likewise.
1878
c85c3232
MS
18791998-11-25 Mike Stump <mrs@wrs.com>
1880
1881 * Makefile.in (splay-tree.o): Add config.h dependency.
1882
35a6cd99
KG
1883Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1884
1885 * configure.in: Use AC_PREREQ(2.12.1).
1886
6e6e34b7
BK
18871998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1888
5194cf08 1889 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 1890
59b67c11
JL
1891Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1892
1893 * mpw.c (mpw_access): Add missing parens.
1894
a6458d1d
KG
1895Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1896
1897 * configure.in: Call AC_HEADER_SYS_WAIT.
1898
1899 * pexecute.c: Include sys/wait.h when !IN_GCC.
1900
3510075c
JL
1901Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1902
1903 * pexecute.c: revert back to checking old Cygwin
1904 preprocessor symbol until some time has passed.
1905
1906Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1907
1908 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1909 since it will now support similar constructs.
1910
a9acf741
KG
1911Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1912
1913 * configure.in: Check for calloc.
1914
1915 * calloc.c: New file.
1916
1917 * xmalloc.c (xcalloc): New function.
1918
a49fb37a
AM
1919Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1920
1921 *cplus-dem.c (demangle_prefix): Use the last "__"
1922 in the mangled name when looking for the signature. This allows
1923 template names to begin with "__".
1924
0e714131
MM
19251998-11-08 Mark Mitchell <mark@markmitchell.com>
1926
ec2288ff
MM
1927 * cplus-dem.c (type_kind_t): Add tk_reference.
1928 (demangle_template_value_parm): Handle it.
1929 (do_type): Use it for references, instead of tk_pointer.
1930
0e714131
MM
1931 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1932 not internal_cplus_demangle.
1933
2931b6d4
KG
1934Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1935
1936 * choose-temp.c: Don't include gansidecl.h.
1937 * mkstemp.c: Likewise.
1938 * pexecute.c: Likewise.
1939
dd8f3ed5
GN
1940Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1941
5194cf08
ZW
1942 * configure.in: detect cygwin* instead of cygwin32*
1943 * configure: regenerate
dd8f3ed5 1944
c5f7c445
KG
1945Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1946
1947 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
c4b9cfe0
AJ
1948 whether to include config.h. Possibly include unistd.h in the
1949 !IN_GCC case. Define VFORK_STRING as a printable function call
1950 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1951 defined, include vfork.h. If VMS is defined, define vfork()
1952 appropriately. Remove vfork check on USG, we're using autoconf.
1953 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1954 locally what string to use.
c5f7c445 1955
ad3ef78e
MM
19561998-10-26 Mark Mitchell <mark@markmitchell.com>
1957
1958 * splay-tree.c: Tweak include directives to make sure declarations of
1959 xmalloc and free are available.
1960
224301c1
MM
19611998-10-25 Mark Mitchell <mark@markmitchell.com>
1962
1963 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1964 anonymous namespaces.
38beb75c 1965
d9db46fd
MM
19661998-10-23 Mark Mitchell <mark@markmitchell.com>
1967
1968 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1969 with type_quals.
1970 (TYPE_UNQUALIFIED): New macro.
1971 (TYPE_QUAL_CONST): Likewise.
1972 (TYPE_QUAL_VOLATILE): Likewise.
1973 (TYPE_QUAL_RESTRICT): Likewise.
1974 (code_for_qualifier): New function.
1975 (qualifier_string): Likewise.
1976 (demangle_qualifier): Likewise.
1977 (internal_cplus_demangle): Use them.
1978 (demangle_signature): Likewise.
1979 (demangle_template_value_parm): Likewise.
1980 (do_type): Likewise.
1981 (demangle_fund_type)): Likewise.
224301c1 1982
b056ad1c
KG
1983Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1984
1985 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1986 to match prototype.
1987
ed87f9c8
MM
19881998-10-21 Mark Mitchell <mark@markmitchell.com>
1989
1990 * splay-tree.c: New file.
1991 * Makefile.in (CFILES): Add it.
1992 (REQUIRED_OFILES): Likewise.
1993 (splay-tree.o): Add dependencies.
1994
e0c13971
AS
1995Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1996
1997 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1998 range of 'K' index.
1999
91e0f659
KG
2000Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2001
2002 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2003
2004 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2005 `unsigned char'.
2006 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2007 comparing against one.
2008 (cplus_mangle_opname): Likewise.
2009 (demangle_integral_value): Cast argument of ctype macro to
2010 `unsigned char'.
2011 (demangle_template_value_parm): Likewise.
2012 (demangle_template): Initialize variable `bindex'. Cast the
2013 result of `strlen' to (int) when comparing against one. Remove
2014 unused variable `start_of_value_parm'.
2015 (demangle_class_name): Cast the result of `strlen' to (int) when
2016 comparing against one.
2017 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2018 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2019 when comparing against one.
2020 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2021 (get_count): Likewise.
2022 (do_type): Likewise. Cast the result of `strlen' to (int) when
2023 comparing against one.
2024 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2025 (demangle_function_name): Cast the result of `strlen' to (int)
2026 when comparing against one.
2027
2028 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2029 comparing against one.
2030
73aeb2ff
JL
2031Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2032
5194cf08
ZW
2033 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2034 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2035 * config.in, configure: Rebuilt.
ae76f1be 2036
73aeb2ff
JL
2037 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2038 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2039 * config.in, configure: Rebuilt.
2040
dd8f3ed5
GN
2041Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2042
5194cf08 2043 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 2044
f77d8413
MT
2045Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2046
2047 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2048
ca6b370d
JL
2049Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2050
2051 * Merge egcs & devo libiberty.
2052
ab4856b1
ML
2053