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