OSDN Git Service

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