OSDN Git Service

12901de214e3454312032f15114ff1048cce3fdf
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
2
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.
10
11 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
12
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.
16
17 2005-05-06  Bruce Korb  <bkorb@gnu.org>
18         Joseph S. Myers <joseph@codesourcery.com>
19
20         * fixinc/inclhack.def: Correct backslashes
21         * fixinc/fixincl.x: regen
22
23 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24
25         * system.h (fopen, fdopen, freopen): Define these to the unlocked
26         libiberty functions.
27
28 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
29
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
34         _unlocked function.
35         (fwrite_unlocked): Fix prototype.
36         
37         * configure, config.h.in: Regenerate.
38
39 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
40
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.
50
51 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
52
53         PR target/20166
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.
58
59 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
60
61         * inclhack.def (hpux_htonl): New fix.
62         * tests/base/netinet/in.h: New test.
63         * fixincl.x: Regenerate.
64
65 2005-02-23  James E Wilson  <wilson@specifixinc.com>
66
67         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
68
69 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
70
71         PR 18458
72         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
73         fixincl.
74
75 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
76
77         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
78         * aclocal.m4: Include ../config/gcc-version.m4.
79         * configure: Regenerate.
80
81 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
82
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.
88
89 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
90
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
94         up csh from user.
95
96 2004-11-20  Roger Sayle  <roger@eyesopen.com>
97
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.
102
103 2004-11-20  Roger Sayle  <roger@eyesopen.com>
104             Bruce Korb  <bkorb@gnu.org>
105
106         * inclhack.def (alpha_pthread_init): New fix.
107         * fixincl.x: Regenerate.
108         * tests/base/pthread.h: Update for new test.
109
110 2004-11-15  Bruce Korb  <bkorb@gnu.org>
111
112         * fixincl.c(fix_with_system): correct misuse of variables and
113         incorrect application of "sizeof()".
114
115 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
116
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.
124
125 2004-11-12  Mike Stump  <mrs@apple.com>
126
127         * Makefile.in (html): Add html generation support.
128
129 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
130
131         * inclhack.def (sco_math): Bypass on __GNUG__.
132         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
133         * fixincl.x: Regenerate.
134
135 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
136
137         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
138         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
139         _CLASSIC_ANSI_TYPES.
140         (sun_auth_proto): Bypass on __cplusplus.
141         * fixincl.x: Regenerate.
142
143 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
144
145         * Makefile.in (mostlyclean): Add fixinc.sh.
146         (clean): Add mkheaders.
147         (distclean): New.
148         (dvi): New.
149         (info): New.
150         (installcheck): New.
151
152 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
153
154         * Makefile.in (mostlyclean, distclean): New targets.
155
156 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
157
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/.
171
172 2004-11-01  Mike Stump  <mrs@apple.com>
173
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.
178
179 2004-10-28  Mike Stump  <mrs@apple.com>
180
181         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
182         systems.
183         * fixincl.x: Regenerate.
184
185 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
186
187         * inclhack.def (darwin_gcc4_breakage): New.
188         * fixincl.x: Regenerate.
189
190 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
191
192         PR bootstrap/17832
193
194         * fixfixes.c (main): Check for _PC_NAME_MAX.
195
196 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
197
198         PR other/17991
199
200         * configure.ac: Fix typo.
201         * configure: Regenerate.
202         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
203
204 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
205
206         PR bootstrap/17832
207
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().
212
213         * fixlib.h (SIGQUIT): Define if undefined.
214         (SIGIOT): Same.
215         (SIGPIPE): Same.
216         (SIGALRM): Same.
217         (SIGKILL): Same.
218
219         * procopen.c (chain_open): Use dup2() instead of fcntl().
220
221 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
222
223         PR other/17991
224
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.
237
238 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
239
240         * tests/base/sys/cdefs.h: Update from test area.
241
242 2004-09-17  Roger Sayle  <roger@eyesopen.com>
243
244         * inclhack.def (linux_ia64_ucontext): New fix.
245         * fixincl.x: Regenerate.
246         * tests/base/sys/ucontext.h: New file.
247
248 2004-09-15  Roger Sayle  <roger@eyesopen.com>
249
250         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
251         * tests/base/stdlib.h: Likewise.
252
253 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
254
255         * inclhack.def (freebsd_gcc4_breakage): Add.
256         * fixincl.x: Regenerate.
257         * tests/base/sys/cdefs.h: Update for new test.
258
259 2004-09-10  Adam Nemet  <anemet@lnxw.com>
260
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.
270
271 2004-09-03  Jan Beulich  <jbeulich@novell.com>
272
273         * inclhack.def: Suppress exception_structure and math_exception
274         for NetWare headers.
275         * fixincl.x: Regenerate.
276
277 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
278
279         * .cvsignore: New.
280         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
281         autoconfiscated.
282         * configure.ac: New.
283         * config.h.in: Generate.
284         * configure: Generate.
285         * aclocal.m4: New.
286         * fixlib.h: Remove inclusions of gcc files.
287         * system.h: New.
288
289         Other files copied from gcc/fixinc.