OSDN Git Service

942df122fc4dd156ceae82691426fd7b444c4f4a
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2010-07-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2
3         * inclhack.def (solaris_cond_init): New fix.
4         * fixincl.x: Regenerate.
5         * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
6         [SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
7
8 2010-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9
10         * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes
11         * fixincl.x: Regenerate.
12         * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test.
13         * tests/base/sys/feature_tests.h: New file.
14
15 2010-06-03  Joern Rennecke <joern.rennecke@embecosm.com>
16             Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
17
18         PR bootstrap/42798
19         * configure.ac: Check for declaration of 'basename(char *)'.
20         * configure: Regenerate.
21
22 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
23
24         * inclhack.def (alpha_wchar): Remove.
25         * fixincl.x: Regenerate.
26         * tests/base/wchar.h: Remove.
27
28 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
29
30         * aclocal.m4: Regenerate.
31
32 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
33
34         * inclhack.def (alpha_assert): Allow for more whitespace in
35         select.
36         * fixincl.x: Regenerate.
37
38 2010-03-28  H.J. Lu  <hongjiu.lu@intel.com>
39
40         PR target/40722
41         * mkfixinc.sh: Revert the last change for mingw.
42
43 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
44
45         * inclhack.def (glibc_strncpy): New fix.
46         * fixincl.x: Regenerate.
47         * tests/base/bits/string2.h: Update.
48
49 2010-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50
51         PR target/40722
52         * mkfixinc.sh: Fix stdlib.h for mingw.
53
54 2010-02-19  Bruce Korb  <bkorb@gnu.org>
55
56         * inclhack.def: remove vestiges of inadvertently committed changes
57
58 2010-02-10  Bruce Korb  <bkorb@gnu.org>
59
60         * README: fix up references to old gcc/fixinc directory
61
62 2010-01-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
63
64         * inclhack.def (solaris_int_limits_3): New fix.
65         * fixincl.x: Regenerate.
66         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
67         test.
68
69         * inclhack.def (solaris_int_const, solaris_int_limits_1,
70         solaris_int_limits_2 ): Applies to Solaris 2 in general.
71         Remove select.
72         Add mach for *-*-solaris2*.
73         Change second c_fix_arg to select.
74         Remove #pragma ident from test_text.
75         * fixincl.x: Regenerate.
76         * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
77         #pragma trigger text.
78         * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
79         SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
80
81 2010-01-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
82
83         * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
84         (aix_stdint_2): Likewise.
85         (aix_stdint_3): Likewise.
86         (aix_stdint_4): Likewise.
87         (aix_stdint_5): Likewise.
88         (darwin_stdint_1): Add stdint-darwin.h to files.
89         (darwin_stdint_2): Likewise.
90         (darwin_stdint_3): Likewise.
91         (darwin_stdint_4): Likewise.
92         (darwin_stdint_5): Likewise.
93         (darwin_stdint_6): Likewise.
94         (darwin_stdint_7): Likewise.
95         (hpux_c99_intptr): Add stdint-hpux11.h to files.
96         (hpux_c99_inttypes): Likewise.
97         (hpux_c99_inttypes2): Likewise.
98         (hpux_stdint_least_fast): Likewise.
99         (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
100         (irix_stdint_c99_types): New fix.
101         (irix_stdint_c99_macros): New fix.
102         (newlib_stdint_1): Add stdint-newlib.h to files.
103         (newlib_stdint_2): Likewise.
104         fixincl.x: Regenerate.
105         tests/base/stdint-aix.h: New file.
106         tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
107         AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
108         tests/base/stdint-aix.h: ... here.
109         [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
110         [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
111         [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
112         tests/base/stdint-darwin.h: New file.
113         tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
114         DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
115         DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
116         tests/base/stdint-darwin.h: ... here.
117         [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
118         [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
119         [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
120         tests/base/stdint-hpux11.h: New file.
121         tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
122         HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
123         tests/base/stdint-hpux11.h: ... here.
124         [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
125         [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
126         tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
127         IRIX_STDINT_C99_MODE_CHECK.
128         tests/base/stdint-irix65.h: New file.
129         tests/base/stdint-newlib.h: New file.
130         tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
131         NEWLIB_STDINT_2_CHECK]: Moved ...
132         tests/base/stdint-newlib.h: ... here.
133
134 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
135
136         * configure: Regenerate.
137
138 2009-10-21  Steve Ellcey  <sje@cup.hp.com>
139
140         * inclhack.def (hpux_stdint_least_fast): Simplify.
141         * fixincl.x: Regenerate.
142         * tests/base/stdint.h: Update.
143
144 2009-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
145
146         * inclhack.def (isc_fmod, isc_omits_with_stdc)
147         (nested_sys_limits, sco_math): Remove.
148         * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
149         * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
150         * tests/base/sys/limits.h: Remove.
151         * fixincl.x: Regenerate.
152
153 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
154
155         PR testsuite/29737
156         PR bootstrap/35938
157         PR testsuite/39655
158         * check.tpl: Fix typos.
159         * README: Likewise.  Also, document that 'select' uses ERE.
160         * mkheaders.in: Update copyright years in --version output.
161         * inclhack.def (sco_math): Add missing final newline in sed
162         script 'a', 'c', or 'i' commands, for BSD sed.
163         (sco_math): In the text of 'a', 'c', or 'i' sed
164         commands, prepend leading white space with a backslash to avoid
165         the whitespace to be removed by BSD sed.
166         (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
167         (x11_new): Fix sed expression, for BSD sed.
168         (glibc_mutex_init): Fix newlines in sed 's' command replacement
169         part, for GNU sed 3.02 and Solaris sed.
170         (glibc_mutex_init): Replace unportable \+ sed regex operator
171         with \{1,\}.
172         (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
173         alternation \| regex operator.
174         (solaris_complex): Remove superfluous backslashes from
175         replacement string.  Replace \+ operator with \{1,\}.
176         * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
177         * fixincl.x: Regenerate.
178
179 2009-09-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
180
181         PR libfortran/41169
182         * inclhack.def (irix_complex): New fix.
183         (solaris_complex): Likewise.
184         * fixincl.x: Regenerate.
185         * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
186         New tests.
187
188 2009-08-28   Bruce Korb <bkorb@gnu.org>
189              Steve Ellcey  <sje@cup.hp.com>
190
191         * README (files): Describe files entry.
192         * inclhack.def (hpux_stdint_least): Remove.
193         (hpux_stdint_fast): Remove.
194         (hpux_stdint_fast): Remove.
195         (hpux_stdint_least_fast): New.
196         (hpux_inttype_int_least8_t): Remove.
197         (hpux_inttype_int8_t): Modify.
198         * fixincl.x: Regenerate.
199         * tests/base/stdint.h: Update.
200         * tests/base/sys/_inttypes.h: Update.
201
202 2009-08-28  Steve Ellcey  <sje@cup.hp.com>
203
204         * inclhack.def (hpux_imaginary_i): Remove spaces.
205         * fixincl.x: Regenerate.
206         * tests/base/stdint.h: Update AIX fixes. 
207         * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
208
209 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
210
211         * configure.ac (AC_PREREQ): Bump to 2.64.
212
213 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
214
215         * aclocal.m4: Regenerate.
216         * configure: Regenerate.
217         * config.h.in: Regenerate.
218
219 2009-08-17  David Edelsohn  <edelsohn@gnu.org>
220
221         * inclhack.def (aix_complex): Redefine _Complex_I.  Do not
222         redefine I.
223         * (aix_stdint_[12345]): New fixes.
224         * fixincl.x: Regenerate.
225         * tests/base/complex.h: Update check.
226         * tests/base/stdint.h: Add AIX stdint.h checks.
227
228 2009-08-14  Steve Ellcey  <sje@cup.hp.com>
229
230         * inclhack.def (hpux_imaginary_i): New fix.
231         * fixincl.x: Regenerate.
232         * tests/base/complex.h: New file.
233
234 2009-08-12  David Edelsohn  <edelsohn@gnu.org>
235
236         * inclhack.def (aix_complex): New fix.
237         * fixincl.x: Regenerate.
238         
239 2009-08-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
240
241         * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
242         (hpux_inttype_int8_t): Likewise.
243         * fixincl.x: Regenerate.
244
245 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
246
247         * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
248         New variables.
249         ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
250         Use them.
251
252 2009-07-04  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
253
254         * inclhack.def (darwin_stdint_5, darwin_stdint_6,
255         darwin_stdint_7): New fixes.
256         * fixincl.x: Regenerate.
257         * tests/base/stdint.h: Adjust test for new fixes.
258
259 2009-07-03  Eric Botcazou  <ebotcazou@adacore.com>
260
261         * inclhack.def (solaris_int_types): New fix.
262         * fixincl.x: Regenerate.
263         * tests/base/sys/int_types.h: New file.
264
265 2009-06-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
266
267         * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
268         darwin_stdint_4): New fixes.
269         * tests/base/stdint.h: Adjust test results for new fixes.
270         * fixincl.x: Regenerate.
271
272 2009-05-29  Eric Botcazou  <ebotcazou@adacore.com>
273
274         * inclhack.def (solaris_int_const): New fix.
275         (solaris_int_limits_1): Likewise.
276         (solaris_int_limits_2): Likewise.
277         * fixincl.x: Regenerate.
278         * tests/base/sys/int_const.h: New file.
279         * tests/base/sys/int_limits.h: Likewise.
280
281 2009-05-15  Joseph Myers  <joseph@codesourcery.com>
282
283         * inclhack.def (glibc_tgmath): Correct bypass.
284         * fixincl.x: Regenerate.
285
286 2009-04-28  Steve Ellcey  <sje@cup.hp.com>
287
288         * inclhack.def (hpux11_uint32_c): Remove.
289         (hpux_long_double): Disable on hpux11.3*.
290         (hpux_long_double_2): New.
291         (hpux_c99_intptr): New.
292         (hpux_c99_inttypes): New.
293         (hpux_c99_inttypes2): New.
294         (hpux_stdint_least): New.
295         (hpux_stdint_fast): New.
296         (hpux_inttype_int_least8_t): New.
297         (hpux_inttype_int8_t): New.
298         * fixincl.x: Regenerate.
299         * tests/base/sys/_inttypes.h: New.
300         * tests/base/inttypes.h: Update.
301         * tests/base/stdlib.h: Update.
302         * tests/base/stdint.h: Update.
303
304 2009-04-28  Joseph Myers  <joseph@codesourcery.com>
305
306         * inclhack.def (glibc_stdint): New fix.
307         * fixincl.x: Regenerate.
308         * tests/base/stdint.h: Update.
309
310 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
311
312         * Makefile.in: Change copyright header to refer to version
313         3 of the GNU General Public License and to point readers at the
314         COPYING3 file and the FSF's license web page.
315         * fixfixes.c: Likewise.
316         * fixinc.in: Likewise.
317         * fixincl.c: Likewise.
318         * fixlib.c: Likewise.
319         * fixlib.h: Likewise.
320         * fixopts.c: Likewise.
321         * fixtests.c: Likewise.
322         * genfixes: Likewise.
323         * mkheaders.in: Likewise.
324         * system.h: Likewise.
325
326 2009-03-31  Joseph Myers  <joseph@codesourcery.com>
327
328         PR c/448
329         * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
330         * fixincl.x: Regenerate.
331         * tests/base/stdint.h: Update.
332
333 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
334
335         * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
336         Update.
337
338 2009-03-29  Joseph Myers  <joseph@codesourcery.com>
339
340         PR c/456
341         PR c/5675
342         PR c/19976
343         PR c/29116
344         PR c/31871
345         PR c/35198
346         * inclhack.def (glibc_tgmath): New fix.
347         * fixincl.x: Regenerate.
348         * tests/base/tgmath.h: New.
349
350 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
351
352         * inclhack.def (aix_syswait, exception_structure,
353         pthread_page_size): Remove.
354         (math_exception): Remove mention of fixproto in comment.
355         * fixincl.x: Regenerate.
356         * mkheaders.in: Do not handle STMP_FIXPROTO.
357
358 2009-03-27  Sandra Loosemore  <sandra@codesourcery.com>
359
360         * server.c (run_shell): Quote directory name passed to cd.
361
362 2009-03-01  Bruce Korb  <bkorb@gnu.org>
363         Apply a positively ancient patch:
364
365         2004-10-15  Giovanni Bajo  <giovannibajo@libero.it>
366
367         * inclhack.def (alpha_if_semicolon): new fix from long, long ago
368         * tests/base/net/if.h: Add new test.
369
370 2009-01-06  Andreas Tobler  <a.tobler@schweiz.org>
371
372         * tests/base/locale.h: Add new test.
373         * tests/base/stdarg.h: Likewise.
374
375 2009-01-05  Steve Ellcey  <sje@cup.hp.com>
376
377         * inclhack.def (hpux_spu_info):  Add files line.
378         * fixincl.x: Regenerate.
379
380 2009-01-01  Andreas Tobler  <a.tobler@schweiz.org>
381
382         * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
383         in case of C.
384         * fixincl.x: Regenerate.
385
386 2008-12-31  Andreas Tobler  <a.tobler@schweiz.org>
387
388         PR target/35460
389         * inclhack.def (openbsd_va_start): Use __builtin_va_start
390         for OpenBSD.
391         * fixincl.x: Regenerate.
392
393 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
394
395         * configure: Regenerate.
396
397 2008-12-15  Steve Ellcey  <sje@cup.hp.com>
398
399         * inclhack.def (hpux_spu_info): Match PA as well as IA64.
400         * fixincl.x: Regenerate.
401
402 2008-09-06  H.J. Lu  <hongjiu.lu@intel.com>
403
404         * configure.ac: Fix a typo.
405         * configured: Regenerate.
406
407 2008-09-06  Bruce Korb  <bkorb@gnu.org>
408
409         * fixincl.tpl (sed): make the program executable configurable.
410         Some platforms have some rather oddball defaults.
411         * config.h.in (SED_PROGRAM): define the default sed.
412         * fixincl.x: regenerated
413         * tests/base/internal/wchar_core.h: fix bad sample text
414         * tests/base/math.h: fix bad sample text
415         * configure.ac: search for working sed
416         * inclhack.def (glibc_mutex_init): fix non-portable construct
417         and re-order a few misordered entries.
418
419 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
420
421         * configure: Regenerate.
422
423 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
424
425         * inclhack.def (AAB_svr4_replace_byteorder,
426         AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
427         libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
428         ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
429         solaris_mutex_init_1, solaris_socket, solaris_unistd,
430         solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
431         ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
432         ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
433         ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
434         ultrix_strings2, ultrix_sys_time, ultrix_unistd,
435         unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
436         windiss_math2, windiss_valist): Remove.
437         * fixincl.x: Regenerate.
438         * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
439         i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
440         powerpc-*-eabiaix*): Remove.
441         * tests/base/math.h: Update.
442         * tests/base/pthread.h: Update.
443         * tests/base/stdio.h: Update.
444         * tests/base/stdlib.h: Update.
445         * tests/base/string.h: Update.
446         * tests/base/strings.h: Update.
447         * tests/base/sys/file.h: Update.
448         * tests/base/sys/limits.h: Update.
449         * tests/base/sys/socket.h: Update.
450         * tests/base/sys/stat.h: Update.
451         * tests/base/sys/time.h: Update.
452         * tests/base/testing.h: Update.
453         * tests/base/unistd.h: Update.
454         * tests/base/_G_config.h: Remove.
455         * tests/base/arpa: Remove directory.
456         * tests/base/fs: Remove directory.
457         * tests/base/locale.h: Remove.
458         * tests/base/machine: Remove directory.
459         * tests/base/rpc/svc.h: Remove.
460         * tests/base/sys/ioctl.h: Remove.
461         * tests/base/sys/regset.h: Remove.
462         * tests/base/sys/times.h: Remove.
463         * tests/base/sys/utsname.h: Remove.
464         * tests/base/widec.h: Remove.
465
466 2008-05-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
467
468         * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
469         * tests/base/iso/math_c99.h: Update.
470         * fixincl.x: Regenerate.
471
472 2008-05-14  Joseph Myers  <joseph@codesourcery.com>
473
474         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
475         posix_types_64.
476         * fixincl.x: Regenerate.
477
478 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
479
480         * fixincl.c (fix_with_system): Cast pointer difference to long.
481         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
482
483 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
484
485         PR bootstrap/35457
486         * Makefile.in: Rewrite aclocal.m4 rule.
487         * aclocal.m4: Regenerate.
488         * configure: Regenerate.
489
490 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
491
492         PR c++/20366
493         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
494         * fixincl.x: Regenerate.
495         * tests/base/stdio.h: Add test.
496
497 2008-02-25  Ben Elliston  <bje@au.ibm.com>
498
499         PR other/32948
500         * fixincl.c (fix_applies): Remove unused variable `name_len'.
501
502 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
503
504         * inclhack.def (solaris_math_10): New.
505         * tests/base/iso/math_c99.h: Update.
506
507         * fixincl.x: Regenerate.
508
509 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
510
511         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
512         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
513         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
514         quotes around mach entries.
515         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
516         to GPLv3.
517
518 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
519
520         PR other/31405
521         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
522         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
523         __extern_inline|__GNU_STDC_INLINE__.
524         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
525         <bypass>: Change from __STDC_VERSION__ to
526         __extern_inline|__GNU_STDC_INLINE__.
527         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
528         appending attribute-gnu_inline.
529         <second c_fix_arg>: Remove.
530         <test_text>: Remove __extern_inline line.
531         * tests/base/features.h: Re-add.
532         * tests/base/sys/sysmacros.h: Adjust.
533         * fixincl.x: Regenerate.
534
535 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
536
537         Revert last change.
538
539 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
540
541         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
542         * fixincl.x: Regenerate.
543         * tests/base/wchar.h: Update.
544         * tests/base/features.h: New.
545
546 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
547
548         PR target/33700
549         * inclhack.def (hpux11_pthread_const): New.
550         * fixincl.x: Regenerate.
551         * tests/base/sys/pthread.h: Update.
552
553 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
554
555         * configure.ac: x86_64 mingw target uses twoprocess.
556         * mkfixinc.sh: Add x86_64 mingw target.
557         * configure: Regenerate.
558
559 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
560
561         * inclhack.def (darwin_externc): New.
562         * fixincl.x: Regenerate.
563         * tests/base/mach-o/swap.h: New.
564
565 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
566
567         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
568         Delete fixes.
569         * tests/base/iso/math_c99.h: Delete associated test baselines.
570         * fixincl.x: Regenerate.
571
572 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
573
574         PR target/30058
575         * inclhack.def (netbsd_c99_inline_2): New.
576         * fixincl.x: Regenerate.
577         * tests/base/signal.h: Update.
578
579 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
580
581         PR target/32641
582
583         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
584         solaris_math_7): Constify and make FP exception-safe.
585         * tests/base/iso/math_c99.h: Update.
586
587         * fixincl.x: Regenerate.
588
589 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
590
591         PR libgcj/28190
592         * inclhack.def (irix_stdint_c99): New fix.
593         * fixincl.x: Regenerate.
594         * tests/base/stdint.h: New test.
595
596 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
597
598         PR testsuite/31828
599         * inclhack.def (hppa_hpux_fp_macros): New.
600         * fixincl.x: Regenerate.
601         * tests/base/math.h: Update.
602
603 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
604
605         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
606         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
607         __STDC_VERSION__ < 199901L.
608         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
609         with #ifdef __GNUC_GNU_INLINE__.
610         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
611         with defined(__GNUC_STDC_INLINE__).
612         (glibc_c99_inline_4): Change select, add second c_fix_arg.
613         Replace #if __STDC_VERSION__ < 199901L with
614         #ifdef __GNUC_GNU_INLINE__.
615         * fixincl.x: Regenerated.
616         * tests/base/bits/string2.h: Update.
617         * tests/base/sys/sysmacros.h: Update.
618         * tests/base/sys/stat.h: Update.
619
620 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
621
622         PR target/30058
623         * inclhack.def (netbsd_c99_inline_1): New.
624         * fixincl.x: Regenerate.
625         * tests/base/signal.h: New.
626
627 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
628
629         * Makefile.in: Add dummy "install-info" target.
630
631 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
632
633         * mkheaders.in: Fix headers for each multilib required.
634
635 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
636
637         * Makefile.in: Add dummy install-pdf target.
638
639 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
640
641         * mkheaders.in (incdir): Use include-fixed not include.
642
643 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
644
645         * Makefile.in: Added "pdf" target to .PHONY.
646
647 2007-02-05  Richard Guenther  <rguenther@suse.de>
648
649         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
650         with older glibc.  Adjust version number for C99.
651         * fixincl.x: Regenerated.
652
653 2007-02-04  Mike Stump  <mrs@apple.com>
654
655         * mkheaders.in: Allow optional isysroot parameter.
656
657 2007-02-03  Bruce Korb <bkorb@gnu.org>
658
659         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
660         surrounded by space characters.
661
662 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
663
664         PR target/30272
665         * inclhack.def(broken_cabs): Also remove definition of cabsl.
666         * fixincl.x: Regenerate.
667         * tests/base/math.h: Update.
668
669 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
670             Daniel Franke <franke.daniel@gmail.com>
671
672         PR target/30008
673         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
674         of a vertical bar ("|").
675         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
676         matching.  Set SKIP_TEST flag if we are not to run a test.
677         * fixincl.x: Regenerate.
678         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
679         kandr_concat, sco_math): Replace lists of specfic file names by search
680         patterns.
681
682 2006-12-12  Olivier Hainque  <hainque@adacore.com>
683
684         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
685         targets for which a no-op fixer is appropriate.
686         
687 2006-11-07  Richard Guenther  <rguenther@suse.de>
688
689         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
690         systems.
691         * fixincl.x: Regenerate.
692
693 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
694
695         * inclhack.def (glibc_c99_inline_1): New.
696         * inclhack.def (glibc_c99_inline_2): New.
697         * inclhack.def (glibc_c99_inline_3): New.
698         * inclhack.def (glibc_c99_inline_4): New.
699         * fixincl.x: Regenerate.
700         * tests/base/bits/string2.h: New.
701         * tests/base/sys/sysmacros.h: New.
702         * tests/base/sys/stat.h: Update.
703
704 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
705
706         * tests/base/sys/socket.h: Update.
707
708 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
709
710         * inclhack.def (hpux11_extern_sendfile): New.
711         (hpux11_extern_sendpath): New.
712         * fixincl.x: Regenerate.
713
714 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
715
716         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
717         * fixincl.x: Regenerate.
718
719 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
720
721         * Makefile.in: Added empty "pdf" target.
722
723 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
724
725         PR target/29300
726         * inclhack.def (hpux_pthread_initializers): New hack.
727         * tests/base/sys/pthread.h: New file.
728
729         * fixincl.x: Regenerate.
730
731 2006-10-03  Uros Bizjak <uros@kss-loka.si>
732
733         * inclhack.def (glibc_mutex_init): Also fix
734         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
735         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
736         * tests/base/pthread.h: Update.
737
738         * fixincl.x: Regenerate.
739
740 2006-10-01  Uros Bizjak <uros@kss-loka.si>
741
742         * inclhack.def (glibc_mutex_init): New fix.
743         * tests/base/pthread.h: Update.
744
745         * fixincl.x: Regenerate.
746
747 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
748
749         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
750         Prevent it from running on solaris10 or later.
751         (solaris_once_init_2): Fix comment.
752         * tests/base/pthread.h: Update.
753
754         * fixincl.x: Regenerate.
755
756 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
757
758         * inclhack.def (solaris_once_init_2): New fix.
759         * tests/base/pthread.h: Update.
760
761         * fixincl.x: Regenerate.
762
763 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
764
765         * inclhack.def (solaris_mutex_init_2): Remove test for
766         PTHREAD_RWLOCK_INITIALIZER.
767         (solaris_rwlock_init_1): New.
768         * tests/base/pthread.h: Update.
769
770         * inclhack.def (solaris_once_init_1): New.
771         * tests/base/pthread.h: Adjust for new fix.
772         
773         * fixincl.x: Regenerate.
774
775 2006-07-17  Roger Sayle  <roger@eyesopen.com>
776
777         * tests/base/errno.h: New file.
778         * tests/base/architecture/ppc/math.h: Likewise.
779         * tests/base/ia64/sys/getppdp.h: Likewise.
780
781 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
782
783         PR bootstrap/20437
784         * Makefile.in (configure, config.h.in): Change into $(srcdir)
785         before autoconf or autoheader call.
786
787 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
788
789         PR target/28084
790         * inclhack.def (hpux_extern_errno): New.
791         * fixincl.x: Regenerate.
792
793 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
794
795         * Makefile.in: Add dvi info html and install-html to .PHONY
796         Add install-html target.
797
798 2006-05-16  Mike Stump  <mrs@apple.com>
799
800         * configure.ac: Add -Wno-overlength-strings.
801         * configure: Regenerate.
802
803 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
804
805         * README: Fix typo.
806
807 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
808
809         PR target/26189
810         * inclhack.def (hpux_spu_info): New.
811         * fixincl.x: Regenerate
812
813 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
814
815         * configure.ac: Check for asprintf, basename, vasprintf.
816         * config.h.in: Regenerate.
817         * configure: Regenerate.
818
819 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
820
821         PR target/15642
822         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
823         __APPLE_CC_ as 1345.
824         (broken_nan): New.
825         * fixincl.x: Regenerate.
826
827 2005-11-24  Bruce Korb  <bkorb@gnu.org>
828
829         * fixincl.c (write_replacement): "here strings" in AutoGen
830         often/generally don't have a terminating newline.  Check the
831         last byte for '\n'.
832
833 2005-11-13  Andreas Jaeger  <aj@suse.de>
834
835         * check.tpl: Handle CVS additionally.
836
837 2005-11-05  Andreas Jaeger  <aj@suse.de>
838
839         * check.tpl: Adopt for move to subversion.
840
841 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
842
843         PR c++/23139
844         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
845         fixes.
846         * fixincl.x: Regenerate.
847         * tests/base/bits/huge_val.h: New file.
848
849 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
850
851         * All files: Update with new FSF address.
852
853 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
854
855         * Makefile.in (WARN_CFLAGS): New.
856         (.c.o): Add $(WARN_CFLAGS).
857         * aclocal.m4: Include ../config/warnings.m4.
858         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
859         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
860         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
861         * fixopts.c (initialize_opts): Fix old-style definintion.
862
863         * configure: Regenerate.
864
865 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
866
867         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
868         (AAB_darwin7_9_long_double_funcs_2): New.
869         * fixincl.x: Regenerate.
870
871 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
872
873         PR libfortran/15266
874         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
875         Use double quotes in select so \t matches tabs.
876         Add IRIX testcase.
877         * fixincl.x: Regenerate.
878         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
879
880 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
881
882         PR target/21683
883         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
884
885 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
886             Joseph S. Myers  <joseph@codesourcery.com>
887
888         PR target/19933
889         PR target/21315
890         * inclhack.def: New fixes solaris_math_[1-9].
891         * fixincl.x: Regenerate.
892         * tests/base/iso/math_c99.h: New.
893
894 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
895
896         * aclocal.m4: Remove superfluous reference to accross.m4.
897
898 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
899
900         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
901         * server.c (load_data): Likewise.
902         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
903         * fixincl.c: #include <sys/wait.h>
904         (run_compiles): Use XCNEWVEC instead of xcalloc.
905         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
906         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
907
908 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
909
910         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
911         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
912         * fixincl.x: Regenerate.
913
914 2005-05-06  Bruce Korb  <bkorb@gnu.org>
915         Joseph S. Myers <joseph@codesourcery.com>
916
917         * fixinc/inclhack.def: Correct backslashes
918         * fixinc/fixincl.x: regen
919
920 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
921
922         * system.h (fopen, fdopen, freopen): Define these to the unlocked
923         libiberty functions.
924
925 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
926
927         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
928         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
929         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
930         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
931         _unlocked function.
932         (fwrite_unlocked): Fix prototype.
933
934         * configure, config.h.in: Regenerate.
935
936 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
937
938         * Makefile.in: Set gcc_version directly, not via substitution.
939         (libsubdir): Use $(gcc_version), not $(version).
940         (mkheaders.almost): New rule.
941         (mkheaders): Generate from mkheaders.almost.
942         (clean): Also delete mkheaders.almost.
943         * aclocal.m4: Do not include ../config/gcc-version.m4.
944         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
945         mkheaders.almost from mkheaders.in.
946         * configure: Regenerate.
947
948 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
949
950         PR target/20166
951         * inclhack.def: Add fix for array of incomplete structures
952         in function prototype in pthread.h.
953         * fixincl.x: Regenerate.
954         * tests/base/pthread.h: Adjust.
955
956 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
957
958         * inclhack.def (hpux_htonl): New fix.
959         * tests/base/netinet/in.h: New test.
960         * fixincl.x: Regenerate.
961
962 2005-02-23  James E Wilson  <wilson@specifixinc.com>
963
964         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
965
966 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
967
968         PR 18458
969         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
970         fixincl.
971
972 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
973
974         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
975         * aclocal.m4: Include ../config/gcc-version.m4.
976         * configure: Regenerate.
977
978 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
979
980         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
981         (stdio_va_list): Likewise.
982         (stdio_stdarg.h): Likewise.
983         (solaris_stdio_tag): Add bypass.
984         * fixincl.x: Regenerated.
985
986 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
987
988         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
989         built fixincl program.
990         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
991         up csh from user.
992
993 2004-11-20  Roger Sayle  <roger@eyesopen.com>
994
995         * inclhack.def (alpha_pthread_init): Fix technical problems with
996         the last check-in caused by CVS variable substitution.
997         * fixincl.x: Likewise.
998         * tests/base/pthread.h: Likewise.
999
1000 2004-11-20  Roger Sayle  <roger@eyesopen.com>
1001             Bruce Korb  <bkorb@gnu.org>
1002
1003         * inclhack.def (alpha_pthread_init): New fix.
1004         * fixincl.x: Regenerate.
1005         * tests/base/pthread.h: Update for new test.
1006
1007 2004-11-15  Bruce Korb  <bkorb@gnu.org>
1008
1009         * fixincl.c(fix_with_system): correct misuse of variables and
1010         incorrect application of "sizeof()".
1011
1012 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
1013
1014         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
1015         svr4__p, undefine_null): Remove.
1016         * fixincl.x: Regenerate.
1017         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
1018         * tests/base/sys/param.h: Remove.
1019         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
1020         tests/base/sys/limits.h: Update.
1021
1022 2004-11-12  Mike Stump  <mrs@apple.com>
1023
1024         * Makefile.in (html): Add html generation support.
1025
1026 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
1027
1028         * inclhack.def (sco_math): Bypass on __GNUG__.
1029         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
1030         * fixincl.x: Regenerate.
1031
1032 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
1033
1034         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1035         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1036         _CLASSIC_ANSI_TYPES.
1037         (sun_auth_proto): Bypass on __cplusplus.
1038         * fixincl.x: Regenerate.
1039
1040 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
1041
1042         * Makefile.in (mostlyclean): Add fixinc.sh.
1043         (clean): Add mkheaders.
1044         (distclean): New.
1045         (dvi): New.
1046         (info): New.
1047         (installcheck): New.
1048
1049 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
1050
1051         * Makefile.in (mostlyclean, distclean): New targets.
1052
1053 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
1054
1055         * configure.ac: Add code to determine noncanonical_target,
1056         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1057         * configure: Regenerate.
1058         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1059         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1060         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1061         update for changes to fixinc.in.
1062         * Makefile.in: Add many new macros.
1063         (install): New target.
1064         (mkheaders): New target.
1065         (fixinc.sh): New target.
1066         (all): Add mkheaders and fixinc.sh.
1067         * README-fixinc: Move here from gcc/.
1068
1069 2004-11-01  Mike Stump  <mrs@apple.com>
1070
1071         * inclhack.def (stdio_va_list): Break out clients from here...
1072         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
1073         included or ifdef va_start.
1074         * fixincl.x: Regenerate.
1075
1076 2004-10-28  Mike Stump  <mrs@apple.com>
1077
1078         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1079         systems.
1080         * fixincl.x: Regenerate.
1081
1082 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
1083
1084         * inclhack.def (darwin_gcc4_breakage): New.
1085         * fixincl.x: Regenerate.
1086
1087 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1088
1089         PR bootstrap/17832
1090
1091         * fixfixes.c (main): Check for _PC_NAME_MAX.
1092
1093 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
1094
1095         PR other/17991
1096
1097         * configure.ac: Fix typo.
1098         * configure: Regenerate.
1099         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
1100
1101 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
1102
1103         PR bootstrap/17832
1104
1105         * fixincl.c (SIGCHLD): Remove definition.
1106         (initialize): Remove SIGIOT and SIGPIPE checks.
1107         (create_file): Fix mkdir() for Win32.
1108         (internal_fix): Use dup2() instead of fcntl().
1109
1110         * fixlib.h (SIGQUIT): Define if undefined.
1111         (SIGIOT): Same.
1112         (SIGPIPE): Same.
1113         (SIGALRM): Same.
1114         (SIGKILL): Same.
1115
1116         * procopen.c (chain_open): Use dup2() instead of fcntl().
1117
1118 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
1119
1120         PR other/17991
1121
1122         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1123         Update copyright year.
1124         * fixfixes.c (main): Call initialize_opts from fixopts.c.
1125         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1126         do not include code for parsing options (environment vars).
1127         (fix_with_system): Use a search path for applyfix, so that you
1128         can run the test suite with two-process fixincludes.
1129         * fixopts.c: New file.
1130         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
1131         to config.h.  Default to --enable-twoprocess for MinGW32.
1132         * config.h.in: Regenerate.
1133         * configure: Regenerate.
1134
1135 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1136
1137         * tests/base/sys/cdefs.h: Update from test area.
1138
1139 2004-09-17  Roger Sayle  <roger@eyesopen.com>
1140
1141         * inclhack.def (linux_ia64_ucontext): New fix.
1142         * fixincl.x: Regenerate.
1143         * tests/base/sys/ucontext.h: New file.
1144
1145 2004-09-15  Roger Sayle  <roger@eyesopen.com>
1146
1147         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1148         * tests/base/stdlib.h: Likewise.
1149
1150 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
1151
1152         * inclhack.def (freebsd_gcc4_breakage): Add.
1153         * fixincl.x: Regenerate.
1154         * tests/base/sys/cdefs.h: Update for new test.
1155
1156 2004-09-10  Adam Nemet  <anemet@lnxw.com>
1157
1158         * inclhack.def (lynx_void_int): Remove.
1159         (lynxos_fcntl_proto): Remove.
1160         (lynxos_no_warning_in_sys_time_h): New fix.
1161         (lynxos_missing_putenv): New fix.
1162         * fixincl.x: Regenerate.
1163         * tests/base/fcntl.h: Remove.
1164         * tests/base/sys/time.h: Update from test area.
1165         * tests/base/curses.h: Likewise.
1166         * tests/base/stdlib.h: Likewise.
1167
1168 2004-09-03  Jan Beulich  <jbeulich@novell.com>
1169
1170         * inclhack.def: Suppress exception_structure and math_exception
1171         for NetWare headers.
1172         * fixincl.x: Regenerate.
1173
1174 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
1175
1176         * .cvsignore: New.
1177         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1178         autoconfiscated.
1179         * configure.ac: New.
1180         * config.h.in: Generate.
1181         * configure: Generate.
1182         * aclocal.m4: New.
1183         * fixlib.h: Remove inclusions of gcc files.
1184         * system.h: New.
1185
1186         Other files copied from gcc/fixinc.