* basic_blocks.c: Replace bool with boolean, TRUE with true and
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
bef8b55d
DD
12002-01-31 Adam Megacz <adam@xwt.org>
2
3 * gcc/libiberty/configure.in: Treat mingw the same as cywin
4 wrt HAVE_SYS_ERRLIST.
5
2c955b8b
DD
62002-01-30 Phil Edwards <pme@gcc.gnu.org>
7
8 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
9 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
10 cp_demangle_type.
11 * testsuite/demangle-expected: New gnu-v3 test.
12
58b1717a
RH
132002-01-22 Momchil Velikov <velco@fadata.bg>
14
15 * configure.in (variable detection): Use arrays of unspecified
16 size instead of plain integers.
17
cc096b71
DD
182002-01-18 DJ Delorie <dj@redhat.com>
19
20 * Makefile.in (TESTLIB): New. This library is for future
21 testsuites.
22 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
23 break down by letter.
24 (REQUIRED_OFILES): List long-to-compile files first.
25 (maint-deps): New, target for updating dependencies.
26 (dependencies): Update.
27 * maint-tool: Add dependency-generating option.
28 * configure.in: Check for _doprnt even if we're not providing it.
29 * configure: Regenerate.
30
31 * _doprnt.c: Modifications to allow compiling on any platform.
32 * copysign.c: Likewise.
33 * putenv.c: Likewise.
34 * setenv.c: Likewise.
35 * vsprintf.c: Likewise.
36
372002-01-15 Douglas B Rupp <rupp@gnat.com>
38
39 * mkstemps.c (mkstemps): On VMS, open temp file with option
40 that causes it to be deleted when closed.
41
20d54542
DD
422002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
43
c23795e2
DD
44 * cp-demangle.c (long_options): Const-ify.
45 * cplus-dem.c (long_options): Likewise.
46
20d54542
DD
47 * cplus-dem.c (mystrstr): Delete. All callers changed to use
48 strstr instead.
49
f348a7b1
DD
502001-12-31 Ira Ruben <ira@apple.com>
51
52 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
53 * configure: Regenerated.
54
d86cd745
DD
552001-12-24 Douglas B. Rupp <rupp@gnat.com>
56
57 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
58 * configure: Regenerated.
59
ae533646
DD
602001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
61
62 PR other/2719
63 * cplus-dem.c (consume_count): Treat negative count as an error.
64 * testsuite/demangle-expected: Added testcase.
65
c0eb281b
DD
66Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
67
68 * configure.in: Hardcode that vfork works on VMS host.
69 * configure: Regenerated.
70
2da4c07f
RH
712001-12-06 Richard Henderson <rth@redhat.com>
72
73 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
74 (cplus_demangle): Support no_demangling.
75
24acd898
DD
762001-11-27 Zack Weinberg <zack@codesourcery.com>
77
78 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
79 in libiberty context. Fix typo in leading comment.
80 * configure.in: Fix various AC_DEFINEs so autoheader works.
81 If any of vprintf, vsprintf, vfprintf is missing from libc,
82 then AC_REPLACE_FUNCS(_doprnt).
83
fec50157 842001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 85 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
86
87 * Makefile.in (stamp-h): Depend on Makefile for proper
88 serialization.
89 (*-subdir): Depend on config.h for proper serialization.
90
5527febf
DD
912001-11-26 DJ Delorie <dj@redhat.com>
92
93 * configure.in: Check for alloca.h (for regex.c and putenv.c).
94 * configure: Regenerate.
95 * config.h: Add HAVE_ALLOCA_H.
96
941d74a0
DD
972001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
98
99 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
100 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
101 is available.
102
dc579051
DD
103Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
104
105 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
106 * configure.in (HAVE_UINTPTR_T): Test for system defining
107 uintptr_t and define HAVE_UINTPTR_T appropriately.
108 * regex.c (uintptr_t): Do not provide a definition if the
109 system provided one.
110
111 * regex.c (PREFIX): Provide an alternate definition for
112 non-ANSI/ISO compilers.
113 (ARG_PREFIX): Likewise.
114
1a78a35a
DD
1152001-11-12 Jim Meyering <meyering@lucent.com>
116
117 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
118 this code would end up calling gettext even in packages built
119 with --disable-nls.
120 * getopt.c (_): Likewise.
121 * regex.c (_): Likewise.
122
4e55c4b6
DD
1232001-11-03 Alan Modra <amodra@bigpond.net.au>
124
125 * configure.in: Cope with missing makeinfo.
126 * configure: Regenerate.
127
d311a83a
DD
1282001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
129
130 * hex.c (hex_init): Provide empty stub.
131
132 * hex.c (hex_init): Delete.
133 (_hex_value): Const-ify and initialize at compile-time.
134
3bc62f91
DD
1352001-10-19 H.J. Lu <hjl@gnu.org>
136
137 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
138 necessary.
139
5d852400
DD
1402001-10-17 DJ Delorie <dj@redhat.com>
141
142 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
143 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 144 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
145 Improve manual formatting.
146 * functions.texi: Regenerate.
147
ba19b94f
DD
1482001-10-15 DJ Delorie <dj@redhat.com>
149
150 * Makefile.in (TEXIFILES): Add fnmatch.txh.
151 (maint-undoc): New.
152 maint-tool: Add "undoc" tool.
153 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
154 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
155 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
156 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
157 documentation.
158 * fnmatch.txh: New.
159 * functions.texi: Regenerate.
160
56056af5
DD
1612001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
162
163 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
164 * strtod.c: Use "ISO C" instead of "ANSI C".
165 * functions.texi: Regenerate.
166
99b58139
DD
1672001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
168
169 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
170 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
171 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
172 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
173 spelling. Give names to function arguments in documentation. Use
174 (void) prototypes in documentation.
175 * functions.texi: Regenerate.
176
e6450fe5
DD
1772001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
178
179 * argv.c (buildargv, tests, main): Const-ify.
180 * cp-demangle.c (operator_code): Likewise.
181 * cplus-dem.c (optable, libiberty_demanglers,
182 cplus_demangle_set_style, cplus_demangle_name_to_style,
183 print_demangler_list): Likewise.
184 * hashtab.c (higher_prime_number): Likewise.
185 * strcasecmp.c (charmap): Likewise.
186 * strerror.c (error_info, strerror, main): Likewise.
187 * strncasecmp.c (charmap): Likewise.
188 * strsignal.c (signal_info): Likewise.
189
da191b5b
DD
1902001-09-29 DJ Delorie <dj@redhat.com>
191
192 * configure: Regenerate.
193
916aaa12
DD
1942001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
195
196 * concat.c: Include stdlib.h.
197
fa9f0e33
DD
1982001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
199
200 * libiberty.texi: (Top level): Add syncodeindex pg. Add
201 @dircategory and @direntry directives. Add @finalout.
202 (many nodes): Lose the next,prev,up pointers on the @nide line.
203 (Using, Supplemental Functions, Replacement Functions): Fix
204 markup.
205 (Functions): Move around, to allow makeinfo to build the manual
206 without next,prev,up pointers in thye node lines.
207 (Licenses): Fix typos.
208
209 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
210 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
211 * functions.texi: Regenerate.
212
213 * copying-lib.texi: Lose the next,prev,up pointers on the @node
214 line.
215
2162001-09-27 DJ Delorie <dj@redhat.com>
217
218 * configure.in: Don't use in-tree texinfo, because libiberty must
219 be built before it. Check for makeinfo version 4 or higher.
220 * functions.texi: Regenerate.
221
39423523
DD
2222001-09-20 DJ Delorie <dj@redhat.com>
223 Phil Edwards <pedwards@disaster.jaj.com>
224
225 * configure.in (MAKEINFO, PERL): Detect these.
226 (--enable-maintainer-mode): Add.
227 * configure: Regenerate.
228 * Makefile.in (MAKEINFO, PERL): Define.
229 (libiberty.info, libiberty.dvi, libiberty.html): New.
230 (CFILES): Add bsearch.c.
231 (CONFIGURED_OFILES): New, list of objects configure might add.
232 (maint-missing, maint-buildall): New, for maintainers only.
233 (clean, mostlyclean): Add info/dvi/html files.
234 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
235 * gather-docs: New, for maintainers.
236 * maint-tool: New, for maintainers.
237 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
238 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
239 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
240 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
241 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
242 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
243 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
244 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
245 documentation.
246
66c94e19
DD
2472001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
248
249 * concat.c (reconcat): Fix for traditional C.
250
99ee3a8f
DD
2512001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
252
253 * concat.c (reconcat): New function.
254
54c20242
DD
2552001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
256
257 * concat.c (vconcat_length, vconcat_copy, concat_length,
258 concat_copy, concat_copy2): New functions.
259 (concat): Use vconcat_length/vconcat_copy.
260
261 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
262 Define.
263
843f21be
DD
2642001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
265
266 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
267 VA_FIXEDARG & VA_CLOSE.
268
269 * vasprintf.c: Check HAVE_STRING_H when including string.h.
270 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
271 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
272
8a423cb3
DD
2732001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
274
275 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
276
dc676635
DD
2772001-08-23 Ulrich Drepper <drepper@redhat.com>
278
279 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
280
2812001-08-23 Ulrich Drepper <drepper@redhat.com>
282
283 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
284 instead of mbrtowc.
285 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
286 wcslen, and __wcscoll instead of wcscoll.
287
f080c76d
DD
2882001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
289
4e55c4b6
DD
290 * fibheap.c (fibheap_init, fibnode_init): Remove.
291 (fibheap_new, fibnode_new): Use xcalloc to allocate and
292 initialize memory.
293 (fibheap_insert): Remove check for node allocation failure.
f080c76d 294
f01b59ed
DD
2952001-08-21 Richard Henderson <rth@redhat.com>
296
297 * Makefile.in (fibheap.o): Depend on config.h.
298 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
299 functions for inlining.
300
301Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
302
303 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
304 hosting on cygwin.
305 * configure: Regenerate.
306
eb828599
AC
3072001-08-20 Andrew Cagney <ac131313@redhat.com>
308
309 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
310 HARRIS_FLOAT_FORMAT.
311 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
312 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
313 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
314 (floatformat_m88110_harris_ext): New float formats.
315
4e55c4b6
DD
3162001-08-20 Daniel Berlin <dan@cgsoftware.com>
317
318 * fibheap.c: New file. Fibonacci heap.
319
320 * Makefile.in (CFILES): Add fibheap.c.
321 (REQUIRED_OFILES): Add fibheap.o.
322 (fibheap.o): Add dependencies for fibheap.o.
323
68a41de7
DD
3242001-08-17 Christopher Faylor <cgf@cygnus.com>
325
326 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
327 * configure: Regenerate.
328
8fc34799
DD
3292001-08-16 Richard Henderson <rth@redhat.com>
330
331 * hashtab.c (htab_hash_string): New.
332
16bad250
AC
3332001-08-13 Andrew Cagney <ac131313@redhat.com>
334
335 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
336 name.
337
a9022147
DD
3382001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
339
340 * regex.c (wcs_regex_compile): Use appropriate string
341 to compare with collating element.
342 Fix the padding for the alignment.
343
8aefe91a 3442001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
345
346 * lbasename.c (lbasename): Change function definition to return a
347 const char pointer.
348
e7e9b069
DD
3492001-08-07 Jason Merrill <jason_merrill@redhat.com>
350
351 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
352 for".
353
cc5144f8
DD
3542001-08-03 Richard Henderson <rth@redhat.com>
355
356 * Makefile.in (concat.o): Depend on config.h.
357
8aefe91a
DD
3582001-07-30 Andreas Jaeger <aj@suse.de>
359
360 * concat.c: Include "config.h".
361
86710ce2
DD
3622001-07-30 Andreas Jaeger <aj@suse.de>
363
364 * regex.c: Declare wcs functions only if compiling with
365 MBS_SUPPORT.
366 Don't use #elif for traditional C.
367
3682001-07-23 Ulrich Drepper <drepper@redhat.com>
369
370 * regex.c: Revamp memory allocation for WCHAR functions to
371 not use too much stack.
372
3732001-07-30 Andreas Jaeger <aj@suse.de>
374
375 * regex.c: Declare wcs functions only if compiling with
376 MBS_SUPPORT.
377 Don't use #elif for traditional C.
378
a5d8f731
DD
3792001-07-25 Daniel Jacobowitz <drow@mvista.com>
380
381 * Makefile.in (regex.o): Add dependency on config.h.
382
6ad8a379
DD
3832001-07-18 Andreas Schwab <schwab@suse.de>
384
385 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
386 underscore character.
387
3882001-07-18 Ulrich Drepper <drepper@redhat.com>
389
390 * regex.c: Limit string length printed in debug messages to 100
391 chars.
392
3932001-07-18 Andreas Jaeger <aj@suse.de>
394
395 * regex.c: Place under LGPL version 2.1.
396
2a6ef469
DD
3972001-07-10 Jeff Johnston <jjohnstn@redhat.com>
398
399 * Makefile.in: Add support for regex code.
400 * regex.c: New file.
401
7b78baae
DD
4022001-07-05 Mark Klein <mklein@dis.com>
403
404 * Makefile.in: Add ffs.c dependency.
405 * configure.in: Add ffs.c.
406 * ffs.c: New file.
407
926150e2
DD
4082001-06-18 Richard Henderson <rth@redhat.com>
409
410 * concat.c: Include <sys/types.h>.
411
11f6f21d
DD
4122001-06-11 Loren J. Rittle <ljrittle@acm.org>
413
414 bootstrap/3106
415 * strerror.c (sys_nerr): Hide the OS header version.
416 * strsignal.c (sys_nsig): Likewise.
417
d42dae6c
DD
4182001-06-10 Richard Henderson <rth@redhat.com>
419
420 * concat.c: Include string.h. Fix int vs size_t usage.
421 Simplify the iteration loops. Use memcpy.
422
e05c6d27
DD
4232001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
424
425 * partition.c: Fix misspelling of `implementation'.
426
b50c4073
DD
4272001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
428
429 * md5.c (md5_init_ctx): Declare constants as unsigned.
430 (md5_process_block): Likewise.
431
457161bf
DD
4322001-05-07 Zack Weinberg <zackw@stanford.edu>
433
434 * cp-demangle.c (demangle_v3_with_details,
435 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
436 function definition.
437 * ternary.c: Use K+R style function definitions. Use PTR, not
438 void *. Make arguments constant where possible.
439
e00bc6a7
DD
4402001-05-07 Mark Mitchell <mark@codesourcery.com>
441
442 * splay-tree.h (splay_tree_max): New function.
443 (splay_tree_min): Likewise.
444
400ee7e1
DB
4452001-04-15 Daniel Berlin <dan@cgsoftware.com>
446
447 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
448
449 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 450
d9697354
DD
4512001-04-03 Zack Weinberg <zackw@stanford.edu>
452
453 * make-temp-file.c (try): Inline.
454
a7bf099b
DD
4552001-02-28 Richard Henderson <rth@redhat.com>
456
457 * Makefile.in (make-temp-file.o): Depend on config.h.
458
30a1def2
DD
4592001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
460
461 * memchr.c (memchr): Adjust condition to avoid infinite loop.
462
079c672a
DD
4632001-03-23 Jakub Jelinek <jakub@redhat.com>
464
465 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
466 `_' not followed by a digit is invalid.
467
a88e356a
JB
4682001-03-22 Jim Blandy <jimb@redhat.com>
469
470 * cp-demangle.c (string_list_delete): Use dyn_string_delete
471 instead of free, to free the contents as well as the string
472 structure.
473
1dffcc66
DD
4742001-03-21 Zack Weinberg <zackw@stanford.edu>
475
476 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
477 Don't default P_tmpdir to anything. Try /var/tmp before
478 /usr/tmp.
479
4802001-03-20 Zack Weinberg <zackw@stanford.edu>
481
482 * choose-temp.c: Split off make_temp_file, and the code
483 duplicated between it and choose_temp_base, into...
484 * make-temp-file.c: ... here; new file.
485
486 * Makefile.in (CFILES): Add make-temp-file.c.
487 (REQUIRED_OFILES): Add make-temp-file.o.
488
e61231f1
JB
4892001-03-20 Jim Blandy <jimb@redhat.com>
490
491 * cp-demangle.c (struct demangling_def): New fields:
492 is_constructor and is_destructor.
493 (demangling_new): Initialize them.
494 (demangle_ctor_dtor_name): Set them, if we detect a constructor
495 or destructor.
496 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
497 is_gnu_v3_mangled_dtor): New functions.
498
a9cbbe6d
DD
4992001-03-20 Jason Merrill <jason@redhat.com>
500
501 * cplus-dem.c (main): Skip initial $.
502
b1e51b3c
DD
5032001-03-15 Michael Meissner <meissner@redhat.com>
504
505 * hashtab.c (higher_prime_number): Silence warning that 4294967291
506 might be a signed integer under pre-ISO C systems.
507
8aa30e60 5082001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 509 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 510
8aa30e60
DD
511 * libiberty/lbasename.c: New file.
512 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 513
30673bf5
DD
5142001-03-06 Zack Weinberg <zackw@stanford.edu>
515
516 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
517 * configure.in: Replace all alloca logic with a simple use of
518 the above new macro.
519 * config.table: Kill *-*-beos* entry.
520 * config/mh-beos: Delete.
521 * configure, config.in: Regenerate.
fa03f0a7 522
30673bf5
DD
523 * Makefile.in (ALLOCA, HFILES): Kill.
524 (REQUIRED_OFILES): Add alloca.o.
525 (alloca.o): Depend on libiberty.h.
526 (argv.o): Don't depend on alloca-conf.h.
527 * alloca-conf.h: Delete.
528 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
529 blocks. Provide the C alloca unconditionally. Use PTR where
530 appropriate. Make i00afunc static.
531 * argv.c: Don't include alloca-conf.h.
fa03f0a7 532
5810f394
DD
5332001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
534
535 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 536
a9db032a
DD
5372001-02-16 Loren J. Rittle <ljrittle@acm.org>
538
539 * cplus-dem.c (main): Initialize style.
fa03f0a7 540
8aefe91a
DD
5412001-02-02 Phil Edwards <pme@sources.redhat.com>
542
543 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
544
bc9bf259
DD
5452001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
546
547 Add support for Java demangling under the v3 ABI:
548 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
549 (struct demangling_def): Add `style' field.
550 (demangling_new): New parameter `style'. Set it in demangling_t.
551 (demangle_prefix): Use NAMESPACE_SEPARATOR.
552 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
553 (cp_demangle): New parameter `style'. Pass it to demangling_new().
554 (main): Call cp_demangle with extra parameter.
555 (java_demangle_v3): New function.
556 (java_builtin_type_names): New. Table of primitive type names used
557 for Java demangling.
558 (demangle_builtin_type): Look up in java_builtin_type_names if doing
559 Java output.
560 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
561 demangling.
562 (long_options): Remove obsolete `java' option.
563 (main): Remove explicit handling of `java' option. Instead, pass style
564 parameter in cplus_demangle flags as gdb does.
565 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 566
f6528837
DD
5672000-12-29 DJ Delorie <dj@redhat.com>
568
569 * fnmatch.c: Make the note about the origins of this file more
570 accurate, at least until we can sync with glibc.
571 * getopt.c: Ditto.
572 * getopt1.c: Ditto.
573 * md5.c: Ditto.
574 * obstack.c: Ditto.
9d969b59 575
c6da642e
DD
5762000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
577
578 * bsearch.c: New file.
579 * configure.in (funcs): Add bsearch.
580 (AC_CHECK_FUNCS): Likewise.
581 * configure, config.in: Regenerate.
582
ae7d06ad 5832000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
584
585 * safe-ctype.c: #include "ansidecl.h".
586 * strtod.c: Likewise.
587
ae7d06ad 5882000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
589
590 * strtoul.c: Include safe-ctype.h, not ctype.h.
591
ac424eb3
DD
5922000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
593
594 * safe-ctype.c: New file.
595 * Makefile.in (CFILES): Add safe-ctype.c.
596 (REQUIRED_OFILES): Add safe-ctype.o.
597
598 * argv.c: Define ISBLANK and use it, not isspace.
599 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
600 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
601 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
602 before calling TOLOWER(c)/TOUPPER(c).
603
4415a860
DD
6042000-12-07 Mike Stump <mrs@wrs.com>
605
606 * Makefile.in (distclean): When cleaning, remove testsuite.
607
849ee224
DD
6082000-12-05 Jason Merrill <jason@redhat.com>
609
610 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
611 name before allocating the dyn_string.
612
ae7d06ad 6132000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
614
615 * cp-demangle.c: s/new_abi/v3/.
616 * cplus-dem.c: Likewise.
617 (current_demangling_style): Now auto_demangling.
618 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 619 (main): Use standard symbol chars for auto_demangling.
e49a569c 620
ae7d06ad 6212000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
622
623 * hashtab.c (higher_prime_number): Use a table, rather than a
624 seive, to find the next prime.
ae7d06ad
NC
625
6262000-11-22 H.J. Lu <hjl@gnu.org>
627
628 * cplus-dem.c (main): Handle gnat_demangling.
629
6302000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
631
632 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
633 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
634 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
635 argument form of AC_DEFINE in dummy definitions block. Use
636 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
637 in dummy block. Preload cache variables instead of bypassing
638 tests, where possible.
639 * acconfig.h: Removed.
ae7d06ad 640
2ea7befd
DD
641 * xmalloc.c (xmalloc_failed): New function, does error
642 reporting on failed allocation.
643 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 644
f1775526
HPN
6452000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
646
647 * cplus-dem.c (cplus_demangle): Fix formatting.
648 (grow_vect): Ditto.
649 (ada_demangle): Ditto.
650 (internal_cplus_demangle): Ditto.
651 (mop_up): Ditto.
652
6532000-11-21 H.J. Lu <hjl@gnu.org>
654
655 * cplus-dem.c (main): Handle java_demangling.
656
ae7d06ad 6572000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
658
659 * cplus-dem.c (grow_vect): Prototype.
660 (ada_demangle): Cast the arg of ctype macros to unsigned char.
661
5dd42ef4
HPN
6622000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
663
664 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
665 parameter `option'.
666
296731c1
DD
6672000-11-15 Kenneth Block <kenneth.block@compaq.com>
668
8944fb9d 669 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
670 be used in GCC.
671
6e53a714 6722000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 673
5dd42ef4 674 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
675 list.
676
99a4c1bd
HPN
6772000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
678
679 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
680 xcalloc depending on htab->return_allocation_failure. Return zero
681 if calloc fails.
99a4c1bd
HPN
682 (htab_create): Update comment to cover memory allocation.
683 (htab_try_create): New.
684 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 685 Update comment to cover this.
99a4c1bd 686
e0f3df8f
HPN
6872000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
688
689 * hashtab.c: Change void * to PTR where necessary.
690 (htab_create, htab_expand): Correct formatting of comment before
691 function.
692
ae7d06ad 6932000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
694
695 * cp-demangle.c (string_list_def): Add caret_position and comments.
696 (result_caret_pos): New macro.
697 (result_append_string): Rename to...
698 (result_add_string): ... this, and insert at caret position.
ae7d06ad 699 Rename throughout.
59666b35
DD
700 (result_append): Rename to...
701 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 702 throughout.
59666b35
DD
703 (result_append_char): Rename to...
704 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 705 throughout.
59666b35
DD
706 (result_append_space): Remove.
707 (string_list_new): Initialize caret position.
708 (result_add_separated_char): Use caret position.
709 (result_get_caret): New funtion.
710 (result_set_caret): Likewise.
711 (result_shift_caret): Likewise.
712 (result_previous_char_is_space): Likewise.
713 (substitution_start): Use caret position.
714 (substitution_add): Likewise.
715 (demangling_new): Initialize caret position.
716 (demangle_encoding): Use caret position.
ae7d06ad 717 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
718 (demangle_type_ptr): Use switch statement. Handle pointers to
719 arrays. Don't use result_append_space. Use caret position.
720 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
721 call to demangle_array_type.
722 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 723
ae7d06ad 7242000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
725
726 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
727
7282000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
729
730 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
731
7322000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
733
734 * splay-tree.c: #include <stdio.h>.
735
7362000-09-14 Hans-Peter Nilsson <hp@axis.com>
737
738 * testsuite/demangle-expected: Add two tests for anonymous
739 namespaces.
740 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
741
7422000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
743
744 * splay-tree.c (splay_tree_predecessor): New function.
745 (splay_tree_successor): Likewise.
ae7d06ad
NC
746
7472000-09-10 Hans-Peter Nilsson <hp@axis.com>
748
749 * testsuite/demangle-expected: Add four tests for type_info
750 mangling.
751 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
752 for a non-template non-qualified type_info function or node.
753
7542000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
755
756 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
757
7582000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
759
760 * md5.c: #include "ansidecl.h".
761
7622000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
763
764 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
765 (demangle_type): Handle substitution candidates correctly in the
766 face of special substitutions.
ae7d06ad
NC
767
7682000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
769
770 * cp-demangle.c (demangle_encoding): Rename variable.
771 (demangle_name): Rename parameter. Handle return type
772 suppression.
773 (demangle_nested_name): Rename parameter.
774 (demangle_prefix): Likewise. Change return type suppression.
775 (demangle_unqualified_name): Add parameter. Flag constructors and
776 conversion operators.
777 (demangle_special_name): Fix comment.
778 (demangle_type): Rename variable.
779 (demangle_bare_function_type): Check for missing return type and
780 parameter.
781 (demangle_class_enum_type): Rename parameter.
782 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
783
7842000-08-31 DJ Delorie <dj@redhat.com>
785
786 * configure.in (Cygwin): special case cygwin only when we're
787 building cygwin, not when we're hosting cygwin.
788
7892000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
790
791 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
792 <expression>.
ae7d06ad
NC
793
7942000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
795
796 * cp-demangle.c (demangle_type_ptr): Increment position past
797 pointer and reference characters.
ae7d06ad
NC
798
7992000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
800
801 * cp-demangle.c (demangle_nv_offset): New function.
802 (demangle_v_offset): Likewise.
803 (demangle_call_offset): Likewise.
804 (demangle_special_name): Update thunk demangling to comply with
805 ABI changes.
ae7d06ad
NC
806
8072000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
808
809 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
810 (substitution_def): Remove template_parm_number.
811 (NOT_TEMPLATE_PARM): Remove.
812 (result_insert_string): New macro.
813 (result_insert): Likewise.
814 (result_insert_char): Likewise.
815 (substitution_add): Remove last parameter. Don't store template
816 parm number.
817 (BFT_NO_RETURN_TYPE): Define as NULL.
818 (demangle_encoding): Adjust call to demangle_bare_function_type.
819 (demangle_name): Adjust substitution. Adjust call to
820 substitution_add.
821 (demangle_prefix): Adjust call to substitution_add.
822 (demangle_identifier): Handle anonymous namespaces.
823 (demangle_operator_name): Change demangling of vendor-extended
824 operator to match ABI changes.
825 (demangle_type_ptr): Change parameters. Make recursive. Handle
826 substitutions here.
827 (demangle_type): Adjust calls to demangle_template_param,
828 substitution_add, and demangle_type_ptr. Fix substitution of
829 templated types.
830 (demangle_function_type): Change parameter to a pointer.
831 (demangle_bare_function_type): Likewise. Adjust insertion point.
832 (demangle_template_param): Remove last parameter.
833 (demangle_expr_primary): Remove unused variable. Adjust call to
834 demangle_template_param.
835 (is_mangled_char): Accept `$' and `.'.
836 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
837 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
838
8392000-08-31 Hans-Peter Nilsson <hp@axis.com>
840
841 * testsuite/demangle-expected: Add nine tests for
842 underscore-after-number followed by five tests for name-signature
843 delimiter.
844
8452000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
846
847 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
848
8492000-08-28 Jason Merrill <jason@redhat.com>
850
851 * Makefile.in (REQUIRED_OFILES): Add md5.o.
852 (CFILES): Add md5.c.
853 * md5.c: New file.
854
8552000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
856
857 * cp-demangle.c (demangle_name): Initialize template_p in local
858 name case. Don't re-add substitutions as candidates.
859 (demangle_nested_name): Use <unqualified-name>.
860 (demangle_prefix): Likewise. Don't add template names as
861 substitution candidates twice, or re-add a substitution or the
862 last prefix component.
863 (demangle_local_name): Adjust output format.
ae7d06ad
NC
864
8652000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
866
867 * cp-demangle.c (result_add_separated_char): Change parameter to
868 int.
869 (substitution_add): Don't check for duplicates. Check if
870 previously allocated size is zero.
871 (demangle_name): Remove duplicate check for std substitution.
872 Clear template flag appropriately.
873 (demangle_prefix): Remove argument to demangle_substitution.
874 Don't check that template flag is already set.
875 (demangle_operator_name): Add pt operator.
876 (demangle_type): Don't treat r as built-in type. Remove argument
877 to demangle_substitution. Fix substitution candidate mechanics.
878 Handle <template-template-parm>s. Improve comments.
879 (demangle_template_param): Don't handle template arg lists here.
880 (demangle_substitution): Remove parameter.
881 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
882
8832000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
884
885 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
886
8872000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
888
889 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
890 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
891 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
892
8932000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
894
895 * cp-demangle.c (result_close_template_list): Remove function.
896 (result_add_separated_char): New function.
897 (result_open_template_list): New macro.
898 (result_close_template_list): Likewise.
899 (demangle_prefix): Don't set template_p if the
900 prefix ends with a ctor name.
901 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
902 (demangle_type): Check for template args after substitution.
903 (demangle_template_args): Use result_open_template_list.
d3e85005 904
ae7d06ad 9052000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 906
ae7d06ad 907 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 908
ae7d06ad 9092000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
910
911 * config/mh-openedition.h: Added -DLE370 definition.
912
a9f34fb6
JL
9132000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
914
915 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
916 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
917 Cast program to 'char *' in errmsg_arg assignment.
918 (PWAIT_ERROR): Define.
919 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
920 to DJGPP's WIF* macros.
921
90aaccd1 9222000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 923 Jeff Law <law@cygnus.com>
90aaccd1 924
ae7d06ad 925 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 926
90aaccd1 927 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
928 * rename.c: Include config.h, unistd.h
929 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 930
6ef554e3
HPN
9312000-07-24 Hans-Peter Nilsson <hp@axis.com>
932
933 * cplus-dem.c (work_stuff_copy_to_from): New.
934 (delete_non_B_K_work_stuff): New.
935 (delete_work_stuff): New.
936 (mop_up): Break out work_stuff partly destruction to
937 delete_non_B_K_work_stuff.
938 (iterate_demangle_function): New.
939 (demangle_prefix): Call iterate_demangle_function instead of
940 demangle_function_name. Leave handling of name-signature
941 __-delimiters to iterate_demangle_function.
942 (demangle_integral_value): Strip an optional
943 following underscore cautiously. Handle negative numbers.
944
ae7d06ad 9452000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 946
ae7d06ad 947 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
948 if (AUTO_DEMANGLING || GNU_DEMANGLING)
949
ae7d06ad
NC
9502000-07-21 Alex Samuel <samuel@codesourcery.com>
951
952 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
953 allocating ctor mangling.
954 (demangle_array_type): Handle empty and non-constant array length.
955
b1233257 9562000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
957 Jeff Law <law@cygnus.com>
958
959 * configure.in (AC_CHECK_HEADERS): Add time.h.
960 (AC_HEADER_TIME): Add check.
961 * configure, config.in: Regenerate.
962 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
963
964 * configure.in (AC_CHECK_HEADERS): Add limits.h.
965 * configure, config.in: Regenerate.
966 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
967 * strtol.c, strtoul.c: #include "config.h". Portably #include
968 <limits.h> and/or <sys/param.h>.
969 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 970
7d3ffcaf
JL
971 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
972 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
973 * configure, config.in: Regenerate.
974 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
975
b1233257
JL
976 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
977
ae7d06ad
NC
9782000-07-21 Mike Stump <mrs@wrs.com>
979
980 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
981 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
982
9832000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
984
985 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
986
987 * setenv.c (setenv): Initialize variable `ep'.
988
989 * sigsetmask.c (abort): Prototype.
990
991 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
992 __STDC__ for stdarg.h include.
993 (int_vasprintf): Prototype.
994 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
995 definition. Cast `global_total_width' in comparison.
996 (main): Prototype. Return a value.
997
998 * vfork.c (fork): Prototype.
999
1000 * xexit.c: Include config.h.
1001
9adf30b2
JL
10022000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
1003
1004 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
1005 and print it with %u.
1006
2ed78d1b
HPN
10072000-07-17 Hans-Peter Nilsson <hp@axis.com>
1008
1009 * testsuite/regress-demangle (failed test): Show result and
1010 expected output.
1011
0473bdf7
AH
10122000-07-07 Andrew Haley <aph@cygnus.com>
1013
1014 * cplus-dem.c (main): fflush() after emitting last char before
1015 waiting for input.
1016
03d5f569
JM
10172000-06-28 Alex Samuel <samuel@codesourcery.com>
1018
1019 * cp-demangle.c (demangle_encoding): Accept no substitutions.
1020 (demangle_name): Handle <substitution> followed by
1021 <unqualified-template-name>.
1022 (demangle_type): Follow special substitutions with
1023 <class-enum-type>
1024 (demangle_subtitution): Set template_p for special substitutions.
1025 (main): Fix typos.
ae7d06ad 1026
03d5f569
JM
10272000-06-27 Alex Samuel <samuel@codesourcery.com>
1028
1029 * cp-demangle.c (demangle_special_name): Swap base and derived
1030 class when demangling construction vtables.
1031
10322000-06-21 Alex Samuel <samuel@codesourcery.com>
1033
1034 * cp-demangle.c: Don't include ctype.h.
1035 (IS_DIGIT): New macro.
1036 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
1037 instead of isdigit and isalpanum.
1038 (demangling_def): Make name and next const pointers.
1039 (STATUS_ALLOCATION_FAILED): New status code.
1040 (dyn_string_append_space): Handle failure in
1041 dyn_string_append_char.
1042 (int_to_dyn_string): Likewise. Change return value to status_t.
1043 (string_list_new): Handle failure of dyn_string_init.
1044 (result_close_template_list): Change return type to status_t.
1045 Handle failure in dyn_string_append.
1046 (result_push): Change return value to status_t. Handle failure in
1047 string_list_new. Handle failure of result_push throughout.
1048 (substitution_add): Change return value to status_t. Handle
1049 dyn_string failures. Handle failure of substitution_add
1050 throughout.
1051 (template_arg_list_new): Return NULL on allocation failure.
1052 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1053 Handle error result throughout.
1054 (result_append): Likewise.
1055 (result_append_char): Likewise.
1056 (result_append_space): Likewise.
1057 (demangling_new): Make argument a const pointer. Handle
1058 allocation failures.
1059 (demangle_template_args): Handle failure in template_arg_list_new
1060 and result_close_template_list.
1061 (demangle_discriminator): Return if int_to_dyn_string fails.
1062 (cp_demangle): Likewise.
1063 (cp_demangle_type): New function.
1064 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1065 memory allocation failure.
1066 (main): Likewise.
1067 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1068 IN_LIBGCC2.
1069 (dyn_string_init): Change return value to int. Handle
1070 RETURN_ON_ALLOCATION_FAILURE case.
1071 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1072 (dyn_string_release): Delete the dyn_string.
1073 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1074 (dyn_string_copy): Change return type to int.
1075 (dyn_string_copy_cstr): Likewise.
1076 (dyn_string_prepend): Likewise.
1077 (dyn_string_prepend_cstr): Likewise.
1078 (dyn_string_insert): Likewise.
1079 (dyn_string_insert_cstr): Likewise.
1080 (dyn_string_append): Likewise.
1081 (dyn_string_append_cstr): Likewise.
1082 (dyn_string_append_char): Likewise.
1083 (dyn_string_substring): Likewise.
ae7d06ad 1084
eb383413 10852000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1086
eb383413
L
1087 * cp-demangle.c (demangle_operator_name): Add spaces before
1088 names beginning with a letter: delete, delete[], new, new[],
1089 sizeof.
1090 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1091
eb383413
L
1092Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1093
1094 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1095
1096Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1097
1098 * cp-demangle.c (stdio.h): File included unconditionaly.
1099 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1100 * dyn-string.c (stdio.h): File included.
1101 * partition.c (partition_print): No `&' needed to take the address of
1102 a function.
1103
11042000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1105
1106 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1107
eb383413
L
1108 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1109
1110 * cp-demangle.c (demangle_char): Change parameter from char to int.
1111 (demangle_expression, demangle_expr_primary): Remove extra
1112 semi-colon in prototype.
1113
1114 * dyn-string.c (dyn_string_append_char): Change parameter from
1115 char to int.
1116
1117 * memcmp.c (memcmp): Constify.
1118
1119 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1120 __extension__.
1121
1122 * partition.c (elem_compare): Prototype. Don't cast away
1123 const-ness.
1124
1125 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1126
eb383413
L
11272000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1128
1129 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1130
1131 * cp-demangle.c: Include demangle.h.
1132 (template_arg_list_new): DeANSIfy.
1133 (cp_demangle): Make static and add prototype.
1134 (operator_code, operators): Constify.
1135 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1136
11372000-06-05 Alex Samuel <samuel@codesourcery.com>
1138
1139 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1140 unsigned char.
1141 (demangle_unqualified_name): Likewise.
1142 (demangle_number_literally): Likewise.
1143 (demangle_type): Likewise.
1144 (demangle_substitution): Likewise.
1145 (is_mangled_char): Likewise, for isalnum.
1146
11472000-06-04 Alex Samuel <samuel@codesourcery.com>
1148
1149 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1150 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1151 (cp-demangle.o): New dependency.
1152 (dyn-string.o): Likewise.
1153
1154 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1155
1156 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1157 demangler.
1158 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1159 demangling mode.
1160 (gnu_new_abi_symbol_characters): New function.
1161 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1162 file.
1163 * cp-demangle.c: New file.
ae7d06ad 1164
f03aa80d
AC
1165Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1166
1167 * floatformat.c: Add name to each floatformat field.
1168
77bfb694
JL
1169Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1170
1171 * Makefile.in (objalloc.o): Depend on config.h
1172
5c82d20a
ZW
11732000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1174
eb383413 1175 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1176 if HAVE_STRING_H.
1177 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1178 * objalloc.c: Include config.h. Include stdlib.h and don't
1179 declare malloc or free if HAVE_STDLIB_H.
1180 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1181 else declare malloc without prototype. Include string.h if
1182 HAVE_STRING_H, else declare memset without prototype. Don't
1183 include stddef.h.
1184
eb383413
L
11852000-05-23 Mike Stump <mrs@wrs.com>
1186
1187 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1188 -j3.
eb383413
L
1189
11902000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1191
1192 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1193
11942000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1195
ae7d06ad 1196 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1197 probably zero, also eliminate a warning on alpha.
1198
11992000-05-15 David Edelsohn <edelsohn@gnu.org>
1200
1201 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1202 on $(enable_shared).
1203
12042000-05-10 Jakub Jelinek <jakub@redhat.com>
1205
1206 * config.table: Use mh-sparcpic for sparc*-*-*.
1207
12082000-05-08 Nick Clifton <nickc@cygnus.com>
1209
1210 * Makefile.in (CFILES): Add strncmp.c.
1211 (NEEDED): Add strncmp.
1212
12132000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1214
eb383413
L
1215 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1216 Cast the arguments to `islower' to `unsigned char'.
1217 (print_demangler_list): Prototype.
1218
1219Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1220
1221 * sort.c (UCHAR_MAX): Provide fallback definition.
1222
12232000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1224
1225 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1226 SUBDIRS.
1227
eb383413
L
12282000-04-28 Kenneth Block <block@zk3.dec.com>
1229 Jason Merrill <jason@casey.cygnus.com>
1230
ae7d06ad
NC
1231 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1232 (cplus_demangle_set_style): New function for setting style.
1233 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1234
12352000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1236
1237 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1238
1239 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1240 (libiberty_AC_FUNC_STRNCMP): Invoke.
1241
1242 * strncmp.c: New file.
1243
1244Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1245
1246 * hashtab.c (htab_expand): Add prototype.
1247 (find_empty_slot_for_expand): Likewise.
1248
12492000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1250
1251 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1252 match prototype.
1253 (htab_expand): Cast the return value of xcalloc.
1254
12552000-04-24 Mark Mitchell <mark@codesourcery.com>
1256
1257 * hashtab.c (hash_pointer): New function.
1258 (eq_pointer): Likewise.
1259 (htab_hash_pointer): New variable.
1260 (htab_eq_pointer): Likewise.
1261
12622000-04-23 Mark Mitchell <mark@codesourcery.com>
1263
1264 * sort.c (sort_pointers): Fix endianness bugs.
1265
1266 * sort.c: New file.
1267 * Makefile.in (CFILES): Add sort.c
1268 (REQUIRED_OFILES): Add sort.o.
1269 (sort.o): New target.
1270
19be4303
JL
12712000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1272
1273 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1274 4.3BSD systems.
1275
eb383413
L
1276Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1277
1278 * hashtab.c: Various minor cleanups.
1279 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1280 (htab_find_slot): Likewise.
1281
12822000-04-16 Dave Pitts <dpitts@cozx.com>
1283
1284 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1285
afe36a78
RH
12862000-04-05 Richard Henderson <rth@cygnus.com>
1287
1288 * splay-tree.c (splay_tree_remove): New.
1289
eb383413
L
12902000-03-30 Mark Mitchell <mark@codesourcery.com>
1291
1292 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1293 codes.
1294 (htab_find_with_hash): Likewise.
1295 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1296
eb383413
L
12972000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1298
1299 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1300 unless it will be used. Rearrange loop for better
1301 optimization.
1302 (higher_prime_number): Add static prototype.
1303
b4fe2683
JM
1304Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1305
1306 * Makefile.in (partition.o): Depend on config.h
1307
13082000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1309
1310 * hashtab.c (find_empty_slot_for_expand): New function.
1311 (htab_expand): Use it instead of htab_find_slot.
1312 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1313 argument HASH.
1314 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1315 (htab_find): New wrapper function.
1316 (htab_find_slot): Likewise.
1317 (htab_traverse): Pass slot, not entry, to called function.
1318
13192000-03-09 Alex Samuel <samuel@codesourcery.com>
1320
1321 * Makefile.in (CFILES): Add partition.c.
1322 (REQUIRED_OFILES): Add partition.o.
1323 (partition.o): New rule.
1324 * partition.c: New file.
ae7d06ad 1325
b4fe2683
JM
13262000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1327
1328 * hashtab.c (htab_create): Set del_f.
1329 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1330 Use it.
1331
13322000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1333
1334 * hashtab.c: Remove debugging variables (all_searches,
1335 all_collisions, all_expansions). Delete
1336 all_hash_table_collisions.
1337 (create_hash_table, delete_hash_table, empty_hash_table,
1338 find_hash_table_entry, remove_element_from_hash_table_entry,
1339 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1340 hash_table_elements_number, hash_table_collisions): Rename to:
1341 htab_create, htab_delete, htab_empty, htab_find_slot,
1342 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1343 htab_elements, htab_collisions.
1344 (htab_find): New function, handles common case where you don't
1345 plan to add or delete an entry.
1346 (htab_expand): Don't create a whole new table, just a new
1347 entry vector.
1348 (htab_find_slot): Simplify logic.
1349
08372f14
ILT
13501999-08-03 Ian Lance Taylor <ian@zembu.com>
1351
1352 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1353 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1354
1355 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1356 $(TARGETLIB)n so it works on MSDOS.
1357 (install_to_tooldir): Likewise.
1358
9c8ac5a9
ILT
13591999-07-21 Ian Lance Taylor <ian@zembu.com>
1360
1361 From Mark Elbrecht:
1362 * makefile.dos: Remove; obsolete.
8f36e47c 1363 * configure.bat: Remove; obsolete.
9c8ac5a9 1364
0c0a36a4
ILT
13651999-07-11 Ian Lance Taylor <ian@zembu.com>
1366
1367 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1368 warning.
1369
13702000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1371
1372 * pexecute.c: Conditionally include string.h.
b4fe2683 1373 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1374
13752000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1376
1377 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1378 we're using gcc.
1379
1380 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1381
13821999-12-27 Geoff Keating <geoffk@cygnus.com>
1383
1384 * vasprintf.c (int_vasprintf): Don't re-read the format character
1385 as this mishandles strings like '%%s'.
1386
13871999-12-05 Mark Mitchell <mark@codesourcery.com>
1388
1389 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1390 rather than struct splay_tree_node.
1391 (splay_tree_insert): Use struct splay_tree_s rather than struct
1392 splay_tree.
1393
1394Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1395
1396 * hashtab.c (sys/types.h): File included.
1397
13981999-11-22 Jason Merrill <jason@casey.cygnus.com>
1399
1400 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1401 BSD license, pursuant with
1402
1403 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1404
1405Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1406
1407 * hashtab.c: Include stdio.h.
1408
1409Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1410
1411 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1412
1413Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1414
1415 * xstrdup (sys/types.h): Include this file.
1416
14171999-10-28 Nathan Sidwell <nathan@acm.org>
1418
1419 * Makefile.in (SUBDIRS): New macro.
1420 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1421 avoid multiple subdirectory cleaning.
1422 (*-subdir): Use SUBDIRS.
1423
14241999-10-25 Jim Kingdon <http://developer.redhat.com/>
1425
1426 * cplus-dem.c: Move declarations of standard_symbol_characters and
1427 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1428 warnings.
1429
14301999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1431
1432 * hashtab.c (find_hash_table_entry): When returning a
1433 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1434 (clear_hash_table_slot): New function which deletes an entry
1435 by its position in the table, not its value.
1436 (traverse_hash_table): New function which calls a hook
1437 function for every live entry in the table.
1438
14391999-10-19 Mark Mitchell <mark@codesourcery.com>
1440
1441 * cplus-dem.c (INTBUF_SIZE): New macro.
1442 (string_append_template_idx): New function.
1443 (demangle_expression): Likewise.
1444 (demangle_integral_value): Use it.
1445 (demangle_real_value): New function, split out from ...
1446 (demangle_template_value_parm): ... here. Use
1447 string_append_template_idx. Use demangle_real_value.
1448 (demangle_template): Use string_append_template_idx.
1449 (demangle_qualified): Use consume_count_with_underscores.
1450 (get_count): Tweak formatting.
1451 (do_type): Use string_append_template_idx.
b4fe2683 1452
0c0a36a4
ILT
14531999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1454
1455 * calloc.c: Add a public domain notice.
1456
1457Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1458
1459 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1460
1461Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1462
1463 * Makefile.in (CFILES): Add hashtab.c
1464 (REQUIRED_OFILES): Add hashtab.o
1465 (hashtab.o): Add dependencies.
1466 * hashtab.c: New file
1467
1468Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1469
1470 * basename.c (DIR_SEPARATOR): New macro.
1471 (DIR_SEPARATOR_2): Likewise.
1472 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1473 (IS_DIR_SEPARATOR): Likewise.
1474 (main): Handle MSDOS style pathname.
1475
14761999-10-11 Mark Mitchell <mark@codesourcery.com>
1477
1478 * cplus-dem.c (do_type): Handle pointer to member types whose
1479 enclosing classes have namespace scope.
1480
1481Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1482
1483 * config.table: Provide a backup shell for executing move-if-change.
1484
14851999-10-02 Mark Mitchell <mark@codesourcery.com>
1486
1487 * xmalloc.c (xmalloc): Fix spelling error.
1488 (xcalloc, xrealloc): Likewise.
1489
14901999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1491
1492 * cplus-dem.c (fancy_abort, demangle_integral_value,
1493 demangle_arm_hp_template, recursively_demangle,
1494 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1495 (program_name, program_version, fatal): Constify a char*.
1496 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1497 (main): Call return, not exit.
1498
14991999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1500
1501 * choose-temp.c: Remove obsolete comment about gcc.
1502 (make_temp_file): Constify a char*.
1503
1504Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1505
1506 * xmemdup.c: Include sys/types.h.
1507
15081999-09-07 Jeff Garzik <jgarzik@pobox.com>
1509
1510 * xmemdup.c: New xmemdup function.
1511 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1512
1513Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1514
b4fe2683 1515 * config.table: Add openedition target.
0c0a36a4
ILT
1516 * config/mh-openedition: New file.
1517
1518Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1519
1520 * pexecute.c (pexecute): Fill in temp_base when needed.
1521
15221999-08-31 Richard Henderson <rth@cygnus.com>
1523
1524 * getpwd.c: Check HAVE_GETCWD before defining it away.
1525
15261999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1527
1528 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1529 (REQUIRED_OFILES): Add getpwd.o.
1530 (getpwd.o): Add target.
1531
1532 * configure.in (AC_PREREQ): Bump to 2.13.
1533 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1534
1535 * getpwd.c: New file, moved here from gcc.
1536
15371999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1538
1539 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1540 comparing against a signed quantity.
1541 (arm_special): Likewise.
1542 (demangle_fund_type): Likewise.
1543 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1544 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1545 (main): Constify variable `valid_symbols'.
1546
1547Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1548
1549 * strtoul.c (strtoul): Add parentheses around && within ||.
1550
1551Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1552
1553 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1554 libdir, libsubdir and tooldir.
1555
15561999-08-01 Mark Mitchell <mark@codesourcery.com>
1557
1558 * splay-tree.c (splay_tree_insert): Return the new node.
1559
35ca97ea
RH
15601999-07-14 Richard Henderson <rth@cygnus.com>
1561
b4fe2683 1562 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1563 prototyping directly.
1564 * choose-temp.c: Conditionally include string.h.
1565
0c0a36a4
ILT
15661999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1567
1568 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1569
af32ff69
ILT
15701999-07-11 Ian Lance Taylor <ian@zembu.com>
1571
1572 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1573 warning.
1574
0c0a36a4
ILT
15751999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1576
1577 * Makefile.in (needed-list): Only include stuff we actually need
1578 for libstdc++.
1579
15801999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1581
1582 * configure.in (checkfuncs): Add gettimeofday.
1583 * config.in, configure: Regenerated.
1584
1585Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1586
1587 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1588 the test fails.
1589 * configure: Regenerate.
1590
15911999-06-10 Mike Stump <mrs@wrs.com>
1592
1593 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1594 parallel builds.
1595
15961999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1597
1598 * putenv.c: Include ansidecl.h to define `const'.
1599 * setenv.c: Likewise.
1600
1601Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1602
1603 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1604 * configure.in (funcs): Add putenv and setenv.
1605 (AC_CHECK_FUNCS): Check for putenv and setenv.
1606 * configure: Rebuilt.
1607 * putenv.c setenv.c: New files.
1608
1609 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1610 bytes of space using malloc.
1611
1612Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1613
1614 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1615 the *mangled pointer beyond the end of the string. Clean up code to
1616 match prevailing coding style.
1617
16181999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1619
1620 * tmpnam.c (L_tmpnam): Fix typo.
1621
1622Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1623
1624 * cplus-dem.c (standard_symbol_characters): Renamed from
1625 standard_symbol_alphabet. No longer modify TABLE.
1626 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1627 modify TABLE.
1628 (main): Corresponding changes. Use strchr to determine if a
1629 character is valid.
1630
e9868447
JB
16311999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1632
1633 * cplus-dem.c (main): Use table lookup to distinguish identifier
1634 characters from non-identifier characters.
1635 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1636
33fbbfbc
RH
1637Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1638
1639 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1640 * getruntime.c: Only attempt to include sys/resource.h and
1641 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1642 are defined.
1643
0c0a36a4
ILT
1644Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1645
1646 * configure.in (alloca detection): Handle alloca directly for interix.
1647 * configure: Rebuilt.
1648
1649Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1650
1651 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1652
252b5132
RH
16531999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1654
1655 Fix from Dale Hawkins:
b4fe2683 1656 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1657 reallocated properly if we use it again.
1658
1659 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1660 stricter about syntax. Always null-terminate string.
1661
c1687039
ILT
1662Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1663
1664 * configure.in (checkfuncs): Check for sbrk.
1665 * config.in: Rebuilt.
1666 * configure: Likewise.
1667 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1668
0c0a36a4
ILT
16691999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1670
1671 Fix from Marcus Daniels:
1672 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1673 identifier looking for another underscore.
1674
1675Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1676
1677 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1678 * xmalloc.c: Likewise.
1679 (xcalloc): UWIN has sbrk.
1680 (xrealloc): Fix guard macro.
1681
252b5132
RH
16821999-04-11 Richard Henderson <rth@cygnus.com>
1683
1684 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1685 or <alloca.h>.
1686 * clock.c (GNU_HZ): New definition.
1687 (clock): Use it.
1688 * getruntime.c: Likewise.
1689
1690 * config.table: Use mh-beos.
1691 * config/mh-beos: New file.
1692
0c0a36a4
ILT
16931999-04-11 Mark Mitchell <mark@codesourcery.com>
1694
1695 * cplus-dem.c (demangle_template_value_parm): Handle
1696 pointers-to-members.
1697 (do_type): Handle template parameters as qualifiers.
1698
252b5132
RH
16991999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1700
1701 * cplus-dem.c: Attempt to handle overflows in counts with some
1702 semblance of grace.
1703 (consume_count): Detect overflows. Return -1 to indicate errors,
1704 instead of zero.
1705 (demangle_template_value_parm, demangle_template): Handle change
1706 to consume_count's return convention.
1707
0c0a36a4
ILT
17081999-04-05 Tom Tromey <tromey@cygnus.com>
1709
1710 * testsuite/regress-demangle: New file.
1711 * testsuite/demangle-expected: New file.
252b5132 1712
0c0a36a4
ILT
1713 * Makefile.in (all, check, installcheck, info, install-info,
1714 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1715 distclean, maintainer-clean, realclean): Depend on corresponding
1716 `-subdir' target.
1717 (all-subdir check-subdir installcheck-subdir info-subdir
1718 install-info-subdir clean-info-subdir dvi-subdir
1719 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1720 distclean-subdir maintainer-clean-subdir): New target.
1721 * testsuite/Makefile.in: New file.
1722 * configure: Rebuilt.
1723 * configure.in: Create testsuite/Makefile.
252b5132
RH
1724
17251999-04-02 Mark Mitchell <mark@codesourcery.com>
1726
1727 * splay-tree.h (splay_tree_compare_pointers): Define.
1728
17291999-03-30 Mark Mitchell <mark@codesourcery.com>
1730
1731 * splay-tree.c (splay_tree_compare_ints): Define.
1732
17331999-03-30 Tom Tromey <tromey@cygnus.com>
1734
1735 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1736 don't advance input pointer.
1737 (demangle_class_name): If consume_count didn't find a count, do
1738 nothing. Don't bother with `strlen' sanity check; consume_count
1739 does it for us.
1740
17411999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1742
1743 From Art Haas <ahaas@neosoft.com>:
1744 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1745 when doing arm or hp style.
1746 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1747
252b5132
RH
1748Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1749
1750 * pexecute.c (__CYGWIN32__): Rename to
1751 (__CYGWIN__): this.
1752 * xmalloc.c: Likewise.
1753
1754 Changes to support i386-pc-uwin.
1755 * configure.in (*-*-uwin*): Workaround for vfork bug.
1756 * configure: Regenerate.
1757 * pexecute.c (pexecute): Be like standard Unix.
1758 (pwait): Likewise.
1759 * xmalloc.c (first_break): Define.
1760 (xmalloc_set_program_name): Use.
1761 (xmalloc): Use.
1762
1763Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1764
1765 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1766
1767Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1768
1769 * config.table: Check cygwin*, not cygwin32*.
1770
1771Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1772
1773 * Makefile.in: Change mkstemp -> mkstemps.
1774
1775Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1776
1777 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1778 * configure.in (funcs): Check for and conditionally add mkstemps to
1779 the list of functions libiberty will provide.
1780 * configure: Rebuilt.
b4fe2683 1781
252b5132
RH
1782Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1783
b4fe2683 1784 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1785 platforms that don't have HZ.
1786 * getruntime.c (HZ): Likewise.
1787
1788Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1789
1790 * Makefile.in (xstrdup.o): Depend on config.h.
1791
1792Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1793
1794 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1795 freeing it.
1796
1797Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1798
1799 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1800
1801Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1802
1803 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1804 splay-tree.o.
1805
18061999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1807
1808 * configure.in: Require autoconf 2.12.1 or higher.
1809
18101998-12-30 Michael Meissner <meissner@cygnus.com>
1811
1812 * random.c (NULL): Don't redefine NULL if it is already defined.
1813
1814Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1815
1816 * argv.c (buildargv): Cast the result of alloca in assignment.
1817
1818 * choose-temp.c: Include stdlib.h.
1819
1820 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
1821 (snarf_numeric_literal): Constify first parameter.
1822 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1823 int, not a char.
252b5132
RH
1824 (demangle_qualifier): Likewise.
1825 (demangle_signature): Cast the argument of a ctype function to
1826 unsigned char.
1827 (arm_pt): Add parens around assignment used as truth value.
1828 (demangle_arm_hp_template): Constify variable `args'.
1829 (do_hpacc_template_const_value): Cast the argument of a ctype
1830 function to unsigned char.
1831 (do_hpacc_template_literal): Remove unused variable `i'.
1832 (snarf_numeric_literal): Constify parameter `args'.
1833 Cast the argument of a ctype function to unsigned char.
1834
1835 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 1836 avoid ambiguous `else'.
252b5132
RH
1837
1838 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
1839 `cstart' and `cend' to unsigned char. Cast the argument of macro
1840 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
1841
1842 * objalloc.c (free): Add prototype.
1843
1844Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1845
1846 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1847
1848Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1849
1850 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 1851 doesn't exist.
252b5132 1852 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1853
252b5132
RH
1854Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1855
1856 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1857 bumping the pointer we read from. Also prepend these codes,
1858 as we do in other places.
1859
18601998-12-18 Nick Clifton <nickc@cygnus.com>
1861
1862 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1863 'const char *' in order to match its usage when calling siblings.
1864 (snarf_numeric_literal): Make first arg 'const char **' in order
1865 to match usage.
1866
1867Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1868
1869 * choose-temp.c: Don't check IN_GCC anymore.
1870
1871 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1872 * memchr.c (memchr): Likewise.
1873 * memcpy.c (memcpy): Likewise.
1874 * memmove.c (memmove): Likewise.
1875
1876 * mkstemp.c: Don't check IN_GCC anymore.
1877 * pexecute.c: Likewise.
1878 * splay-tree.c: Likewise.
1879
1880 * strchr.c (strchr): Use `const', not `CONST'.
1881 * strrchr.c (strrchr): Likewise.
1882 * strtol.c (strtol): Likewise.
1883 * strtoul.c (strtoul): Likewise.
1884
1885Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1886 Elena Zannoni <ezannoni@cygnus.com>
1887 Stan Shebs <shebs@cygnus.com>
1888 Edith Epstein <eepstein@cygnus.com>
1889 Andres MacLeod <amacleod@cygnus.com>
1890 Satish Pai <pai@apollo.hp.com>
1891
1892 * HP aCC demangling support.
1893 * cplus-dem.c
1894 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
1895 demangling correctly when -edg specified; set the demangling style
1896 when user specifies 'edg'. Set strip_underscore to
1897 prepends_underscore, if not HPUXHPPA. Set
1898 current_demangling_style to hp_demangling if HPUXHPPA. Set
1899 current demangling style correctly if the switch is hp. Read
1900 label correctly also in the HP style case.
252b5132 1901 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 1902 function.
252b5132 1903 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 1904 style for this case is the same as ARM.
252b5132
RH
1905 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1906 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
1907 demangle_arm_pt.); check and set value of temp_start field in
1908 multiple places. Also, when ceching for end of template args,
1909 check to see if at end of static member of template class.
252b5132 1910 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 1911 include template args in string defining class.
252b5132
RH
1912 (demangle_class_name): use demangel_arm_hp_template.
1913 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
1914 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1915 Handle EDG_DEMANGLING style. Handle constructor and destructor
1916 ops for HP style.
252b5132 1917 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
1918 styles. global destructor and constructor for HP style are same
1919 as for ARM style. Same for local variables.
252b5132
RH
1920 (demangle_qualified): handle EDG_DEMANGLING style.
1921 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
1922 cases '1' - '9' : initialize the temp_start field to -1 and handle
1923 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1924 and AUTO_DEMANGLING styles. If expecting a function and managed
1925 to demangle the funct args, then handle the LUCID_DEMANGLING,
1926 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1927 class name after "Lnnn_ in HP style case. HP style too needs to
1928 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 1929 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 1930 value param for HP/aCC.
252b5132 1931 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 1932 literal parameter for HP aCC.
252b5132
RH
1933 (recursively_demangle): new function
1934 (snarf_numeric_literal): new function.
1935 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 1936 to message.
252b5132
RH
1937
1938Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1939
1940 * pexecute.c: Remove obsolete ifdefed cygwin code.
1941
1942Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1943
1944 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1945 * cplus-dem.c: Likewise. Conform to libiberty.h.
1946 * pexecute.c: Likewise.
1947 * splay-tree.c: Likewise.
1948
19491998-11-25 Mike Stump <mrs@wrs.com>
1950
1951 * Makefile.in (splay-tree.o): Add config.h dependency.
1952
1953Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1954
1955 * configure.in: Use AC_PREREQ(2.12.1).
1956
19571998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1958
b4fe2683 1959 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
1960
1961Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1962
1963 * mpw.c (mpw_access): Add missing parens.
1964
1965Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1966
1967 * configure.in: Call AC_HEADER_SYS_WAIT.
1968
1969 * pexecute.c: Include sys/wait.h when !IN_GCC.
1970
1971Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1972
1973 * pexecute.c: revert back to checking old Cygwin
1974 preprocessor symbol until some time has passed.
1975
1976Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1977
1978 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1979 since it will now support similar constructs.
1980
1981Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1982
1983 * configure.in: Check for calloc.
1984
1985 * calloc.c: New file.
1986
1987 * xmalloc.c (xcalloc): New function.
1988
1989Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1990
1991 *cplus-dem.c (demangle_prefix): Use the last "__"
1992 in the mangled name when looking for the signature. This allows
1993 template names to begin with "__".
1994
19951998-11-08 Mark Mitchell <mark@markmitchell.com>
1996
1997 * cplus-dem.c (type_kind_t): Add tk_reference.
1998 (demangle_template_value_parm): Handle it.
1999 (do_type): Use it for references, instead of tk_pointer.
2000
2001 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
2002 not internal_cplus_demangle.
2003
2004Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2005
2006 * choose-temp.c: Don't include gansidecl.h.
2007 * mkstemp.c: Likewise.
2008 * pexecute.c: Likewise.
2009
2010Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
2011
b4fe2683
JM
2012 * configure.in: detect cygwin* instead of cygwin32*
2013 * configure: regenerate
252b5132
RH
2014
2015Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2016
2017 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
2018 whether to include config.h. Possibly include unistd.h in the
2019 !IN_GCC case. Define VFORK_STRING as a printable function call
2020 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
2021 defined, include vfork.h. If VMS is defined, define vfork()
2022 appropriately. Remove vfork check on USG, we're using autoconf.
2023 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
2024 locally what string to use.
252b5132
RH
2025
20261998-10-26 Mark Mitchell <mark@markmitchell.com>
2027
2028 * splay-tree.c: Tweak include directives to make sure declarations of
2029 xmalloc and free are available.
2030
20311998-10-25 Mark Mitchell <mark@markmitchell.com>
2032
2033 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
2034 anonymous namespaces.
2035
20361998-10-23 Mark Mitchell <mark@markmitchell.com>
2037
2038 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
2039 with type_quals.
2040 (TYPE_UNQUALIFIED): New macro.
2041 (TYPE_QUAL_CONST): Likewise.
2042 (TYPE_QUAL_VOLATILE): Likewise.
2043 (TYPE_QUAL_RESTRICT): Likewise.
2044 (code_for_qualifier): New function.
2045 (qualifier_string): Likewise.
2046 (demangle_qualifier): Likewise.
2047 (internal_cplus_demangle): Use them.
2048 (demangle_signature): Likewise.
2049 (demangle_template_value_parm): Likewise.
2050 (do_type): Likewise.
2051 (demangle_fund_type)): Likewise.
2052
2053Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2054
2055 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2056 to match prototype.
2057
20581998-10-21 Mark Mitchell <mark@markmitchell.com>
2059
2060 * splay-tree.c: New file.
2061 * Makefile.in (CFILES): Add it.
2062 (REQUIRED_OFILES): Likewise.
2063 (splay-tree.o): Add dependencies.
2064
2065Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2066
2067 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2068 range of 'K' index.
2069
2070Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2071
2072 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2073
2074 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2075 `unsigned char'.
2076 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2077 comparing against one.
2078 (cplus_mangle_opname): Likewise.
2079 (demangle_integral_value): Cast argument of ctype macro to
2080 `unsigned char'.
2081 (demangle_template_value_parm): Likewise.
2082 (demangle_template): Initialize variable `bindex'. Cast the
2083 result of `strlen' to (int) when comparing against one. Remove
2084 unused variable `start_of_value_parm'.
2085 (demangle_class_name): Cast the result of `strlen' to (int) when
2086 comparing against one.
2087 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2088 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2089 when comparing against one.
2090 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2091 (get_count): Likewise.
2092 (do_type): Likewise. Cast the result of `strlen' to (int) when
2093 comparing against one.
2094 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2095 (demangle_function_name): Cast the result of `strlen' to (int)
2096 when comparing against one.
2097
2098 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2099 comparing against one.
2100
2101Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2102
b4fe2683
JM
2103 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2104 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2105 * config.in, configure: Rebuilt.
252b5132
RH
2106
2107 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2108 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2109 * config.in, configure: Rebuilt.
2110
2111Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2112
b4fe2683 2113 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2114
2115Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2116
2117 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2118
2119Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2120
2121 * Merge egcs & devo libiberty.
2122