OSDN Git Service

* inclhack.def (AAB_darwin7_9_long_double_funcs): New.
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
2
3         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
4         (AAB_darwin7_9_long_double_funcs_2): New.
5         * fixincl.x: Regenerate.
6
7 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8
9         PR libfortran/15266
10         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
11         Use double quotes in select so \t matches tabs.
12         Add IRIX testcase.
13         * fixincl.x: Regenerate.
14         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
15
16 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
17
18         PR target/21683
19         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
20         
21 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
22             Joseph S. Myers  <joseph@codesourcery.com>
23
24         PR target/19933
25         PR target/21315
26         * inclhack.def: New fixes solaris_math_[1-9].
27         * fixincl.x: Regenerate.
28         * tests/base/iso/math_c99.h: New.
29
30 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
31
32         * aclocal.m4: Remove superfluous reference to accross.m4.
33
34 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
35
36         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
37         * server.c (load_data): Likewise.
38         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
39         * fixincl.c: #include <sys/wait.h>
40         (run_compiles): Use XCNEWVEC instead of xcalloc.
41         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
42         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
43
44 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
45
46         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
47         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
48         * fixincl.x: Regenerate.
49
50 2005-05-06  Bruce Korb  <bkorb@gnu.org>
51         Joseph S. Myers <joseph@codesourcery.com>
52
53         * fixinc/inclhack.def: Correct backslashes
54         * fixinc/fixincl.x: regen
55
56 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
57
58         * system.h (fopen, fdopen, freopen): Define these to the unlocked
59         libiberty functions.
60
61 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
62
63         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
64         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
65         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
66         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
67         _unlocked function.
68         (fwrite_unlocked): Fix prototype.
69         
70         * configure, config.h.in: Regenerate.
71
72 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
73
74         * Makefile.in: Set gcc_version directly, not via substitution.
75         (libsubdir): Use $(gcc_version), not $(version).
76         (mkheaders.almost): New rule.
77         (mkheaders): Generate from mkheaders.almost.
78         (clean): Also delete mkheaders.almost.
79         * aclocal.m4: Do not include ../config/gcc-version.m4.
80         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
81         mkheaders.almost from mkheaders.in.
82         * configure: Regenerate.
83
84 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
85
86         PR target/20166
87         * inclhack.def: Add fix for array of incomplete structures
88         in function prototype in pthread.h.
89         * fixincl.x: Regenerate.
90         * tests/base/pthread.h: Adjust.
91
92 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
93
94         * inclhack.def (hpux_htonl): New fix.
95         * tests/base/netinet/in.h: New test.
96         * fixincl.x: Regenerate.
97
98 2005-02-23  James E Wilson  <wilson@specifixinc.com>
99
100         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
101
102 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
103
104         PR 18458
105         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
106         fixincl.
107
108 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
109
110         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
111         * aclocal.m4: Include ../config/gcc-version.m4.
112         * configure: Regenerate.
113
114 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
115
116         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
117         (stdio_va_list): Likewise.
118         (stdio_stdarg.h): Likewise.
119         (solaris_stdio_tag): Add bypass.
120         * fixincl.x: Regenerated.
121
122 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
123
124         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
125         built fixincl program.
126         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
127         up csh from user.
128
129 2004-11-20  Roger Sayle  <roger@eyesopen.com>
130
131         * inclhack.def (alpha_pthread_init): Fix technical problems with
132         the last check-in caused by CVS variable substitution.
133         * fixincl.x: Likewise.
134         * tests/base/pthread.h: Likewise.
135
136 2004-11-20  Roger Sayle  <roger@eyesopen.com>
137             Bruce Korb  <bkorb@gnu.org>
138
139         * inclhack.def (alpha_pthread_init): New fix.
140         * fixincl.x: Regenerate.
141         * tests/base/pthread.h: Update for new test.
142
143 2004-11-15  Bruce Korb  <bkorb@gnu.org>
144
145         * fixincl.c(fix_with_system): correct misuse of variables and
146         incorrect application of "sizeof()".
147
148 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
149
150         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
151         svr4__p, undefine_null): Remove.
152         * fixincl.x: Regenerate.
153         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
154         * tests/base/sys/param.h: Remove.
155         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
156         tests/base/sys/limits.h: Update.
157
158 2004-11-12  Mike Stump  <mrs@apple.com>
159
160         * Makefile.in (html): Add html generation support.
161
162 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
163
164         * inclhack.def (sco_math): Bypass on __GNUG__.
165         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
166         * fixincl.x: Regenerate.
167
168 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
169
170         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
171         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
172         _CLASSIC_ANSI_TYPES.
173         (sun_auth_proto): Bypass on __cplusplus.
174         * fixincl.x: Regenerate.
175
176 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
177
178         * Makefile.in (mostlyclean): Add fixinc.sh.
179         (clean): Add mkheaders.
180         (distclean): New.
181         (dvi): New.
182         (info): New.
183         (installcheck): New.
184
185 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
186
187         * Makefile.in (mostlyclean, distclean): New targets.
188
189 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
190
191         * configure.ac: Add code to determine noncanonical_target,
192         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
193         * configure: Regenerate.
194         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
195         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
196         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
197         update for changes to fixinc.in.
198         * Makefile.in: Add many new macros.
199         (install): New target.
200         (mkheaders): New target.
201         (fixinc.sh): New target.
202         (all): Add mkheaders and fixinc.sh.
203         * README-fixinc: Move here from gcc/.
204
205 2004-11-01  Mike Stump  <mrs@apple.com>
206
207         * inclhack.def (stdio_va_list): Break out clients from here...
208         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
209         included or ifdef va_start.
210         * fixincl.x: Regenerate.
211
212 2004-10-28  Mike Stump  <mrs@apple.com>
213
214         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
215         systems.
216         * fixincl.x: Regenerate.
217
218 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
219
220         * inclhack.def (darwin_gcc4_breakage): New.
221         * fixincl.x: Regenerate.
222
223 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
224
225         PR bootstrap/17832
226
227         * fixfixes.c (main): Check for _PC_NAME_MAX.
228
229 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
230
231         PR other/17991
232
233         * configure.ac: Fix typo.
234         * configure: Regenerate.
235         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
236
237 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
238
239         PR bootstrap/17832
240
241         * fixincl.c (SIGCHLD): Remove definition.
242         (initialize): Remove SIGIOT and SIGPIPE checks.
243         (create_file): Fix mkdir() for Win32.
244         (internal_fix): Use dup2() instead of fcntl().
245
246         * fixlib.h (SIGQUIT): Define if undefined.
247         (SIGIOT): Same.
248         (SIGPIPE): Same.
249         (SIGALRM): Same.
250         (SIGKILL): Same.
251
252         * procopen.c (chain_open): Use dup2() instead of fcntl().
253
254 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
255
256         PR other/17991
257
258         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
259         Update copyright year.
260         * fixfixes.c (main): Call initialize_opts from fixopts.c.
261         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
262         do not include code for parsing options (environment vars).
263         (fix_with_system): Use a search path for applyfix, so that you
264         can run the test suite with two-process fixincludes.
265         * fixopts.c: New file.
266         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
267         to config.h.  Default to --enable-twoprocess for MinGW32.
268         * config.h.in: Regenerate.
269         * configure: Regenerate.
270
271 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
272
273         * tests/base/sys/cdefs.h: Update from test area.
274
275 2004-09-17  Roger Sayle  <roger@eyesopen.com>
276
277         * inclhack.def (linux_ia64_ucontext): New fix.
278         * fixincl.x: Regenerate.
279         * tests/base/sys/ucontext.h: New file.
280
281 2004-09-15  Roger Sayle  <roger@eyesopen.com>
282
283         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
284         * tests/base/stdlib.h: Likewise.
285
286 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
287
288         * inclhack.def (freebsd_gcc4_breakage): Add.
289         * fixincl.x: Regenerate.
290         * tests/base/sys/cdefs.h: Update for new test.
291
292 2004-09-10  Adam Nemet  <anemet@lnxw.com>
293
294         * inclhack.def (lynx_void_int): Remove.
295         (lynxos_fcntl_proto): Remove.
296         (lynxos_no_warning_in_sys_time_h): New fix.
297         (lynxos_missing_putenv): New fix.
298         * fixincl.x: Regenerate.
299         * tests/base/fcntl.h: Remove.
300         * tests/base/sys/time.h: Update from test area.
301         * tests/base/curses.h: Likewise.
302         * tests/base/stdlib.h: Likewise.
303
304 2004-09-03  Jan Beulich  <jbeulich@novell.com>
305
306         * inclhack.def: Suppress exception_structure and math_exception
307         for NetWare headers.
308         * fixincl.x: Regenerate.
309
310 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
311
312         * .cvsignore: New.
313         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
314         autoconfiscated.
315         * configure.ac: New.
316         * config.h.in: Generate.
317         * configure: Generate.
318         * aclocal.m4: New.
319         * fixlib.h: Remove inclusions of gcc files.
320         * system.h: New.
321
322         Other files copied from gcc/fixinc.