OSDN Git Service

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