OSDN Git Service

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