]> git.ipfire.org Git - thirdparty/gcc.git/blame - fixincludes/ChangeLog
2009-03-29 Richard Guenther <rguenther@suse.de>
[thirdparty/gcc.git] / fixincludes / ChangeLog
CommitLineData
f2397fc4 12009-03-28 Joseph Myers <joseph@codesourcery.com>
2
3 * inclhack.def (aix_syswait, exception_structure,
4 pthread_page_size): Remove.
5 (math_exception): Remove mention of fixproto in comment.
6 * fixincl.x: Regenerate.
7 * mkheaders.in: Do not handle STMP_FIXPROTO.
8
64b64bb5 92009-03-27 Sandra Loosemore <sandra@codesourcery.com>
10
11 * server.c (run_shell): Quote directory name passed to cd.
12
9eeea14e 132009-03-01 Bruce Korb <bkorb@gnu.org>
14 Apply a positively ancient patch:
15
16 2004-10-15 Giovanni Bajo <giovannibajo@libero.it>
ee934637 17
18 * inclhack.def (alpha_if_semicolon): new fix from long, long ago
19 * tests/base/net/if.h: Add new test.
20
813813f6 212009-01-06 Andreas Tobler <a.tobler@schweiz.org>
22
23 * tests/base/locale.h: Add new test.
24 * tests/base/stdarg.h: Likewise.
25
82e0c24e 262009-01-05 Steve Ellcey <sje@cup.hp.com>
27
28 * inclhack.def (hpux_spu_info): Add files line.
29 * fixincl.x: Regenerate.
30
6dcfb197 312009-01-01 Andreas Tobler <a.tobler@schweiz.org>
32
33 * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
34 in case of C.
35 * fixincl.x: Regenerate.
36
2b0752cc 372008-12-31 Andreas Tobler <a.tobler@schweiz.org>
38
39 PR target/35460
40 * inclhack.def (openbsd_va_start): Use __builtin_va_start
41 for OpenBSD.
42 * fixincl.x: Regenerate.
43
9e6fd619 442008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
45
46 * configure: Regenerate.
47
0789791e 482008-12-15 Steve Ellcey <sje@cup.hp.com>
49
50 * inclhack.def (hpux_spu_info): Match PA as well as IA64.
51 * fixincl.x: Regenerate.
52
726a0909 532008-09-06 H.J. Lu <hongjiu.lu@intel.com>
54
55 * configure.ac: Fix a typo.
56 * configured: Regenerate.
57
b32d497c 582008-09-06 Bruce Korb <bkorb@gnu.org>
59
60 * fixincl.tpl (sed): make the program executable configurable.
61 Some platforms have some rather oddball defaults.
62 * config.h.in (SED_PROGRAM): define the default sed.
63 * fixincl.x: regenerated
64 * tests/base/internal/wchar_core.h: fix bad sample text
65 * tests/base/math.h: fix bad sample text
66 * configure.ac: search for working sed
67 * inclhack.def (glibc_mutex_init): fix non-portable construct
68 and re-order a few misordered entries.
69
5b2c7553 702008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
71
72 * configure: Regenerate.
73
6af9f7ea 742008-06-07 Joseph Myers <joseph@codesourcery.com>
75
76 * inclhack.def (AAB_svr4_replace_byteorder,
77 AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
78 libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
79 ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
80 solaris_mutex_init_1, solaris_socket, solaris_unistd,
81 solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
82 ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
83 ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
84 ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
85 ultrix_strings2, ultrix_sys_time, ultrix_unistd,
86 unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
87 windiss_math2, windiss_valist): Remove.
88 * fixincl.x: Regenerate.
89 * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
90 i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
91 powerpc-*-eabiaix*): Remove.
92 * tests/base/math.h: Update.
93 * tests/base/pthread.h: Update.
94 * tests/base/stdio.h: Update.
95 * tests/base/stdlib.h: Update.
96 * tests/base/string.h: Update.
97 * tests/base/strings.h: Update.
98 * tests/base/sys/file.h: Update.
99 * tests/base/sys/limits.h: Update.
100 * tests/base/sys/socket.h: Update.
101 * tests/base/sys/stat.h: Update.
102 * tests/base/sys/time.h: Update.
103 * tests/base/testing.h: Update.
104 * tests/base/unistd.h: Update.
105 * tests/base/_G_config.h: Remove.
106 * tests/base/arpa: Remove directory.
107 * tests/base/fs: Remove directory.
108 * tests/base/locale.h: Remove.
109 * tests/base/machine: Remove directory.
110 * tests/base/rpc/svc.h: Remove.
111 * tests/base/sys/ioctl.h: Remove.
112 * tests/base/sys/regset.h: Remove.
113 * tests/base/sys/times.h: Remove.
114 * tests/base/sys/utsname.h: Remove.
115 * tests/base/widec.h: Remove.
116
35fcf460 1172008-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
118
119 * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
120 * tests/base/iso/math_c99.h: Update.
121 * fixincl.x: Regenerate.
122
8f4ca8fb 1232008-05-14 Joseph Myers <joseph@codesourcery.com>
124
125 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
126 posix_types_64.
127 * fixincl.x: Regenerate.
128
4347559e 1292008-04-25 Kai Tietz <kai.tietz@onvision.com>
130
131 * fixincl.c (fix_with_system): Cast pointer difference to long.
132 * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
133
6a88da51 1342008-04-18 Paolo Bonzini <bonzini@gnu.org>
135
136 PR bootstrap/35457
137 * Makefile.in: Rewrite aclocal.m4 rule.
138 * aclocal.m4: Regenerate.
139 * configure: Regenerate.
140
3d906fac 1412008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
142
143 PR c++/20366
144 * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
145 * fixincl.x: Regenerate.
146 * tests/base/stdio.h: Add test.
147
5243b29d 1482008-02-25 Ben Elliston <bje@au.ibm.com>
149
150 PR other/32948
151 * fixincl.c (fix_applies): Remove unused variable `name_len'.
152
1b0a9ef1 1532008-02-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
154
155 * inclhack.def (solaris_math_10): New.
156 * tests/base/iso/math_c99.h: Update.
157
158 * fixincl.x: Regenerate.
159
d3eff7bb 1602008-02-04 Ismail Dönmez <ismail@pardus.org.tr>
b8780944 161
162 * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
163 freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
164 netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
165 quotes around mach entries.
166 * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
167 to GPLv3.
168
661832db 1692008-02-04 Hans-Peter Nilsson <hp@axis.com>
170
bcd35210 171 PR other/31405
661832db 172 * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
173 (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
174 __extern_inline|__GNU_STDC_INLINE__.
175 (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
176 <bypass>: Change from __STDC_VERSION__ to
177 __extern_inline|__GNU_STDC_INLINE__.
178 <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
179 appending attribute-gnu_inline.
180 <second c_fix_arg>: Remove.
181 <test_text>: Remove __extern_inline line.
182 * tests/base/features.h: Re-add.
183 * tests/base/sys/sysmacros.h: Adjust.
184 * fixincl.x: Regenerate.
185
b47b1d39 1862008-01-06 Hans-Peter Nilsson <hp@axis.com>
187
188 Revert last change.
189
cf73d814 1902007-12-18 Hans-Peter Nilsson <hp@axis.com>
191
192 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
193 * fixincl.x: Regenerate.
194 * tests/base/wchar.h: Update.
195 * tests/base/features.h: New.
196
3c6ef6a2 1972007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
198
199 PR target/33700
200 * inclhack.def (hpux11_pthread_const): New.
201 * fixincl.x: Regenerate.
202 * tests/base/sys/pthread.h: Update.
203
41d0a435 2042007-10-12 Kai Tietz <kai.tietz@onevision.com>
205
206 * configure.ac: x86_64 mingw target uses twoprocess.
207 * mkfixinc.sh: Add x86_64 mingw target.
208 * configure: Regenerate.
209
1908d6ac 2102007-10-09 Geoffrey Keating <geoffk@apple.com>
211
212 * inclhack.def (darwin_externc): New.
213 * fixincl.x: Regenerate.
214 * tests/base/mach-o/swap.h: New.
215
e1a0c212 2162007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
217
218 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
219 Delete fixes.
220 * tests/base/iso/math_c99.h: Delete associated test baselines.
221 * fixincl.x: Regenerate.
222
759bfb14 2232007-07-24 Krister Walfridsson <cato@df.lth.se>
224
225 PR target/30058
226 * inclhack.def (netbsd_c99_inline_2): New.
227 * fixincl.x: Regenerate.
228 * tests/base/signal.h: Update.
229
837a67da 2302007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
231
232 PR target/32641
233
234 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
235 solaris_math_7): Constify and make FP exception-safe.
236 * tests/base/iso/math_c99.h: Update.
237
238 * fixincl.x: Regenerate.
239
5fb066e6 2402007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
241
242 PR libgcj/28190
243 * inclhack.def (irix_stdint_c99): New fix.
244 * fixincl.x: Regenerate.
245 * tests/base/stdint.h: New test.
246
31ee57b1 2472007-06-06 Steve Ellcey <sje@cup.hp.com>
248
249 PR testsuite/31828
250 * inclhack.def (hppa_hpux_fp_macros): New.
251 * fixincl.x: Regenerate.
252 * tests/base/math.h: Update.
253
7e4d47f0 2542007-03-26 Jakub Jelinek <jakub@redhat.com>
255
256 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
257 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
258 __STDC_VERSION__ < 199901L.
259 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
260 with #ifdef __GNUC_GNU_INLINE__.
261 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
262 with defined(__GNUC_STDC_INLINE__).
263 (glibc_c99_inline_4): Change select, add second c_fix_arg.
264 Replace #if __STDC_VERSION__ < 199901L with
265 #ifdef __GNUC_GNU_INLINE__.
266 * fixincl.x: Regenerated.
267 * tests/base/bits/string2.h: Update.
268 * tests/base/sys/sysmacros.h: Update.
269 * tests/base/sys/stat.h: Update.
270
4cbf73b4 2712007-03-18 Krister Walfridsson <cato@df.lth.se>
272
273 PR target/30058
274 * inclhack.def (netbsd_c99_inline_1): New.
275 * fixincl.x: Regenerate.
276 * tests/base/signal.h: New.
277
d6eaff55 2782007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
279
280 * Makefile.in: Add dummy "install-info" target.
281
6ea4242f 2822007-03-06 Joseph Myers <joseph@codesourcery.com>
283
284 * mkheaders.in: Fix headers for each multilib required.
285
b4eedf89 2862007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
287
288 * Makefile.in: Add dummy install-pdf target.
289
d3036f42 2902007-02-27 Joseph Myers <joseph@codesourcery.com>
291
292 * mkheaders.in (incdir): Use include-fixed not include.
293
855b4c48 2942007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
295
296 * Makefile.in: Added "pdf" target to .PHONY.
297
a4cef59c 2982007-02-05 Richard Guenther <rguenther@suse.de>
299
300 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
301 with older glibc. Adjust version number for C99.
302 * fixincl.x: Regenerated.
303
87d7f31d 3042007-02-04 Mike Stump <mrs@apple.com>
305
306 * mkheaders.in: Allow optional isysroot parameter.
307
560b9c9b 3082007-02-03 Bruce Korb <bkorb@gnu.org>
309
310 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
311 surrounded by space characters.
312
462510b2 3132007-01-25 Daniel Franke <franke.daniel@gmail.com>
314
315 PR target/30272
316 * inclhack.def(broken_cabs): Also remove definition of cabsl.
317 * fixincl.x: Regenerate.
318 * tests/base/math.h: Update.
319
e9afa104 3202007-01-05 Bruce Korb <bkorb@gnu.org>,
321 Daniel Franke <franke.daniel@gmail.com>
322
323 PR target/30008
324 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
325 of a vertical bar ("|").
476511b6 326 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
327 matching. Set SKIP_TEST flag if we are not to run a test.
e9afa104 328 * fixincl.x: Regenerate.
329 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
330 kandr_concat, sco_math): Replace lists of specfic file names by search
331 patterns.
332
d182b301 3332006-12-12 Olivier Hainque <hainque@adacore.com>
334
335 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
336 targets for which a no-op fixer is appropriate.
337
7d47204e 3382006-11-07 Richard Guenther <rguenther@suse.de>
339
340 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
341 systems.
342 * fixincl.x: Regenerate.
343
efb8e7bf 3442006-11-02 Geoffrey Keating <geoffk@apple.com>
345
346 * inclhack.def (glibc_c99_inline_1): New.
347 * inclhack.def (glibc_c99_inline_2): New.
348 * inclhack.def (glibc_c99_inline_3): New.
349 * inclhack.def (glibc_c99_inline_4): New.
350 * fixincl.x: Regenerate.
351 * tests/base/bits/string2.h: New.
352 * tests/base/sys/sysmacros.h: New.
353 * tests/base/sys/stat.h: Update.
354
597276f8 3552006-11-01 Steve Ellcey <sje@cup.hp.com>
356
357 * tests/base/sys/socket.h: Update.
358
1cb3e86d 3592006-10-31 Steve Ellcey <sje@cup.hp.com>
360
361 * inclhack.def (hpux11_extern_sendfile): New.
362 (hpux11_extern_sendpath): New.
363 * fixincl.x: Regenerate.
364
54bb64fb 3652006-10-29 Joseph Myers <joseph@codesourcery.com>
366
367 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
368 * fixincl.x: Regenerate.
369
51f93521 3702006-10-10 Brooks Moses <bmoses@stanford.edu>
371
372 * Makefile.in: Added empty "pdf" target.
373
3dd59d44 3742006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
375
376 PR target/29300
377 * inclhack.def (hpux_pthread_initializers): New hack.
378 * tests/base/sys/pthread.h: New file.
379
380 * fixincl.x: Regenerate.
381
d0f017a1 3822006-10-03 Uros Bizjak <uros@kss-loka.si>
383
384 * inclhack.def (glibc_mutex_init): Also fix
385 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
386 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
a210f085 387 * tests/base/pthread.h: Update.
388
389 * fixincl.x: Regenerate.
d0f017a1 390
a1b11617 3912006-10-01 Uros Bizjak <uros@kss-loka.si>
392
d0f017a1 393 * inclhack.def (glibc_mutex_init): New fix.
394 * tests/base/pthread.h: Update.
a1b11617 395
d0f017a1 396 * fixincl.x: Regenerate.
a1b11617 397
b960b7b7 3982006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
399
400 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
401 Prevent it from running on solaris10 or later.
402 (solaris_once_init_2): Fix comment.
403 * tests/base/pthread.h: Update.
404
405 * fixincl.x: Regenerate.
406
a96763ff 4072006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
408
409 * inclhack.def (solaris_once_init_2): New fix.
410 * tests/base/pthread.h: Update.
411
412 * fixincl.x: Regenerate.
413
458caa24 4142006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
415
416 * inclhack.def (solaris_mutex_init_2): Remove test for
417 PTHREAD_RWLOCK_INITIALIZER.
418 (solaris_rwlock_init_1): New.
419 * tests/base/pthread.h: Update.
420
421 * inclhack.def (solaris_once_init_1): New.
422 * tests/base/pthread.h: Adjust for new fix.
423
424 * fixincl.x: Regenerate.
425
164d0e28 4262006-07-17 Roger Sayle <roger@eyesopen.com>
427
428 * tests/base/errno.h: New file.
429 * tests/base/architecture/ppc/math.h: Likewise.
430 * tests/base/ia64/sys/getppdp.h: Likewise.
431
53d9fa56 4322006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
433
434 PR bootstrap/20437
164d0e28 435 * Makefile.in (configure, config.h.in): Change into $(srcdir)
53d9fa56 436 before autoconf or autoheader call.
437
898b6c0f 4382006-06-23 Steve Ellcey <sje@cup.hp.com>
439
440 PR target/28084
441 * inclhack.def (hpux_extern_errno): New.
442 * fixincl.x: Regenerate.
443
8ef713d5 4442006-05-23 Carlos O'Donell <carlos@codesourcery.com>
445
446 * Makefile.in: Add dvi info html and install-html to .PHONY
447 Add install-html target.
448
5880638c 4492006-05-16 Mike Stump <mrs@apple.com>
450
451 * configure.ac: Add -Wno-overlength-strings.
452 * configure: Regenerate.
453
9c7246bd 4542006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
455
456 * README: Fix typo.
457
5dabcff3 4582006-02-18 Steve Ellcey <sje@cup.hp.com>
459
460 PR target/26189
461 * inclhack.def (hpux_spu_info): New.
462 * fixincl.x: Regenerate
463
6ede36d7 4642006-01-31 Marcin Dalecki <martin@dalecki.de>
465
466 * configure.ac: Check for asprintf, basename, vasprintf.
467 * config.h.in: Regenerate.
468 * configure: Regenerate.
469
baee91be 4702006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
471
472 PR target/15642
473 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
474 __APPLE_CC_ as 1345.
475 (broken_nan): New.
476 * fixincl.x: Regenerate.
477
62248de6 4782005-11-24 Bruce Korb <bkorb@gnu.org>
479
164d0e28 480 * fixincl.c (write_replacement): "here strings" in AutoGen
481 often/generally don't have a terminating newline. Check the
482 last byte for '\n'.
62248de6 483
afc4c5f4 4842005-11-13 Andreas Jaeger <aj@suse.de>
485
486 * check.tpl: Handle CVS additionally.
487
1da60ab0 4882005-11-05 Andreas Jaeger <aj@suse.de>
489
490 * check.tpl: Adopt for move to subversion.
491
96eced21 4922005-09-15 Joseph S. Myers <joseph@codesourcery.com>
493
494 PR c++/23139
495 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
496 fixes.
497 * fixincl.x: Regenerate.
498 * tests/base/bits/huge_val.h: New file.
499
89630697 5002005-08-14 Kelley Cook <kcook@gcc.gnu.org>
501
502 * All files: Update with new FSF address.
503
c3383428 5042005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
505
506 * Makefile.in (WARN_CFLAGS): New.
507 (.c.o): Add $(WARN_CFLAGS).
508 * aclocal.m4: Include ../config/warnings.m4.
509 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
510 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
511 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
512 * fixopts.c (initialize_opts): Fix old-style definintion.
513
514 * configure: Regenerate.
515
f2563b02 5162005-06-24 Geoffrey Keating <geoffk@geoffk.org>
517
518 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
519 (AAB_darwin7_9_long_double_funcs_2): New.
520 * fixincl.x: Regenerate.
521
19754f2b 5222005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
523
524 PR libfortran/15266
525 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
526 Use double quotes in select so \t matches tabs.
527 Add IRIX testcase.
528 * fixincl.x: Regenerate.
529 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
530
7a54a09a 5312005-05-22 Danny Smith <dannysmith@users.souceforge.net>
532
533 PR target/21683
534 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1da60ab0 535
e849ea70 5362005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
537 Joseph S. Myers <joseph@codesourcery.com>
538
539 PR target/19933
540 PR target/21315
541 * inclhack.def: New fixes solaris_math_[1-9].
542 * fixincl.x: Regenerate.
543 * tests/base/iso/math_c99.h: New.
544
d00b504c 5452005-05-19 Kelley Cook <kcook@gcc.gnu.org>
546
547 * aclocal.m4: Remove superfluous reference to accross.m4.
548
8d0afccc 5492005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
550
551 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
552 * server.c (load_data): Likewise.
553 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
554 * fixincl.c: #include <sys/wait.h>
555 (run_compiles): Use XCNEWVEC instead of xcalloc.
556 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
557 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
558
85dedd01 5592005-05-10 Joseph S. Myers <joseph@codesourcery.com>
560
561 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
562 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
563 * fixincl.x: Regenerate.
564
9b20d84f 5652005-05-06 Bruce Korb <bkorb@gnu.org>
566 Joseph S. Myers <joseph@codesourcery.com>
567
568 * fixinc/inclhack.def: Correct backslashes
569 * fixinc/fixincl.x: regen
570
2224c90b 5712005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
572
573 * system.h (fopen, fdopen, freopen): Define these to the unlocked
574 libiberty functions.
575
077a3c99 5762005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
577
578 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
579 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
580 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
581 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
582 _unlocked function.
583 (fwrite_unlocked): Fix prototype.
1da60ab0 584
077a3c99 585 * configure, config.h.in: Regenerate.
586
5eb9abc6 5872005-03-21 Zack Weinberg <zack@codesourcery.com>
588
589 * Makefile.in: Set gcc_version directly, not via substitution.
590 (libsubdir): Use $(gcc_version), not $(version).
591 (mkheaders.almost): New rule.
592 (mkheaders): Generate from mkheaders.almost.
593 (clean): Also delete mkheaders.almost.
594 * aclocal.m4: Do not include ../config/gcc-version.m4.
595 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
596 mkheaders.almost from mkheaders.in.
597 * configure: Regenerate.
598
a11c2c4d 5992005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
600
601 PR target/20166
602 * inclhack.def: Add fix for array of incomplete structures
603 in function prototype in pthread.h.
604 * fixincl.x: Regenerate.
605 * tests/base/pthread.h: Adjust.
606
1589683c 6072005-03-15 Joseph S. Myers <joseph@codesourcery.com>
608
609 * inclhack.def (hpux_htonl): New fix.
610 * tests/base/netinet/in.h: New test.
611 * fixincl.x: Regenerate.
612
82598b81 6132005-02-23 James E Wilson <wilson@specifixinc.com>
614
615 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
616
4366be98 6172004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
618
619 PR 18458
620 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
621 fixincl.
622
14ac9144 6232004-12-02 Richard Sandiford <rsandifo@redhat.com>
624
625 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
626 * aclocal.m4: Include ../config/gcc-version.m4.
627 * configure: Regenerate.
628
09a31484 6292004-11-26 Mark Mitchell <mark@codesourcery.com>
630
631 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
632 (stdio_va_list): Likewise.
633 (stdio_stdarg.h): Likewise.
634 (solaris_stdio_tag): Add bypass.
635 * fixincl.x: Regenerated.
636
f4e16230 6372004-11-23 Geoffrey Keating <geoffk@apple.com>
638
639 * mkfixinc.sh: Check error code from 'cat'. Don't try running
640 built fixincl program.
641 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
642 up csh from user.
643
4964185a 6442004-11-20 Roger Sayle <roger@eyesopen.com>
645
646 * inclhack.def (alpha_pthread_init): Fix technical problems with
647 the last check-in caused by CVS variable substitution.
648 * fixincl.x: Likewise.
649 * tests/base/pthread.h: Likewise.
650
31e7bff5 6512004-11-20 Roger Sayle <roger@eyesopen.com>
652 Bruce Korb <bkorb@gnu.org>
653
654 * inclhack.def (alpha_pthread_init): New fix.
655 * fixincl.x: Regenerate.
656 * tests/base/pthread.h: Update for new test.
657
47168473 6582004-11-15 Bruce Korb <bkorb@gnu.org>
659
660 * fixincl.c(fix_with_system): correct misuse of variables and
661 incorrect application of "sizeof()".
662
3d396563 6632004-11-13 Joseph S. Myers <joseph@codesourcery.com>
664
665 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
666 svr4__p, undefine_null): Remove.
667 * fixincl.x: Regenerate.
668 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
669 * tests/base/sys/param.h: Remove.
670 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
671 tests/base/sys/limits.h: Update.
672
b98c35c6 6732004-11-12 Mike Stump <mrs@apple.com>
674
675 * Makefile.in (html): Add html generation support.
676
9119bca7 6772004-11-12 Joseph S. Myers <joseph@codesourcery.com>
678
679 * inclhack.def (sco_math): Bypass on __GNUG__.
680 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
681 * fixincl.x: Regenerate.
682
69c13546 6832004-11-09 Joseph S. Myers <joseph@codesourcery.com>
684
685 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
686 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
687 _CLASSIC_ANSI_TYPES.
688 (sun_auth_proto): Bypass on __cplusplus.
689 * fixincl.x: Regenerate.
690
997d335e 6912004-11-05 Geoffrey Keating <geoffk@apple.com>
692
693 * Makefile.in (mostlyclean): Add fixinc.sh.
694 (clean): Add mkheaders.
695 (distclean): New.
696 (dvi): New.
697 (info): New.
698 (installcheck): New.
699
bdcc5e0f 7002004-11-05 Paolo Bonzini <bonzini@gnu.org>
701
702 * Makefile.in (mostlyclean, distclean): New targets.
703
50e7e370 7042004-11-04 Geoffrey Keating <geoffk@apple.com>
705
706 * configure.ac: Add code to determine noncanonical_target,
707 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
708 * configure: Regenerate.
709 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
710 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
711 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
712 update for changes to fixinc.in.
713 * Makefile.in: Add many new macros.
714 (install): New target.
715 (mkheaders): New target.
716 (fixinc.sh): New target.
717 (all): Add mkheaders and fixinc.sh.
718 * README-fixinc: Move here from gcc/.
719
925b9291 7202004-11-01 Mike Stump <mrs@apple.com>
721
722 * inclhack.def (stdio_va_list): Break out clients from here...
723 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
5eb9abc6 724 included or ifdef va_start.
925b9291 725 * fixincl.x: Regenerate.
726
a6c73c6c 7272004-10-28 Mike Stump <mrs@apple.com>
728
729 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
730 systems.
df2b0bc4 731 * fixincl.x: Regenerate.
732
975d636c 7332004-10-27 Geoffrey Keating <geoffk@apple.com>
734
735 * inclhack.def (darwin_gcc4_breakage): New.
736 * fixincl.x: Regenerate.
737
8340bfc5 7382004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
739
740 PR bootstrap/17832
741
742 * fixfixes.c (main): Check for _PC_NAME_MAX.
743
998ae78e 7442004-10-27 Paolo Bonzini <bonzini@gnu.org>
745
746 PR other/17991
747
748 * configure.ac: Fix typo.
749 * configure: Regenerate.
750 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
751
b05d4aed 7522004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
753
754 PR bootstrap/17832
755
756 * fixincl.c (SIGCHLD): Remove definition.
757 (initialize): Remove SIGIOT and SIGPIPE checks.
758 (create_file): Fix mkdir() for Win32.
759 (internal_fix): Use dup2() instead of fcntl().
760
761 * fixlib.h (SIGQUIT): Define if undefined.
762 (SIGIOT): Same.
763 (SIGPIPE): Same.
764 (SIGALRM): Same.
765 (SIGKILL): Same.
766
767 * procopen.c (chain_open): Use dup2() instead of fcntl().
768
4f80d25b 7692004-08-14 Paolo Bonzini <bonzini@gnu.org>
770
771 PR other/17991
772
773 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
774 Update copyright year.
775 * fixfixes.c (main): Call initialize_opts from fixopts.c.
776 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
777 do not include code for parsing options (environment vars).
778 (fix_with_system): Use a search path for applyfix, so that you
779 can run the test suite with two-process fixincludes.
780 * fixopts.c: New file.
781 * configure.ac: Add --enable-twoprocess. Export ac_exeext
782 to config.h. Default to --enable-twoprocess for MinGW32.
783 * config.h.in: Regenerate.
784 * configure: Regenerate.
785
e0af05d7 7862004-10-04 Loren J. Rittle <ljrittle@acm.org>
787
788 * tests/base/sys/cdefs.h: Update from test area.
789
d92db5b6 7902004-09-17 Roger Sayle <roger@eyesopen.com>
791
792 * inclhack.def (linux_ia64_ucontext): New fix.
793 * fixincl.x: Regenerate.
794 * tests/base/sys/ucontext.h: New file.
795
72546848 7962004-09-15 Roger Sayle <roger@eyesopen.com>
797
798 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
799 * tests/base/stdlib.h: Likewise.
800
f9ac0b87 8012004-09-13 Loren J. Rittle <ljrittle@acm.org>
802
803 * inclhack.def (freebsd_gcc4_breakage): Add.
804 * fixincl.x: Regenerate.
7a641792 805 * tests/base/sys/cdefs.h: Update for new test.
f9ac0b87 806
435ea059 8072004-09-10 Adam Nemet <anemet@lnxw.com>
808
809 * inclhack.def (lynx_void_int): Remove.
810 (lynxos_fcntl_proto): Remove.
811 (lynxos_no_warning_in_sys_time_h): New fix.
812 (lynxos_missing_putenv): New fix.
813 * fixincl.x: Regenerate.
814 * tests/base/fcntl.h: Remove.
815 * tests/base/sys/time.h: Update from test area.
816 * tests/base/curses.h: Likewise.
817 * tests/base/stdlib.h: Likewise.
818
634f7a13 8192004-09-03 Jan Beulich <jbeulich@novell.com>
820
821 * inclhack.def: Suppress exception_structure and math_exception
822 for NetWare headers.
823 * fixincl.x: Regenerate.
824
2b59cb05 8252004-08-31 Paolo Bonzini <bonzini@gnu.org>
826
827 * .cvsignore: New.
828 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
829 autoconfiscated.
830 * configure.ac: New.
831 * config.h.in: Generate.
832 * configure: Generate.
833 * aclocal.m4: New.
834 * fixlib.h: Remove inclusions of gcc files.
835 * system.h: New.
836
837 Other files copied from gcc/fixinc.