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