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