OSDN Git Service

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