1 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
2 Joseph S. Myers <joseph@codesourcery.com>
6 * inclhack.def: New fixes solaris_math_[1-9].
7 * fixincl.x: Regenerate.
8 * tests/base/iso/math_c99.h: New.
10 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
12 * aclocal.m4: Remove superfluous reference to accross.m4.
14 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
16 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
17 * server.c (load_data): Likewise.
18 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
19 * fixincl.c: #include <sys/wait.h>
20 (run_compiles): Use XCNEWVEC instead of xcalloc.
21 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
22 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
24 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
26 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
27 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
28 * fixincl.x: Regenerate.
30 2005-05-06 Bruce Korb <bkorb@gnu.org>
31 Joseph S. Myers <joseph@codesourcery.com>
33 * fixinc/inclhack.def: Correct backslashes
34 * fixinc/fixincl.x: regen
36 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
38 * system.h (fopen, fdopen, freopen): Define these to the unlocked
41 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
43 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
44 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
45 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
46 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
48 (fwrite_unlocked): Fix prototype.
50 * configure, config.h.in: Regenerate.
52 2005-03-21 Zack Weinberg <zack@codesourcery.com>
54 * Makefile.in: Set gcc_version directly, not via substitution.
55 (libsubdir): Use $(gcc_version), not $(version).
56 (mkheaders.almost): New rule.
57 (mkheaders): Generate from mkheaders.almost.
58 (clean): Also delete mkheaders.almost.
59 * aclocal.m4: Do not include ../config/gcc-version.m4.
60 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
61 mkheaders.almost from mkheaders.in.
62 * configure: Regenerate.
64 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
67 * inclhack.def: Add fix for array of incomplete structures
68 in function prototype in pthread.h.
69 * fixincl.x: Regenerate.
70 * tests/base/pthread.h: Adjust.
72 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
74 * inclhack.def (hpux_htonl): New fix.
75 * tests/base/netinet/in.h: New test.
76 * fixincl.x: Regenerate.
78 2005-02-23 James E Wilson <wilson@specifixinc.com>
80 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
82 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
85 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
88 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
90 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
91 * aclocal.m4: Include ../config/gcc-version.m4.
92 * configure: Regenerate.
94 2004-11-26 Mark Mitchell <mark@codesourcery.com>
96 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
97 (stdio_va_list): Likewise.
98 (stdio_stdarg.h): Likewise.
99 (solaris_stdio_tag): Add bypass.
100 * fixincl.x: Regenerated.
102 2004-11-23 Geoffrey Keating <geoffk@apple.com>
104 * mkfixinc.sh: Check error code from 'cat'. Don't try running
105 built fixincl program.
106 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
109 2004-11-20 Roger Sayle <roger@eyesopen.com>
111 * inclhack.def (alpha_pthread_init): Fix technical problems with
112 the last check-in caused by CVS variable substitution.
113 * fixincl.x: Likewise.
114 * tests/base/pthread.h: Likewise.
116 2004-11-20 Roger Sayle <roger@eyesopen.com>
117 Bruce Korb <bkorb@gnu.org>
119 * inclhack.def (alpha_pthread_init): New fix.
120 * fixincl.x: Regenerate.
121 * tests/base/pthread.h: Update for new test.
123 2004-11-15 Bruce Korb <bkorb@gnu.org>
125 * fixincl.c(fix_with_system): correct misuse of variables and
126 incorrect application of "sizeof()".
128 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
130 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
131 svr4__p, undefine_null): Remove.
132 * fixincl.x: Regenerate.
133 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
134 * tests/base/sys/param.h: Remove.
135 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
136 tests/base/sys/limits.h: Update.
138 2004-11-12 Mike Stump <mrs@apple.com>
140 * Makefile.in (html): Add html generation support.
142 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
144 * inclhack.def (sco_math): Bypass on __GNUG__.
145 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
146 * fixincl.x: Regenerate.
148 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
150 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
151 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
153 (sun_auth_proto): Bypass on __cplusplus.
154 * fixincl.x: Regenerate.
156 2004-11-05 Geoffrey Keating <geoffk@apple.com>
158 * Makefile.in (mostlyclean): Add fixinc.sh.
159 (clean): Add mkheaders.
165 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
167 * Makefile.in (mostlyclean, distclean): New targets.
169 2004-11-04 Geoffrey Keating <geoffk@apple.com>
171 * configure.ac: Add code to determine noncanonical_target,
172 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
173 * configure: Regenerate.
174 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
175 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
176 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
177 update for changes to fixinc.in.
178 * Makefile.in: Add many new macros.
179 (install): New target.
180 (mkheaders): New target.
181 (fixinc.sh): New target.
182 (all): Add mkheaders and fixinc.sh.
183 * README-fixinc: Move here from gcc/.
185 2004-11-01 Mike Stump <mrs@apple.com>
187 * inclhack.def (stdio_va_list): Break out clients from here...
188 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
189 included or ifdef va_start.
190 * fixincl.x: Regenerate.
192 2004-10-28 Mike Stump <mrs@apple.com>
194 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
196 * fixincl.x: Regenerate.
198 2004-10-27 Geoffrey Keating <geoffk@apple.com>
200 * inclhack.def (darwin_gcc4_breakage): New.
201 * fixincl.x: Regenerate.
203 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
207 * fixfixes.c (main): Check for _PC_NAME_MAX.
209 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
213 * configure.ac: Fix typo.
214 * configure: Regenerate.
215 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
217 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
221 * fixincl.c (SIGCHLD): Remove definition.
222 (initialize): Remove SIGIOT and SIGPIPE checks.
223 (create_file): Fix mkdir() for Win32.
224 (internal_fix): Use dup2() instead of fcntl().
226 * fixlib.h (SIGQUIT): Define if undefined.
232 * procopen.c (chain_open): Use dup2() instead of fcntl().
234 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
238 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
239 Update copyright year.
240 * fixfixes.c (main): Call initialize_opts from fixopts.c.
241 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
242 do not include code for parsing options (environment vars).
243 (fix_with_system): Use a search path for applyfix, so that you
244 can run the test suite with two-process fixincludes.
245 * fixopts.c: New file.
246 * configure.ac: Add --enable-twoprocess. Export ac_exeext
247 to config.h. Default to --enable-twoprocess for MinGW32.
248 * config.h.in: Regenerate.
249 * configure: Regenerate.
251 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
253 * tests/base/sys/cdefs.h: Update from test area.
255 2004-09-17 Roger Sayle <roger@eyesopen.com>
257 * inclhack.def (linux_ia64_ucontext): New fix.
258 * fixincl.x: Regenerate.
259 * tests/base/sys/ucontext.h: New file.
261 2004-09-15 Roger Sayle <roger@eyesopen.com>
263 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
264 * tests/base/stdlib.h: Likewise.
266 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
268 * inclhack.def (freebsd_gcc4_breakage): Add.
269 * fixincl.x: Regenerate.
270 * tests/base/sys/cdefs.h: Update for new test.
272 2004-09-10 Adam Nemet <anemet@lnxw.com>
274 * inclhack.def (lynx_void_int): Remove.
275 (lynxos_fcntl_proto): Remove.
276 (lynxos_no_warning_in_sys_time_h): New fix.
277 (lynxos_missing_putenv): New fix.
278 * fixincl.x: Regenerate.
279 * tests/base/fcntl.h: Remove.
280 * tests/base/sys/time.h: Update from test area.
281 * tests/base/curses.h: Likewise.
282 * tests/base/stdlib.h: Likewise.
284 2004-09-03 Jan Beulich <jbeulich@novell.com>
286 * inclhack.def: Suppress exception_structure and math_exception
288 * fixincl.x: Regenerate.
290 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
293 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
296 * config.h.in: Generate.
297 * configure: Generate.
299 * fixlib.h: Remove inclusions of gcc files.
302 Other files copied from gcc/fixinc.