Fix misspelling of process_init_element.
[gcc.git] / fixincludes / ChangeLog
1 2009-04-09 Jakub Jelinek <jakub@redhat.com>
2
3 * Makefile.in: Change copyright header to refer to version
4 3 of the GNU General Public License and to point readers at the
5 COPYING3 file and the FSF's license web page.
6 * fixfixes.c: Likewise.
7 * fixinc.in: Likewise.
8 * fixincl.c: Likewise.
9 * fixlib.c: Likewise.
10 * fixlib.h: Likewise.
11 * fixopts.c: Likewise.
12 * fixtests.c: Likewise.
13 * genfixes: Likewise.
14 * mkheaders.in: Likewise.
15 * system.h: Likewise.
16
17 2009-03-31 Joseph Myers <joseph@codesourcery.com>
18
19 PR c/448
20 * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
21 * fixincl.x: Regenerate.
22 * tests/base/stdint.h: Update.
23
24 2009-03-29 Joseph Myers <joseph@codesourcery.com>
25
26 * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
27 Update.
28
29 2009-03-29 Joseph Myers <joseph@codesourcery.com>
30
31 PR c/456
32 PR c/5675
33 PR c/19976
34 PR c/29116
35 PR c/31871
36 PR c/35198
37 * inclhack.def (glibc_tgmath): New fix.
38 * fixincl.x: Regenerate.
39 * tests/base/tgmath.h: New.
40
41 2009-03-28 Joseph Myers <joseph@codesourcery.com>
42
43 * inclhack.def (aix_syswait, exception_structure,
44 pthread_page_size): Remove.
45 (math_exception): Remove mention of fixproto in comment.
46 * fixincl.x: Regenerate.
47 * mkheaders.in: Do not handle STMP_FIXPROTO.
48
49 2009-03-27 Sandra Loosemore <sandra@codesourcery.com>
50
51 * server.c (run_shell): Quote directory name passed to cd.
52
53 2009-03-01 Bruce Korb <bkorb@gnu.org>
54 Apply a positively ancient patch:
55
56 2004-10-15 Giovanni Bajo <giovannibajo@libero.it>
57
58 * inclhack.def (alpha_if_semicolon): new fix from long, long ago
59 * tests/base/net/if.h: Add new test.
60
61 2009-01-06 Andreas Tobler <a.tobler@schweiz.org>
62
63 * tests/base/locale.h: Add new test.
64 * tests/base/stdarg.h: Likewise.
65
66 2009-01-05 Steve Ellcey <sje@cup.hp.com>
67
68 * inclhack.def (hpux_spu_info): Add files line.
69 * fixincl.x: Regenerate.
70
71 2009-01-01 Andreas Tobler <a.tobler@schweiz.org>
72
73 * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
74 in case of C.
75 * fixincl.x: Regenerate.
76
77 2008-12-31 Andreas Tobler <a.tobler@schweiz.org>
78
79 PR target/35460
80 * inclhack.def (openbsd_va_start): Use __builtin_va_start
81 for OpenBSD.
82 * fixincl.x: Regenerate.
83
84 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
85
86 * configure: Regenerate.
87
88 2008-12-15 Steve Ellcey <sje@cup.hp.com>
89
90 * inclhack.def (hpux_spu_info): Match PA as well as IA64.
91 * fixincl.x: Regenerate.
92
93 2008-09-06 H.J. Lu <hongjiu.lu@intel.com>
94
95 * configure.ac: Fix a typo.
96 * configured: Regenerate.
97
98 2008-09-06 Bruce Korb <bkorb@gnu.org>
99
100 * fixincl.tpl (sed): make the program executable configurable.
101 Some platforms have some rather oddball defaults.
102 * config.h.in (SED_PROGRAM): define the default sed.
103 * fixincl.x: regenerated
104 * tests/base/internal/wchar_core.h: fix bad sample text
105 * tests/base/math.h: fix bad sample text
106 * configure.ac: search for working sed
107 * inclhack.def (glibc_mutex_init): fix non-portable construct
108 and re-order a few misordered entries.
109
110 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
111
112 * configure: Regenerate.
113
114 2008-06-07 Joseph Myers <joseph@codesourcery.com>
115
116 * inclhack.def (AAB_svr4_replace_byteorder,
117 AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
118 libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
119 ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
120 solaris_mutex_init_1, solaris_socket, solaris_unistd,
121 solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
122 ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
123 ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
124 ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
125 ultrix_strings2, ultrix_sys_time, ultrix_unistd,
126 unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
127 windiss_math2, windiss_valist): Remove.
128 * fixincl.x: Regenerate.
129 * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
130 i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
131 powerpc-*-eabiaix*): Remove.
132 * tests/base/math.h: Update.
133 * tests/base/pthread.h: Update.
134 * tests/base/stdio.h: Update.
135 * tests/base/stdlib.h: Update.
136 * tests/base/string.h: Update.
137 * tests/base/strings.h: Update.
138 * tests/base/sys/file.h: Update.
139 * tests/base/sys/limits.h: Update.
140 * tests/base/sys/socket.h: Update.
141 * tests/base/sys/stat.h: Update.
142 * tests/base/sys/time.h: Update.
143 * tests/base/testing.h: Update.
144 * tests/base/unistd.h: Update.
145 * tests/base/_G_config.h: Remove.
146 * tests/base/arpa: Remove directory.
147 * tests/base/fs: Remove directory.
148 * tests/base/locale.h: Remove.
149 * tests/base/machine: Remove directory.
150 * tests/base/rpc/svc.h: Remove.
151 * tests/base/sys/ioctl.h: Remove.
152 * tests/base/sys/regset.h: Remove.
153 * tests/base/sys/times.h: Remove.
154 * tests/base/sys/utsname.h: Remove.
155 * tests/base/widec.h: Remove.
156
157 2008-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
158
159 * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
160 * tests/base/iso/math_c99.h: Update.
161 * fixincl.x: Regenerate.
162
163 2008-05-14 Joseph Myers <joseph@codesourcery.com>
164
165 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
166 posix_types_64.
167 * fixincl.x: Regenerate.
168
169 2008-04-25 Kai Tietz <kai.tietz@onvision.com>
170
171 * fixincl.c (fix_with_system): Cast pointer difference to long.
172 * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
173
174 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
175
176 PR bootstrap/35457
177 * Makefile.in: Rewrite aclocal.m4 rule.
178 * aclocal.m4: Regenerate.
179 * configure: Regenerate.
180
181 2008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
182
183 PR c++/20366
184 * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
185 * fixincl.x: Regenerate.
186 * tests/base/stdio.h: Add test.
187
188 2008-02-25 Ben Elliston <bje@au.ibm.com>
189
190 PR other/32948
191 * fixincl.c (fix_applies): Remove unused variable `name_len'.
192
193 2008-02-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
194
195 * inclhack.def (solaris_math_10): New.
196 * tests/base/iso/math_c99.h: Update.
197
198 * fixincl.x: Regenerate.
199
200 2008-02-04 Ismail Dönmez <ismail@pardus.org.tr>
201
202 * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
203 freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
204 netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
205 quotes around mach entries.
206 * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
207 to GPLv3.
208
209 2008-02-04 Hans-Peter Nilsson <hp@axis.com>
210
211 PR other/31405
212 * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
213 (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
214 __extern_inline|__GNU_STDC_INLINE__.
215 (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
216 <bypass>: Change from __STDC_VERSION__ to
217 __extern_inline|__GNU_STDC_INLINE__.
218 <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
219 appending attribute-gnu_inline.
220 <second c_fix_arg>: Remove.
221 <test_text>: Remove __extern_inline line.
222 * tests/base/features.h: Re-add.
223 * tests/base/sys/sysmacros.h: Adjust.
224 * fixincl.x: Regenerate.
225
226 2008-01-06 Hans-Peter Nilsson <hp@axis.com>
227
228 Revert last change.
229
230 2007-12-18 Hans-Peter Nilsson <hp@axis.com>
231
232 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
233 * fixincl.x: Regenerate.
234 * tests/base/wchar.h: Update.
235 * tests/base/features.h: New.
236
237 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
238
239 PR target/33700
240 * inclhack.def (hpux11_pthread_const): New.
241 * fixincl.x: Regenerate.
242 * tests/base/sys/pthread.h: Update.
243
244 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
245
246 * configure.ac: x86_64 mingw target uses twoprocess.
247 * mkfixinc.sh: Add x86_64 mingw target.
248 * configure: Regenerate.
249
250 2007-10-09 Geoffrey Keating <geoffk@apple.com>
251
252 * inclhack.def (darwin_externc): New.
253 * fixincl.x: Regenerate.
254 * tests/base/mach-o/swap.h: New.
255
256 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
257
258 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
259 Delete fixes.
260 * tests/base/iso/math_c99.h: Delete associated test baselines.
261 * fixincl.x: Regenerate.
262
263 2007-07-24 Krister Walfridsson <cato@df.lth.se>
264
265 PR target/30058
266 * inclhack.def (netbsd_c99_inline_2): New.
267 * fixincl.x: Regenerate.
268 * tests/base/signal.h: Update.
269
270 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
271
272 PR target/32641
273
274 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
275 solaris_math_7): Constify and make FP exception-safe.
276 * tests/base/iso/math_c99.h: Update.
277
278 * fixincl.x: Regenerate.
279
280 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
281
282 PR libgcj/28190
283 * inclhack.def (irix_stdint_c99): New fix.
284 * fixincl.x: Regenerate.
285 * tests/base/stdint.h: New test.
286
287 2007-06-06 Steve Ellcey <sje@cup.hp.com>
288
289 PR testsuite/31828
290 * inclhack.def (hppa_hpux_fp_macros): New.
291 * fixincl.x: Regenerate.
292 * tests/base/math.h: Update.
293
294 2007-03-26 Jakub Jelinek <jakub@redhat.com>
295
296 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
297 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
298 __STDC_VERSION__ < 199901L.
299 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
300 with #ifdef __GNUC_GNU_INLINE__.
301 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
302 with defined(__GNUC_STDC_INLINE__).
303 (glibc_c99_inline_4): Change select, add second c_fix_arg.
304 Replace #if __STDC_VERSION__ < 199901L with
305 #ifdef __GNUC_GNU_INLINE__.
306 * fixincl.x: Regenerated.
307 * tests/base/bits/string2.h: Update.
308 * tests/base/sys/sysmacros.h: Update.
309 * tests/base/sys/stat.h: Update.
310
311 2007-03-18 Krister Walfridsson <cato@df.lth.se>
312
313 PR target/30058
314 * inclhack.def (netbsd_c99_inline_1): New.
315 * fixincl.x: Regenerate.
316 * tests/base/signal.h: New.
317
318 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
319
320 * Makefile.in: Add dummy "install-info" target.
321
322 2007-03-06 Joseph Myers <joseph@codesourcery.com>
323
324 * mkheaders.in: Fix headers for each multilib required.
325
326 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
327
328 * Makefile.in: Add dummy install-pdf target.
329
330 2007-02-27 Joseph Myers <joseph@codesourcery.com>
331
332 * mkheaders.in (incdir): Use include-fixed not include.
333
334 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
335
336 * Makefile.in: Added "pdf" target to .PHONY.
337
338 2007-02-05 Richard Guenther <rguenther@suse.de>
339
340 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
341 with older glibc. Adjust version number for C99.
342 * fixincl.x: Regenerated.
343
344 2007-02-04 Mike Stump <mrs@apple.com>
345
346 * mkheaders.in: Allow optional isysroot parameter.
347
348 2007-02-03 Bruce Korb <bkorb@gnu.org>
349
350 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
351 surrounded by space characters.
352
353 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
354
355 PR target/30272
356 * inclhack.def(broken_cabs): Also remove definition of cabsl.
357 * fixincl.x: Regenerate.
358 * tests/base/math.h: Update.
359
360 2007-01-05 Bruce Korb <bkorb@gnu.org>,
361 Daniel Franke <franke.daniel@gmail.com>
362
363 PR target/30008
364 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
365 of a vertical bar ("|").
366 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
367 matching. Set SKIP_TEST flag if we are not to run a test.
368 * fixincl.x: Regenerate.
369 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
370 kandr_concat, sco_math): Replace lists of specfic file names by search
371 patterns.
372
373 2006-12-12 Olivier Hainque <hainque@adacore.com>
374
375 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
376 targets for which a no-op fixer is appropriate.
377
378 2006-11-07 Richard Guenther <rguenther@suse.de>
379
380 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
381 systems.
382 * fixincl.x: Regenerate.
383
384 2006-11-02 Geoffrey Keating <geoffk@apple.com>
385
386 * inclhack.def (glibc_c99_inline_1): New.
387 * inclhack.def (glibc_c99_inline_2): New.
388 * inclhack.def (glibc_c99_inline_3): New.
389 * inclhack.def (glibc_c99_inline_4): New.
390 * fixincl.x: Regenerate.
391 * tests/base/bits/string2.h: New.
392 * tests/base/sys/sysmacros.h: New.
393 * tests/base/sys/stat.h: Update.
394
395 2006-11-01 Steve Ellcey <sje@cup.hp.com>
396
397 * tests/base/sys/socket.h: Update.
398
399 2006-10-31 Steve Ellcey <sje@cup.hp.com>
400
401 * inclhack.def (hpux11_extern_sendfile): New.
402 (hpux11_extern_sendpath): New.
403 * fixincl.x: Regenerate.
404
405 2006-10-29 Joseph Myers <joseph@codesourcery.com>
406
407 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
408 * fixincl.x: Regenerate.
409
410 2006-10-10 Brooks Moses <bmoses@stanford.edu>
411
412 * Makefile.in: Added empty "pdf" target.
413
414 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
415
416 PR target/29300
417 * inclhack.def (hpux_pthread_initializers): New hack.
418 * tests/base/sys/pthread.h: New file.
419
420 * fixincl.x: Regenerate.
421
422 2006-10-03 Uros Bizjak <uros@kss-loka.si>
423
424 * inclhack.def (glibc_mutex_init): Also fix
425 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
426 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
427 * tests/base/pthread.h: Update.
428
429 * fixincl.x: Regenerate.
430
431 2006-10-01 Uros Bizjak <uros@kss-loka.si>
432
433 * inclhack.def (glibc_mutex_init): New fix.
434 * tests/base/pthread.h: Update.
435
436 * fixincl.x: Regenerate.
437
438 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
439
440 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
441 Prevent it from running on solaris10 or later.
442 (solaris_once_init_2): Fix comment.
443 * tests/base/pthread.h: Update.
444
445 * fixincl.x: Regenerate.
446
447 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
448
449 * inclhack.def (solaris_once_init_2): New fix.
450 * tests/base/pthread.h: Update.
451
452 * fixincl.x: Regenerate.
453
454 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
455
456 * inclhack.def (solaris_mutex_init_2): Remove test for
457 PTHREAD_RWLOCK_INITIALIZER.
458 (solaris_rwlock_init_1): New.
459 * tests/base/pthread.h: Update.
460
461 * inclhack.def (solaris_once_init_1): New.
462 * tests/base/pthread.h: Adjust for new fix.
463
464 * fixincl.x: Regenerate.
465
466 2006-07-17 Roger Sayle <roger@eyesopen.com>
467
468 * tests/base/errno.h: New file.
469 * tests/base/architecture/ppc/math.h: Likewise.
470 * tests/base/ia64/sys/getppdp.h: Likewise.
471
472 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
473
474 PR bootstrap/20437
475 * Makefile.in (configure, config.h.in): Change into $(srcdir)
476 before autoconf or autoheader call.
477
478 2006-06-23 Steve Ellcey <sje@cup.hp.com>
479
480 PR target/28084
481 * inclhack.def (hpux_extern_errno): New.
482 * fixincl.x: Regenerate.
483
484 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
485
486 * Makefile.in: Add dvi info html and install-html to .PHONY
487 Add install-html target.
488
489 2006-05-16 Mike Stump <mrs@apple.com>
490
491 * configure.ac: Add -Wno-overlength-strings.
492 * configure: Regenerate.
493
494 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
495
496 * README: Fix typo.
497
498 2006-02-18 Steve Ellcey <sje@cup.hp.com>
499
500 PR target/26189
501 * inclhack.def (hpux_spu_info): New.
502 * fixincl.x: Regenerate
503
504 2006-01-31 Marcin Dalecki <martin@dalecki.de>
505
506 * configure.ac: Check for asprintf, basename, vasprintf.
507 * config.h.in: Regenerate.
508 * configure: Regenerate.
509
510 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
511
512 PR target/15642
513 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
514 __APPLE_CC_ as 1345.
515 (broken_nan): New.
516 * fixincl.x: Regenerate.
517
518 2005-11-24 Bruce Korb <bkorb@gnu.org>
519
520 * fixincl.c (write_replacement): "here strings" in AutoGen
521 often/generally don't have a terminating newline. Check the
522 last byte for '\n'.
523
524 2005-11-13 Andreas Jaeger <aj@suse.de>
525
526 * check.tpl: Handle CVS additionally.
527
528 2005-11-05 Andreas Jaeger <aj@suse.de>
529
530 * check.tpl: Adopt for move to subversion.
531
532 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
533
534 PR c++/23139
535 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
536 fixes.
537 * fixincl.x: Regenerate.
538 * tests/base/bits/huge_val.h: New file.
539
540 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
541
542 * All files: Update with new FSF address.
543
544 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
545
546 * Makefile.in (WARN_CFLAGS): New.
547 (.c.o): Add $(WARN_CFLAGS).
548 * aclocal.m4: Include ../config/warnings.m4.
549 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
550 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
551 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
552 * fixopts.c (initialize_opts): Fix old-style definintion.
553
554 * configure: Regenerate.
555
556 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
557
558 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
559 (AAB_darwin7_9_long_double_funcs_2): New.
560 * fixincl.x: Regenerate.
561
562 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
563
564 PR libfortran/15266
565 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
566 Use double quotes in select so \t matches tabs.
567 Add IRIX testcase.
568 * fixincl.x: Regenerate.
569 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
570
571 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
572
573 PR target/21683
574 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
575
576 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
577 Joseph S. Myers <joseph@codesourcery.com>
578
579 PR target/19933
580 PR target/21315
581 * inclhack.def: New fixes solaris_math_[1-9].
582 * fixincl.x: Regenerate.
583 * tests/base/iso/math_c99.h: New.
584
585 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
586
587 * aclocal.m4: Remove superfluous reference to accross.m4.
588
589 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
590
591 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
592 * server.c (load_data): Likewise.
593 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
594 * fixincl.c: #include <sys/wait.h>
595 (run_compiles): Use XCNEWVEC instead of xcalloc.
596 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
597 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
598
599 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
600
601 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
602 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
603 * fixincl.x: Regenerate.
604
605 2005-05-06 Bruce Korb <bkorb@gnu.org>
606 Joseph S. Myers <joseph@codesourcery.com>
607
608 * fixinc/inclhack.def: Correct backslashes
609 * fixinc/fixincl.x: regen
610
611 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
612
613 * system.h (fopen, fdopen, freopen): Define these to the unlocked
614 libiberty functions.
615
616 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
617
618 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
619 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
620 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
621 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
622 _unlocked function.
623 (fwrite_unlocked): Fix prototype.
624
625 * configure, config.h.in: Regenerate.
626
627 2005-03-21 Zack Weinberg <zack@codesourcery.com>
628
629 * Makefile.in: Set gcc_version directly, not via substitution.
630 (libsubdir): Use $(gcc_version), not $(version).
631 (mkheaders.almost): New rule.
632 (mkheaders): Generate from mkheaders.almost.
633 (clean): Also delete mkheaders.almost.
634 * aclocal.m4: Do not include ../config/gcc-version.m4.
635 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
636 mkheaders.almost from mkheaders.in.
637 * configure: Regenerate.
638
639 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
640
641 PR target/20166
642 * inclhack.def: Add fix for array of incomplete structures
643 in function prototype in pthread.h.
644 * fixincl.x: Regenerate.
645 * tests/base/pthread.h: Adjust.
646
647 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
648
649 * inclhack.def (hpux_htonl): New fix.
650 * tests/base/netinet/in.h: New test.
651 * fixincl.x: Regenerate.
652
653 2005-02-23 James E Wilson <wilson@specifixinc.com>
654
655 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
656
657 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
658
659 PR 18458
660 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
661 fixincl.
662
663 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
664
665 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
666 * aclocal.m4: Include ../config/gcc-version.m4.
667 * configure: Regenerate.
668
669 2004-11-26 Mark Mitchell <mark@codesourcery.com>
670
671 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
672 (stdio_va_list): Likewise.
673 (stdio_stdarg.h): Likewise.
674 (solaris_stdio_tag): Add bypass.
675 * fixincl.x: Regenerated.
676
677 2004-11-23 Geoffrey Keating <geoffk@apple.com>
678
679 * mkfixinc.sh: Check error code from 'cat'. Don't try running
680 built fixincl program.
681 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
682 up csh from user.
683
684 2004-11-20 Roger Sayle <roger@eyesopen.com>
685
686 * inclhack.def (alpha_pthread_init): Fix technical problems with
687 the last check-in caused by CVS variable substitution.
688 * fixincl.x: Likewise.
689 * tests/base/pthread.h: Likewise.
690
691 2004-11-20 Roger Sayle <roger@eyesopen.com>
692 Bruce Korb <bkorb@gnu.org>
693
694 * inclhack.def (alpha_pthread_init): New fix.
695 * fixincl.x: Regenerate.
696 * tests/base/pthread.h: Update for new test.
697
698 2004-11-15 Bruce Korb <bkorb@gnu.org>
699
700 * fixincl.c(fix_with_system): correct misuse of variables and
701 incorrect application of "sizeof()".
702
703 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
704
705 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
706 svr4__p, undefine_null): Remove.
707 * fixincl.x: Regenerate.
708 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
709 * tests/base/sys/param.h: Remove.
710 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
711 tests/base/sys/limits.h: Update.
712
713 2004-11-12 Mike Stump <mrs@apple.com>
714
715 * Makefile.in (html): Add html generation support.
716
717 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
718
719 * inclhack.def (sco_math): Bypass on __GNUG__.
720 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
721 * fixincl.x: Regenerate.
722
723 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
724
725 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
726 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
727 _CLASSIC_ANSI_TYPES.
728 (sun_auth_proto): Bypass on __cplusplus.
729 * fixincl.x: Regenerate.
730
731 2004-11-05 Geoffrey Keating <geoffk@apple.com>
732
733 * Makefile.in (mostlyclean): Add fixinc.sh.
734 (clean): Add mkheaders.
735 (distclean): New.
736 (dvi): New.
737 (info): New.
738 (installcheck): New.
739
740 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
741
742 * Makefile.in (mostlyclean, distclean): New targets.
743
744 2004-11-04 Geoffrey Keating <geoffk@apple.com>
745
746 * configure.ac: Add code to determine noncanonical_target,
747 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
748 * configure: Regenerate.
749 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
750 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
751 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
752 update for changes to fixinc.in.
753 * Makefile.in: Add many new macros.
754 (install): New target.
755 (mkheaders): New target.
756 (fixinc.sh): New target.
757 (all): Add mkheaders and fixinc.sh.
758 * README-fixinc: Move here from gcc/.
759
760 2004-11-01 Mike Stump <mrs@apple.com>
761
762 * inclhack.def (stdio_va_list): Break out clients from here...
763 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
764 included or ifdef va_start.
765 * fixincl.x: Regenerate.
766
767 2004-10-28 Mike Stump <mrs@apple.com>
768
769 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
770 systems.
771 * fixincl.x: Regenerate.
772
773 2004-10-27 Geoffrey Keating <geoffk@apple.com>
774
775 * inclhack.def (darwin_gcc4_breakage): New.
776 * fixincl.x: Regenerate.
777
778 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
779
780 PR bootstrap/17832
781
782 * fixfixes.c (main): Check for _PC_NAME_MAX.
783
784 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
785
786 PR other/17991
787
788 * configure.ac: Fix typo.
789 * configure: Regenerate.
790 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
791
792 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
793
794 PR bootstrap/17832
795
796 * fixincl.c (SIGCHLD): Remove definition.
797 (initialize): Remove SIGIOT and SIGPIPE checks.
798 (create_file): Fix mkdir() for Win32.
799 (internal_fix): Use dup2() instead of fcntl().
800
801 * fixlib.h (SIGQUIT): Define if undefined.
802 (SIGIOT): Same.
803 (SIGPIPE): Same.
804 (SIGALRM): Same.
805 (SIGKILL): Same.
806
807 * procopen.c (chain_open): Use dup2() instead of fcntl().
808
809 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
810
811 PR other/17991
812
813 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
814 Update copyright year.
815 * fixfixes.c (main): Call initialize_opts from fixopts.c.
816 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
817 do not include code for parsing options (environment vars).
818 (fix_with_system): Use a search path for applyfix, so that you
819 can run the test suite with two-process fixincludes.
820 * fixopts.c: New file.
821 * configure.ac: Add --enable-twoprocess. Export ac_exeext
822 to config.h. Default to --enable-twoprocess for MinGW32.
823 * config.h.in: Regenerate.
824 * configure: Regenerate.
825
826 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
827
828 * tests/base/sys/cdefs.h: Update from test area.
829
830 2004-09-17 Roger Sayle <roger@eyesopen.com>
831
832 * inclhack.def (linux_ia64_ucontext): New fix.
833 * fixincl.x: Regenerate.
834 * tests/base/sys/ucontext.h: New file.
835
836 2004-09-15 Roger Sayle <roger@eyesopen.com>
837
838 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
839 * tests/base/stdlib.h: Likewise.
840
841 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
842
843 * inclhack.def (freebsd_gcc4_breakage): Add.
844 * fixincl.x: Regenerate.
845 * tests/base/sys/cdefs.h: Update for new test.
846
847 2004-09-10 Adam Nemet <anemet@lnxw.com>
848
849 * inclhack.def (lynx_void_int): Remove.
850 (lynxos_fcntl_proto): Remove.
851 (lynxos_no_warning_in_sys_time_h): New fix.
852 (lynxos_missing_putenv): New fix.
853 * fixincl.x: Regenerate.
854 * tests/base/fcntl.h: Remove.
855 * tests/base/sys/time.h: Update from test area.
856 * tests/base/curses.h: Likewise.
857 * tests/base/stdlib.h: Likewise.
858
859 2004-09-03 Jan Beulich <jbeulich@novell.com>
860
861 * inclhack.def: Suppress exception_structure and math_exception
862 for NetWare headers.
863 * fixincl.x: Regenerate.
864
865 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
866
867 * .cvsignore: New.
868 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
869 autoconfiscated.
870 * configure.ac: New.
871 * config.h.in: Generate.
872 * configure: Generate.
873 * aclocal.m4: New.
874 * fixlib.h: Remove inclusions of gcc files.
875 * system.h: New.
876
877 Other files copied from gcc/fixinc.