1 2005-05-06 Bruce Korb <bkorb@gnu.org>
2 Joseph S. Myers <joseph@codesourcery.com>
4 * fixinc/inclhack.def: Correct backslashes
5 * fixinc/fixincl.x: regen
7 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9 * system.h (fopen, fdopen, freopen): Define these to the unlocked
12 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
15 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
16 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
17 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
19 (fwrite_unlocked): Fix prototype.
21 * configure, config.h.in: Regenerate.
23 2005-03-21 Zack Weinberg <zack@codesourcery.com>
25 * Makefile.in: Set gcc_version directly, not via substitution.
26 (libsubdir): Use $(gcc_version), not $(version).
27 (mkheaders.almost): New rule.
28 (mkheaders): Generate from mkheaders.almost.
29 (clean): Also delete mkheaders.almost.
30 * aclocal.m4: Do not include ../config/gcc-version.m4.
31 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
32 mkheaders.almost from mkheaders.in.
33 * configure: Regenerate.
35 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
38 * inclhack.def: Add fix for array of incomplete structures
39 in function prototype in pthread.h.
40 * fixincl.x: Regenerate.
41 * tests/base/pthread.h: Adjust.
43 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
45 * inclhack.def (hpux_htonl): New fix.
46 * tests/base/netinet/in.h: New test.
47 * fixincl.x: Regenerate.
49 2005-02-23 James E Wilson <wilson@specifixinc.com>
51 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
53 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
56 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
59 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
61 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
62 * aclocal.m4: Include ../config/gcc-version.m4.
63 * configure: Regenerate.
65 2004-11-26 Mark Mitchell <mark@codesourcery.com>
67 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
68 (stdio_va_list): Likewise.
69 (stdio_stdarg.h): Likewise.
70 (solaris_stdio_tag): Add bypass.
71 * fixincl.x: Regenerated.
73 2004-11-23 Geoffrey Keating <geoffk@apple.com>
75 * mkfixinc.sh: Check error code from 'cat'. Don't try running
76 built fixincl program.
77 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
80 2004-11-20 Roger Sayle <roger@eyesopen.com>
82 * inclhack.def (alpha_pthread_init): Fix technical problems with
83 the last check-in caused by CVS variable substitution.
84 * fixincl.x: Likewise.
85 * tests/base/pthread.h: Likewise.
87 2004-11-20 Roger Sayle <roger@eyesopen.com>
88 Bruce Korb <bkorb@gnu.org>
90 * inclhack.def (alpha_pthread_init): New fix.
91 * fixincl.x: Regenerate.
92 * tests/base/pthread.h: Update for new test.
94 2004-11-15 Bruce Korb <bkorb@gnu.org>
96 * fixincl.c(fix_with_system): correct misuse of variables and
97 incorrect application of "sizeof()".
99 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
101 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
102 svr4__p, undefine_null): Remove.
103 * fixincl.x: Regenerate.
104 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
105 * tests/base/sys/param.h: Remove.
106 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
107 tests/base/sys/limits.h: Update.
109 2004-11-12 Mike Stump <mrs@apple.com>
111 * Makefile.in (html): Add html generation support.
113 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
115 * inclhack.def (sco_math): Bypass on __GNUG__.
116 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
117 * fixincl.x: Regenerate.
119 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
121 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
122 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
124 (sun_auth_proto): Bypass on __cplusplus.
125 * fixincl.x: Regenerate.
127 2004-11-05 Geoffrey Keating <geoffk@apple.com>
129 * Makefile.in (mostlyclean): Add fixinc.sh.
130 (clean): Add mkheaders.
136 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
138 * Makefile.in (mostlyclean, distclean): New targets.
140 2004-11-04 Geoffrey Keating <geoffk@apple.com>
142 * configure.ac: Add code to determine noncanonical_target,
143 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
144 * configure: Regenerate.
145 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
146 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
147 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
148 update for changes to fixinc.in.
149 * Makefile.in: Add many new macros.
150 (install): New target.
151 (mkheaders): New target.
152 (fixinc.sh): New target.
153 (all): Add mkheaders and fixinc.sh.
154 * README-fixinc: Move here from gcc/.
156 2004-11-01 Mike Stump <mrs@apple.com>
158 * inclhack.def (stdio_va_list): Break out clients from here...
159 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
160 included or ifdef va_start.
161 * fixincl.x: Regenerate.
163 2004-10-28 Mike Stump <mrs@apple.com>
165 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
167 * fixincl.x: Regenerate.
169 2004-10-27 Geoffrey Keating <geoffk@apple.com>
171 * inclhack.def (darwin_gcc4_breakage): New.
172 * fixincl.x: Regenerate.
174 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
178 * fixfixes.c (main): Check for _PC_NAME_MAX.
180 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
184 * configure.ac: Fix typo.
185 * configure: Regenerate.
186 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
188 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
192 * fixincl.c (SIGCHLD): Remove definition.
193 (initialize): Remove SIGIOT and SIGPIPE checks.
194 (create_file): Fix mkdir() for Win32.
195 (internal_fix): Use dup2() instead of fcntl().
197 * fixlib.h (SIGQUIT): Define if undefined.
203 * procopen.c (chain_open): Use dup2() instead of fcntl().
205 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
209 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
210 Update copyright year.
211 * fixfixes.c (main): Call initialize_opts from fixopts.c.
212 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
213 do not include code for parsing options (environment vars).
214 (fix_with_system): Use a search path for applyfix, so that you
215 can run the test suite with two-process fixincludes.
216 * fixopts.c: New file.
217 * configure.ac: Add --enable-twoprocess. Export ac_exeext
218 to config.h. Default to --enable-twoprocess for MinGW32.
219 * config.h.in: Regenerate.
220 * configure: Regenerate.
222 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
224 * tests/base/sys/cdefs.h: Update from test area.
226 2004-09-17 Roger Sayle <roger@eyesopen.com>
228 * inclhack.def (linux_ia64_ucontext): New fix.
229 * fixincl.x: Regenerate.
230 * tests/base/sys/ucontext.h: New file.
232 2004-09-15 Roger Sayle <roger@eyesopen.com>
234 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
235 * tests/base/stdlib.h: Likewise.
237 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
239 * inclhack.def (freebsd_gcc4_breakage): Add.
240 * fixincl.x: Regenerate.
241 * tests/base/sys/cdefs.h: Update for new test.
243 2004-09-10 Adam Nemet <anemet@lnxw.com>
245 * inclhack.def (lynx_void_int): Remove.
246 (lynxos_fcntl_proto): Remove.
247 (lynxos_no_warning_in_sys_time_h): New fix.
248 (lynxos_missing_putenv): New fix.
249 * fixincl.x: Regenerate.
250 * tests/base/fcntl.h: Remove.
251 * tests/base/sys/time.h: Update from test area.
252 * tests/base/curses.h: Likewise.
253 * tests/base/stdlib.h: Likewise.
255 2004-09-03 Jan Beulich <jbeulich@novell.com>
257 * inclhack.def: Suppress exception_structure and math_exception
259 * fixincl.x: Regenerate.
261 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
264 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
267 * config.h.in: Generate.
268 * configure: Generate.
270 * fixlib.h: Remove inclusions of gcc files.
273 Other files copied from gcc/fixinc.