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