1 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
3 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
4 * server.c (load_data): Likewise.
5 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
6 * fixincl.c: #include <sys/wait.h>
7 (run_compiles): Use XCNEWVEC instead of xcalloc.
8 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
9 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
11 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
13 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
14 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
15 * fixincl.x: Regenerate.
17 2005-05-06 Bruce Korb <bkorb@gnu.org>
18 Joseph S. Myers <joseph@codesourcery.com>
20 * fixinc/inclhack.def: Correct backslashes
21 * fixinc/fixincl.x: regen
23 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25 * system.h (fopen, fdopen, freopen): Define these to the unlocked
28 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
30 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
31 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
32 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
33 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
35 (fwrite_unlocked): Fix prototype.
37 * configure, config.h.in: Regenerate.
39 2005-03-21 Zack Weinberg <zack@codesourcery.com>
41 * Makefile.in: Set gcc_version directly, not via substitution.
42 (libsubdir): Use $(gcc_version), not $(version).
43 (mkheaders.almost): New rule.
44 (mkheaders): Generate from mkheaders.almost.
45 (clean): Also delete mkheaders.almost.
46 * aclocal.m4: Do not include ../config/gcc-version.m4.
47 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
48 mkheaders.almost from mkheaders.in.
49 * configure: Regenerate.
51 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
54 * inclhack.def: Add fix for array of incomplete structures
55 in function prototype in pthread.h.
56 * fixincl.x: Regenerate.
57 * tests/base/pthread.h: Adjust.
59 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
61 * inclhack.def (hpux_htonl): New fix.
62 * tests/base/netinet/in.h: New test.
63 * fixincl.x: Regenerate.
65 2005-02-23 James E Wilson <wilson@specifixinc.com>
67 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
69 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
72 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
75 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
77 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
78 * aclocal.m4: Include ../config/gcc-version.m4.
79 * configure: Regenerate.
81 2004-11-26 Mark Mitchell <mark@codesourcery.com>
83 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
84 (stdio_va_list): Likewise.
85 (stdio_stdarg.h): Likewise.
86 (solaris_stdio_tag): Add bypass.
87 * fixincl.x: Regenerated.
89 2004-11-23 Geoffrey Keating <geoffk@apple.com>
91 * mkfixinc.sh: Check error code from 'cat'. Don't try running
92 built fixincl program.
93 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
96 2004-11-20 Roger Sayle <roger@eyesopen.com>
98 * inclhack.def (alpha_pthread_init): Fix technical problems with
99 the last check-in caused by CVS variable substitution.
100 * fixincl.x: Likewise.
101 * tests/base/pthread.h: Likewise.
103 2004-11-20 Roger Sayle <roger@eyesopen.com>
104 Bruce Korb <bkorb@gnu.org>
106 * inclhack.def (alpha_pthread_init): New fix.
107 * fixincl.x: Regenerate.
108 * tests/base/pthread.h: Update for new test.
110 2004-11-15 Bruce Korb <bkorb@gnu.org>
112 * fixincl.c(fix_with_system): correct misuse of variables and
113 incorrect application of "sizeof()".
115 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
117 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
118 svr4__p, undefine_null): Remove.
119 * fixincl.x: Regenerate.
120 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
121 * tests/base/sys/param.h: Remove.
122 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
123 tests/base/sys/limits.h: Update.
125 2004-11-12 Mike Stump <mrs@apple.com>
127 * Makefile.in (html): Add html generation support.
129 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
131 * inclhack.def (sco_math): Bypass on __GNUG__.
132 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
133 * fixincl.x: Regenerate.
135 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
137 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
138 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
140 (sun_auth_proto): Bypass on __cplusplus.
141 * fixincl.x: Regenerate.
143 2004-11-05 Geoffrey Keating <geoffk@apple.com>
145 * Makefile.in (mostlyclean): Add fixinc.sh.
146 (clean): Add mkheaders.
152 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
154 * Makefile.in (mostlyclean, distclean): New targets.
156 2004-11-04 Geoffrey Keating <geoffk@apple.com>
158 * configure.ac: Add code to determine noncanonical_target,
159 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
160 * configure: Regenerate.
161 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
162 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
163 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
164 update for changes to fixinc.in.
165 * Makefile.in: Add many new macros.
166 (install): New target.
167 (mkheaders): New target.
168 (fixinc.sh): New target.
169 (all): Add mkheaders and fixinc.sh.
170 * README-fixinc: Move here from gcc/.
172 2004-11-01 Mike Stump <mrs@apple.com>
174 * inclhack.def (stdio_va_list): Break out clients from here...
175 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
176 included or ifdef va_start.
177 * fixincl.x: Regenerate.
179 2004-10-28 Mike Stump <mrs@apple.com>
181 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
183 * fixincl.x: Regenerate.
185 2004-10-27 Geoffrey Keating <geoffk@apple.com>
187 * inclhack.def (darwin_gcc4_breakage): New.
188 * fixincl.x: Regenerate.
190 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
194 * fixfixes.c (main): Check for _PC_NAME_MAX.
196 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
200 * configure.ac: Fix typo.
201 * configure: Regenerate.
202 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
204 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
208 * fixincl.c (SIGCHLD): Remove definition.
209 (initialize): Remove SIGIOT and SIGPIPE checks.
210 (create_file): Fix mkdir() for Win32.
211 (internal_fix): Use dup2() instead of fcntl().
213 * fixlib.h (SIGQUIT): Define if undefined.
219 * procopen.c (chain_open): Use dup2() instead of fcntl().
221 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
225 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
226 Update copyright year.
227 * fixfixes.c (main): Call initialize_opts from fixopts.c.
228 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
229 do not include code for parsing options (environment vars).
230 (fix_with_system): Use a search path for applyfix, so that you
231 can run the test suite with two-process fixincludes.
232 * fixopts.c: New file.
233 * configure.ac: Add --enable-twoprocess. Export ac_exeext
234 to config.h. Default to --enable-twoprocess for MinGW32.
235 * config.h.in: Regenerate.
236 * configure: Regenerate.
238 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
240 * tests/base/sys/cdefs.h: Update from test area.
242 2004-09-17 Roger Sayle <roger@eyesopen.com>
244 * inclhack.def (linux_ia64_ucontext): New fix.
245 * fixincl.x: Regenerate.
246 * tests/base/sys/ucontext.h: New file.
248 2004-09-15 Roger Sayle <roger@eyesopen.com>
250 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
251 * tests/base/stdlib.h: Likewise.
253 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
255 * inclhack.def (freebsd_gcc4_breakage): Add.
256 * fixincl.x: Regenerate.
257 * tests/base/sys/cdefs.h: Update for new test.
259 2004-09-10 Adam Nemet <anemet@lnxw.com>
261 * inclhack.def (lynx_void_int): Remove.
262 (lynxos_fcntl_proto): Remove.
263 (lynxos_no_warning_in_sys_time_h): New fix.
264 (lynxos_missing_putenv): New fix.
265 * fixincl.x: Regenerate.
266 * tests/base/fcntl.h: Remove.
267 * tests/base/sys/time.h: Update from test area.
268 * tests/base/curses.h: Likewise.
269 * tests/base/stdlib.h: Likewise.
271 2004-09-03 Jan Beulich <jbeulich@novell.com>
273 * inclhack.def: Suppress exception_structure and math_exception
275 * fixincl.x: Regenerate.
277 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
280 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
283 * config.h.in: Generate.
284 * configure: Generate.
286 * fixlib.h: Remove inclusions of gcc files.
289 Other files copied from gcc/fixinc.