]> gcc.gnu.org Git - gcc.git/blame - libiberty/ChangeLog
c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
[gcc.git] / libiberty / ChangeLog
CommitLineData
d7d36ea8
PDM
1Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2
3 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
4
a2f945c6
VM
5Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
6
7 * Makefile.in (CFILES): Add hashtab.c
8 (REQUIRED_OFILES): Add hashtab.o
9 (hashtab.o): Add dependencies.
10 * hashtab.c: New file
11
7f22ec2e
MK
12Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
13
14 * basename.c (DIR_SEPARATOR): New macro.
15 (DIR_SEPARATOR_2): Likewise.
16 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
17 (IS_DIR_SEPARATOR): Likewise.
18 (main): Handle MSDOS style pathname.
19
7c56a6ce
MM
201999-10-11 Mark Mitchell <mark@codesourcery.com>
21
22 * cplus-dem.c (do_type): Handle pointer to member types whose
23 enclosing classes have namespace scope.
24
cd32188b
ME
25Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
26
27 * config.table: Provide a backup shell for executing move-if-change.
28
fc232f7a
MM
291999-10-02 Mark Mitchell <mark@codesourcery.com>
30
31 * xmalloc.c (xmalloc): Fix spelling error.
32 (xcalloc, xrealloc): Likewise.
33
2a138827
KG
341999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
35
36 * cplus-dem.c (fancy_abort, demangle_integral_value,
37 demangle_arm_hp_template, recursively_demangle,
38 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
39 (program_name, program_version, fatal): Constify a char*.
40 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
41 (main): Call return, not exit.
42
5a657fc3
KG
431999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
44
45 * choose-temp.c: Remove obsolete comment about gcc.
46 (make_temp_file): Constify a char*.
47
33c5ddcd
KG
48Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
49
50 * xmemdup.c: Include sys/types.h.
51
b10647f1
JG
521999-09-07 Jeff Garzik <jgarzik@pobox.com>
53
54 * xmemdup.c: New xmemdup function.
55 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
56
3dd6c3af
LV
57Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
58
59 * config.table: Add openedition target.
60 * config/mh-openedition: New file.
61
19e28e2a
ME
62Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
63
64 * pexecute.c (pexecute): Fill in temp_base when needed.
65
4dfeccf9
RH
661999-08-31 Richard Henderson <rth@cygnus.com>
67
68 * getpwd.c: Check HAVE_GETCWD before defining it away.
69
4ac3cb83
KG
701999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
71
72 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
73 (REQUIRED_OFILES): Add getpwd.o.
74 (getpwd.o): Add target.
75
76 * configure.in (AC_PREREQ): Bump to 2.13.
77 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
78
79 * getpwd.c: New file, moved here from gcc.
80
e797ff70
KG
811999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
82
83 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
84 comparing against a signed quantity.
85 (arm_special): Likewise.
86 (demangle_fund_type): Likewise.
87 (do_hpacc_template_const_value): Mark parameter `work' with
88 ATTRIBUTE_UNUSED.
89 (main): Constify variable `valid_symbols'.
90
55247fce
PDM
91Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
92
93 * strtoul.c (strtoul): Add parentheses around && within ||.
94
76632dd0
DJ
95Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
96
97 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
98 libdir, libsubdir and tooldir.
99
d080bbfa
MM
1001999-08-01 Mark Mitchell <mark@codesourcery.com>
101
102 * splay-tree.c (splay_tree_insert): Return the new node.
103
a81c752a
RH
1041999-07-14 Richard Henderson <rth@cygnus.com>
105
106 * argv.c: Include stdlib.h and string.h instead of
107 prototyping directly.
108 * choose-temp.c: Conditionally include string.h.
109
8f1824d9
JM
1101999-07-12 Jason Merrill <jason@yorick.cygnus.com>
111
112 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
113
652374d3
ILT
1141999-07-11 Ian Lance Taylor <ian@zembu.com>
115
116 * splay-tree.c (splay_tree_insert): Add initialization to avoid
117 warning.
118
a4494286
JM
1191999-07-07 Jason Merrill <jason@yorick.cygnus.com>
120
121 * Makefile.in (needed-list): Only include stuff we actually need
122 for libstdc++.
123
90e72e20
AS
1241999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
125
126 * configure.in (checkfuncs): Add gettimeofday.
127 * config.in, configure: Regenerated.
128
b569200e
MK
129Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
130
131 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
132 the test fails.
133 * configure: Regenerate.
134
73919448
MS
1351999-06-10 Mike Stump <mrs@wrs.com>
136
137 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
138 parallel builds.
139
fee9125c
KG
1401999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
141
142 * putenv.c: Include ansidecl.h to define `const'.
143 * setenv.c: Likewise.
144
71cce721
MN
145Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
146
a7c9637f
JL
147 * Makefile.in (CFILES): Add putenv.c and setenv.c.
148 * configure.in (funcs): Add putenv and setenv.
149 (AC_CHECK_FUNCS): Check for putenv and setenv.
150 * configure: Rebuilt.
151 * putenv.c setenv.c: New files.
152
71cce721
MN
153 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
154 bytes of space using malloc.
155
53504016
SG
156Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
157
158 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
159 the *mangled pointer beyond the end of the string. Clean up code to
160 match prevailing coding style.
161
34842539
MH
1621999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
163
164 * tmpnam.c (L_tmpnam): Fix typo.
165
3a08531d
ME
166Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
167
168 * cplus-dem.c (standard_symbol_characters): Renamed from
169 standard_symbol_alphabet. No longer modify TABLE.
170 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
171 modify TABLE.
172 (main): Corresponding changes. Use strchr to determine if a
173 character is valid.
174
8db9d08b
JB
1751999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
176
177 * cplus-dem.c (main): Use table lookup to distinguish identifier
178 characters from non-identifier characters.
179 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
180
6a071f4a
FF
181Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
182
183 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
184 * getruntime.c: Only attempt to include sys/resource.h and
185 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
186 are defined.
187
7dd88617
DT
188Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
189
190 * configure.in (alloca detection): Handle alloca directly for interix.
191 * configure: Rebuilt.
192
7a1528bc
MK
193Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
194
195 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
196
76409268
JB
1971999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
198
199 Fix from Dale Hawkins:
200 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
201 reallocated properly if we use it again.
202
203 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
204 stricter about syntax. Always null-terminate string.
205
acbbd80a
MK
206Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
207
208 * configure.in (checkfuncs): Check for sbrk.
209 * config.in: Rebuilt.
210 * configure: Likewise.
211 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
212
92523551
JB
2131999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
214
215 Fix from Marcus Daniels:
216 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
217 identifier looking for another underscore.
218
36eb4217
MK
219Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
220
221 * pexecute.c: Change all references to __UWIN__ to _UWIN.
222 * xmalloc.c: Likewise.
223 (xcalloc): UWIN has sbrk.
224 (xrealloc): Fix guard macro.
225
2c45d1a0
RH
2261999-04-11 Richard Henderson <rth@cygnus.com>
227
228 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
229 or <alloca.h>.
230 * clock.c (GNU_HZ): New definition.
231 (clock): Use it.
232 * getruntime.c: Likewise.
233
234 * config.table: Use mh-beos.
235 * config/mh-beos: New file.
236
391cdef0
MM
2371999-04-11 Mark Mitchell <mark@codesourcery.com>
238
239 * cplus-dem.c (demangle_template_value_parm): Handle
240 pointers-to-members.
241 (do_type): Handle template parameters as qualifiers.
242
9d229989
JB
2431999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
244
245 * cplus-dem.c: Attempt to handle overflows in counts with some
246 semblance of grace.
247 (consume_count): Detect overflows. Return -1 to indicate errors,
248 instead of zero.
249 (demangle_template_value_parm, demangle_template): Handle change
250 to consume_count's return convention.
251
7c72138a
TT
2521999-04-05 Tom Tromey <tromey@cygnus.com>
253
254 * testsuite/regress-demangle: New file.
255 * testsuite/demangle-expected: New file.
256
257 * Makefile.in (all, check, installcheck, info, install-info,
258 clean-info, dvi, install, etags, tags, mostlyclean, clean,
259 distclean, maintainer-clean, realclean): Depend on corresponding
260 `-subdir' target.
261 (all-subdir check-subdir installcheck-subdir info-subdir
262 install-info-subdir clean-info-subdir dvi-subdir
263 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
264 distclean-subdir maintainer-clean-subdir): New target.
265 * testsuite/Makefile.in: New file.
266 * configure: Rebuilt.
267 * configure.in: Create testsuite/Makefile.
268
ae7f7270
MM
2691999-04-02 Mark Mitchell <mark@codesourcery.com>
270
271 * splay-tree.h (splay_tree_compare_pointers): Define.
272
30f72379
MM
2731999-03-30 Mark Mitchell <mark@codesourcery.com>
274
275 * splay-tree.c (splay_tree_compare_ints): Define.
276
4cc48683
TT
2771999-03-30 Tom Tromey <tromey@cygnus.com>
278
279 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
280 don't advance input pointer.
281 (demangle_class_name): If consume_count didn't find a count, do
282 nothing. Don't bother with `strlen' sanity check; consume_count
283 does it for us.
284
3510075c
JL
2851999-03-16 Stan Shebs <shebs@andros.cygnus.com>
286
287 From Art Haas <ahaas@neosoft.com>:
288 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
289 when doing arm or hp style.
290 (demangle_nested_args): Decr forgetting_types field when done.
291
89f602a7
MK
292Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
293
294 * pexecute.c (__CYGWIN32__): Rename to
295 (__CYGWIN__): this.
296 * xmalloc.c: Likewise.
297
298 Changes to support i386-pc-uwin.
299 * configure.in (*-*-uwin*): Workaround for vfork bug.
300 * configure: Regenerate.
301 * pexecute.c (pexecute): Be like standard Unix.
302 (pwait): Likewise.
303 * xmalloc.c (first_break): Define.
304 (xmalloc_set_program_name): Use.
305 (xmalloc): Use.
306
9346c824
FS
307Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
308
309 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
310
3510075c
JL
311Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
312
313 * config.table: Check cygwin*, not cygwin32*.
314
8ec65f13
DB
315Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
316
317 * Makefile.in: Change mkstemp -> mkstemps.
318
687361c8
ME
319Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
320
321 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
322 * configure.in (funcs): Check for and conditionally add mkstemps to
323 the list of functions libiberty will provide.
324 * configure: Rebuilt.
325
b207e09c
MK
326Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
327
328 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
329 platforms that don't have HZ.
330 * getruntime.c (HZ): Likewise.
331
16b4c15e
RH
332Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
333
334 * Makefile.in (xstrdup.o): Depend on config.h.
335
38beb75c
UD
336Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
337
338 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
339 freeing it.
340
7e4311a3
KG
341Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
342
343 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
344
3510075c
JL
345Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
346
347 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
348 splay-tree.o.
349
3501999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
351
352 * configure.in: Require autoconf 2.12.1 or higher.
353
fb9939b8
MM
3541998-12-30 Michael Meissner <meissner@cygnus.com>
355
356 * random.c (NULL): Don't redefine NULL if it is already defined.
357
087aa398
KG
358Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
359
360 * argv.c (buildargv): Cast the result of alloca in assignment.
361
362 * choose-temp.c: Include stdlib.h.
38beb75c 363
087aa398
KG
364 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
365 (snarf_numeric_literal): Constify first parameter.
366 (code_for_qualifier): Avoid a gcc extension, make the parameter an
367 int, not a char.
368 (demangle_qualifier): Likewise.
369 (demangle_signature): Cast the argument of a ctype function to
370 unsigned char.
371 (arm_pt): Add parens around assignment used as truth value.
372 (demangle_arm_hp_template): Constify variable `args'.
373 (do_hpacc_template_const_value): Cast the argument of a ctype
374 function to unsigned char.
375 (do_hpacc_template_literal): Remove unused variable `i'.
376 (snarf_numeric_literal): Constify parameter `args'.
377 Cast the argument of a ctype function to unsigned char.
378
379 * floatformat.c (floatformat_to_double): Add explicit braces to
380 avoid ambiguous `else'.
38beb75c 381
087aa398
KG
382 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
383 `cstart' and `cend' to unsigned char. Cast the argument of macro
384 `FOLD', which uses ctype functions, to unsigned char.
385
386 * objalloc.c (free): Add prototype.
387
21f2174d
HPN
388Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
389
390 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
391
3510075c
JL
392Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
393
394 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
395 doesn't exist.
396 (do_hpacc_template_literal): remove unused variable `i'.
397
e8fc8222
AM
398Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
399
400 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
401 bumping the pointer we read from. Also prepend these codes,
402 as we do in other places.
403
3510075c
JL
4041998-12-18 Nick Clifton <nickc@cygnus.com>
405
406 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
407 'const char *' in order to match its usage when calling siblings.
408 (snarf_numeric_literal): Make first arg 'const char **' in order
409 to match usage.
11a0bb74 410
f4f30aa1
JL
411Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
412
11a0bb74
KG
413 * choose-temp.c: Don't check IN_GCC anymore.
414
415 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
416 * memchr.c (memchr): Likewise.
417 * memcpy.c (memcpy): Likewise.
418 * memmove.c (memmove): Likewise.
38beb75c 419
11a0bb74
KG
420 * mkstemp.c: Don't check IN_GCC anymore.
421 * pexecute.c: Likewise.
422 * splay-tree.c: Likewise.
38beb75c 423
11a0bb74
KG
424 * strchr.c (strchr): Use `const', not `CONST'.
425 * strrchr.c (strrchr): Likewise.
426 * strtol.c (strtol): Likewise.
427 * strtoul.c (strtoul): Likewise.
428
70d5ccef
DT
429Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
430 Elena Zannoni <ezannoni@cygnus.com>
431 Stan Shebs <shebs@cygnus.com>
432 Edith Epstein <eepstein@cygnus.com>
433 Andres MacLeod <amacleod@cygnus.com>
434 Satish Pai <pai@apollo.hp.com>
435
436 * HP aCC demangling support.
437 * cplus-dem.c
438 (main): Remove default to HP style demangling, set to EDG
439 demangling correctly when -edg specified; set the demangling style
440 when user specifies 'edg'. Set strip_underscore to
441 prepends_underscore, if not HPUXHPPA. Set
442 current_demangling_style to hp_demangling if HPUXHPPA. Set
443 current demangling style correctly if the switch is hp. Read
444 label correctly also in the HP style case.
445 (work_stuff): add temp_start field; add field for volatile member
446 function.
447 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
448 style for this case is the same as ARM.
449 (demangle_args): handle EDG_DEMANGLING style; support HP style.
450 (demangle_arm_hp_template): new function. (It was
451 demangle_arm_pt.); check and set value of temp_start field in
452 multiple places. Also, when ceching for end of template args,
453 check to see if at end of static member of template class.
454 (demangle_class): new local variable : save_class_name_end Don't
455 include template args in string defining class.
456 (demangle_class_name): use demangel_arm_hp_template.
457 (demangle_function_name): handle case where demangling style is
458 HP_DEMANGLING and currently point at an 'X' in the mangled name.
459 Handle EDG_DEMANGLING style. Handle constructor and destructor
460 ops for HP style.
461 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
462 styles. global destructor and constructor for HP style are same
463 as for ARM style. Same for local variables.
464 (demangle_qualified): handle EDG_DEMANGLING style.
465 (demangle_signature): add case for volatile member function. For
466 cases '1' - '9' : initialize the temp_start field to -1 and handle
467 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
468 and AUTO_DEMANGLING styles. If expecting a function and managed
469 to demangle the funct args, then handle the LUCID_DEMANGLING,
470 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
471 class name after "Lnnn_ in HP style case. HP style too needs to
472 forget types. _nnn is OK for HP style, so don't report failure.
473 (do_hpacc_template_const_value): new function. Handle template's
474 value param for HP/aCC.
475 (do_hpacc_template_literal): new function. Handle a template's
476 literal parameter for HP aCC.
477 (recursively_demangle): new function
478 (snarf_numeric_literal): new function.
479 (usage): add 'edg' to the list of demangling styles; add hp switch
480 to message.
481
8d525fa8
CF
482Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
483
484 * pexecute.c: Remove obsolete ifdefed cygwin code.
485
9b1a92d8
KG
486Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
487
488 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
489 * cplus-dem.c: Likewise. Conform to libiberty.h.
490 * pexecute.c: Likewise.
491 * splay-tree.c: Likewise.
492
c85c3232
MS
4931998-11-25 Mike Stump <mrs@wrs.com>
494
495 * Makefile.in (splay-tree.o): Add config.h dependency.
496
35a6cd99
KG
497Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
498
499 * configure.in: Use AC_PREREQ(2.12.1).
500
6e6e34b7
BK
5011998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
502
503 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
504
59b67c11
JL
505Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
506
507 * mpw.c (mpw_access): Add missing parens.
508
a6458d1d
KG
509Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
510
511 * configure.in: Call AC_HEADER_SYS_WAIT.
512
513 * pexecute.c: Include sys/wait.h when !IN_GCC.
514
3510075c
JL
515Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
516
517 * pexecute.c: revert back to checking old Cygwin
518 preprocessor symbol until some time has passed.
519
520Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
521
522 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
523 since it will now support similar constructs.
524
a9acf741
KG
525Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
526
527 * configure.in: Check for calloc.
528
529 * calloc.c: New file.
530
531 * xmalloc.c (xcalloc): New function.
532
a49fb37a
AM
533Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
534
535 *cplus-dem.c (demangle_prefix): Use the last "__"
536 in the mangled name when looking for the signature. This allows
537 template names to begin with "__".
538
0e714131
MM
5391998-11-08 Mark Mitchell <mark@markmitchell.com>
540
ec2288ff
MM
541 * cplus-dem.c (type_kind_t): Add tk_reference.
542 (demangle_template_value_parm): Handle it.
543 (do_type): Use it for references, instead of tk_pointer.
544
0e714131
MM
545 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
546 not internal_cplus_demangle.
547
2931b6d4
KG
548Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
549
550 * choose-temp.c: Don't include gansidecl.h.
551 * mkstemp.c: Likewise.
552 * pexecute.c: Likewise.
553
dd8f3ed5
GN
554Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
555
556 * configure.in: detect cygwin* instead of cygwin32*
557 * configure: regenerate
558
c5f7c445
KG
559Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
560
561 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
562 whether to include config.h. Possibly include unistd.h in the
563 !IN_GCC case. Define VFORK_STRING as a printable function call
564 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
565 defined, include vfork.h. If VMS is defined, define vfork()
566 appropriately. Remove vfork check on USG, we're using autoconf.
567 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
568 locally what string to use.
569
ad3ef78e
MM
5701998-10-26 Mark Mitchell <mark@markmitchell.com>
571
572 * splay-tree.c: Tweak include directives to make sure declarations of
573 xmalloc and free are available.
574
224301c1
MM
5751998-10-25 Mark Mitchell <mark@markmitchell.com>
576
577 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
578 anonymous namespaces.
38beb75c 579
d9db46fd
MM
5801998-10-23 Mark Mitchell <mark@markmitchell.com>
581
582 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
583 with type_quals.
584 (TYPE_UNQUALIFIED): New macro.
585 (TYPE_QUAL_CONST): Likewise.
586 (TYPE_QUAL_VOLATILE): Likewise.
587 (TYPE_QUAL_RESTRICT): Likewise.
588 (code_for_qualifier): New function.
589 (qualifier_string): Likewise.
590 (demangle_qualifier): Likewise.
591 (internal_cplus_demangle): Use them.
592 (demangle_signature): Likewise.
593 (demangle_template_value_parm): Likewise.
594 (do_type): Likewise.
595 (demangle_fund_type)): Likewise.
224301c1 596
b056ad1c
KG
597Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
598
599 * splay-tree.c (splay_tree_foreach_helper): Make definition static
600 to match prototype.
601
ed87f9c8
MM
6021998-10-21 Mark Mitchell <mark@markmitchell.com>
603
604 * splay-tree.c: New file.
605 * Makefile.in (CFILES): Add it.
606 (REQUIRED_OFILES): Likewise.
607 (splay-tree.o): Add dependencies.
608
e0c13971
AS
609Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
610
611 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
612 range of 'K' index.
613
91e0f659
KG
614Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
615
616 * choose-temp.c: Prototype mkstemps() when IN_GCC.
617
618 * cplus-dem.c (consume_count): Cast argument of ctype macro to
619 `unsigned char'.
620 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
621 comparing against one.
622 (cplus_mangle_opname): Likewise.
623 (demangle_integral_value): Cast argument of ctype macro to
624 `unsigned char'.
625 (demangle_template_value_parm): Likewise.
626 (demangle_template): Initialize variable `bindex'. Cast the
627 result of `strlen' to (int) when comparing against one. Remove
628 unused variable `start_of_value_parm'.
629 (demangle_class_name): Cast the result of `strlen' to (int) when
630 comparing against one.
631 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
632 (gnu_special): Likewise. Cast the result of `strlen' to (int)
633 when comparing against one.
634 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
635 (get_count): Likewise.
636 (do_type): Likewise. Cast the result of `strlen' to (int) when
637 comparing against one.
638 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
639 (demangle_function_name): Cast the result of `strlen' to (int)
640 when comparing against one.
641
642 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
643 comparing against one.
644
73aeb2ff
JL
645Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
646
ae76f1be
JL
647 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
648 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
649 * config.in, configure: Rebuilt.
650
73aeb2ff
JL
651 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
652 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
653 * config.in, configure: Rebuilt.
654
dd8f3ed5
GN
655Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
656
657 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
658
f77d8413
MT
659Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
660
661 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
662
ca6b370d
JL
663Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
664
665 * Merge egcs & devo libiberty.
666
ab4856b1
ML
667