OSDN Git Service

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