OSDN Git Service

2008-04-25 Kai Tietz <kai.tietz@onvision.com>
[pf3gnuchains/gcc-fork.git] / fixincludes / ChangeLog
1 2008-04-25  Kai Tietz  <kai.tietz@onvision.com>
2
3         * fixincl.c (fix_with_system): Cast pointer difference to long.
4         * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
5
6 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
7
8         PR bootstrap/35457
9         * Makefile.in: Rewrite aclocal.m4 rule.
10         * aclocal.m4: Regenerate.
11         * configure: Regenerate.
12
13 2008-03-07  Peter O'Gorman  <pogma@thewrittenword.com>
14
15         PR c++/20366
16         * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
17         * fixincl.x: Regenerate.
18         * tests/base/stdio.h: Add test.
19
20 2008-02-25  Ben Elliston  <bje@au.ibm.com>
21
22         PR other/32948
23         * fixincl.c (fix_applies): Remove unused variable `name_len'.
24
25 2008-02-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
26
27         * inclhack.def (solaris_math_10): New.
28         * tests/base/iso/math_c99.h: Update.
29
30         * fixincl.x: Regenerate.
31
32 2008-02-04  Ismail Dönmez  <ismail@pardus.org.tr>
33
34         * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
35         freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
36         netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon):  Add
37         quotes around mach entries.
38         * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
39         to GPLv3.
40
41 2008-02-04  Hans-Peter Nilsson  <hp@axis.com>
42
43         PR other/31405
44         * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
45         (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
46         __extern_inline|__GNU_STDC_INLINE__.
47         (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
48         <bypass>: Change from __STDC_VERSION__ to
49         __extern_inline|__GNU_STDC_INLINE__.
50         <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
51         appending attribute-gnu_inline.
52         <second c_fix_arg>: Remove.
53         <test_text>: Remove __extern_inline line.
54         * tests/base/features.h: Re-add.
55         * tests/base/sys/sysmacros.h: Adjust.
56         * fixincl.x: Regenerate.
57
58 2008-01-06  Hans-Peter Nilsson  <hp@axis.com>
59
60         Revert last change.
61
62 2007-12-18  Hans-Peter Nilsson  <hp@axis.com>
63
64         * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
65         * fixincl.x: Regenerate.
66         * tests/base/wchar.h: Update.
67         * tests/base/features.h: New.
68
69 2007-10-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
70
71         PR target/33700
72         * inclhack.def (hpux11_pthread_const): New.
73         * fixincl.x: Regenerate.
74         * tests/base/sys/pthread.h: Update.
75
76 2007-10-12  Kai Tietz  <kai.tietz@onevision.com>
77
78         * configure.ac: x86_64 mingw target uses twoprocess.
79         * mkfixinc.sh: Add x86_64 mingw target.
80         * configure: Regenerate.
81
82 2007-10-09  Geoffrey Keating  <geoffk@apple.com>
83
84         * inclhack.def (darwin_externc): New.
85         * fixincl.x: Regenerate.
86         * tests/base/mach-o/swap.h: New.
87
88 2007-08-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
89
90         * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
91         Delete fixes.
92         * tests/base/iso/math_c99.h: Delete associated test baselines.
93         * fixincl.x: Regenerate.
94
95 2007-07-24  Krister Walfridsson  <cato@df.lth.se>
96
97         PR target/30058
98         * inclhack.def (netbsd_c99_inline_2): New.
99         * fixincl.x: Regenerate.
100         * tests/base/signal.h: Update.
101
102 2007-07-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
103
104         PR target/32641
105
106         * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
107         solaris_math_7): Constify and make FP exception-safe.
108         * tests/base/iso/math_c99.h: Update.
109
110         * fixincl.x: Regenerate.
111
112 2007-07-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
113
114         PR libgcj/28190
115         * inclhack.def (irix_stdint_c99): New fix.
116         * fixincl.x: Regenerate.
117         * tests/base/stdint.h: New test.
118
119 2007-06-06  Steve Ellcey  <sje@cup.hp.com>
120
121         PR testsuite/31828
122         * inclhack.def (hppa_hpux_fp_macros): New.
123         * fixincl.x: Regenerate.
124         * tests/base/math.h: Update.
125
126 2007-03-26  Jakub Jelinek  <jakub@redhat.com>
127
128         * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
129         if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
130         __STDC_VERSION__ < 199901L.
131         (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
132         with #ifdef __GNUC_GNU_INLINE__.
133         (glibc_c99_inline_3): Add select.  Replace __STDC_VERSION__ >= 199901L
134         with defined(__GNUC_STDC_INLINE__).
135         (glibc_c99_inline_4): Change select, add second c_fix_arg.
136         Replace #if __STDC_VERSION__ < 199901L with
137         #ifdef __GNUC_GNU_INLINE__.
138         * fixincl.x: Regenerated.
139         * tests/base/bits/string2.h: Update.
140         * tests/base/sys/sysmacros.h: Update.
141         * tests/base/sys/stat.h: Update.
142
143 2007-03-18  Krister Walfridsson  <cato@df.lth.se>
144
145         PR target/30058
146         * inclhack.def (netbsd_c99_inline_1): New.
147         * fixincl.x: Regenerate.
148         * tests/base/signal.h: New.
149
150 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
151
152         * Makefile.in: Add dummy "install-info" target.
153
154 2007-03-06  Joseph Myers  <joseph@codesourcery.com>
155
156         * mkheaders.in: Fix headers for each multilib required.
157
158 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
159
160         * Makefile.in: Add dummy install-pdf target.
161
162 2007-02-27  Joseph Myers  <joseph@codesourcery.com>
163
164         * mkheaders.in (incdir): Use include-fixed not include.
165
166 2007-02-15  Brooks Moses  <brooks.moses@codesourcery.com>
167
168         * Makefile.in: Added "pdf" target to .PHONY.
169
170 2007-02-05  Richard Guenther  <rguenther@suse.de>
171
172         * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
173         with older glibc.  Adjust version number for C99.
174         * fixincl.x: Regenerated.
175
176 2007-02-04  Mike Stump  <mrs@apple.com>
177
178         * mkheaders.in: Allow optional isysroot parameter.
179
180 2007-02-03  Bruce Korb <bkorb@gnu.org>
181
182         * inclhack.def (glibc_c99_inline_4): replace "extern" only if
183         surrounded by space characters.
184
185 2007-01-25  Daniel Franke <franke.daniel@gmail.com>
186
187         PR target/30272
188         * inclhack.def(broken_cabs): Also remove definition of cabsl.
189         * fixincl.x: Regenerate.
190         * tests/base/math.h: Update.
191
192 2007-01-05  Bruce Korb <bkorb@gnu.org>, 
193             Daniel Franke <franke.daniel@gmail.com>
194
195         PR target/30008
196         * fixincl.tpl (List): separate file name patterns with a NUL byte instead
197         of a vertical bar ("|").
198         * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
199         matching.  Set SKIP_TEST flag if we are not to run a test.
200         * fixincl.x: Regenerate.
201         * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
202         kandr_concat, sco_math): Replace lists of specfic file names by search
203         patterns.
204
205 2006-12-12  Olivier Hainque  <hainque@adacore.com>
206
207         * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
208         targets for which a no-op fixer is appropriate.
209         
210 2006-11-07  Richard Guenther  <rguenther@suse.de>
211
212         * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
213         systems.
214         * fixincl.x: Regenerate.
215
216 2006-11-02  Geoffrey Keating  <geoffk@apple.com>
217
218         * inclhack.def (glibc_c99_inline_1): New.
219         * inclhack.def (glibc_c99_inline_2): New.
220         * inclhack.def (glibc_c99_inline_3): New.
221         * inclhack.def (glibc_c99_inline_4): New.
222         * fixincl.x: Regenerate.
223         * tests/base/bits/string2.h: New.
224         * tests/base/sys/sysmacros.h: New.
225         * tests/base/sys/stat.h: Update.
226
227 2006-11-01  Steve Ellcey  <sje@cup.hp.com>
228
229         * tests/base/sys/socket.h: Update.
230
231 2006-10-31  Steve Ellcey  <sje@cup.hp.com>
232
233         * inclhack.def (hpux11_extern_sendfile): New.
234         (hpux11_extern_sendpath): New.
235         * fixincl.x: Regenerate.
236
237 2006-10-29  Joseph Myers  <joseph@codesourcery.com>
238
239         * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
240         * fixincl.x: Regenerate.
241
242 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
243
244         * Makefile.in: Added empty "pdf" target.
245
246 2006-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
247
248         PR target/29300
249         * inclhack.def (hpux_pthread_initializers): New hack.
250         * tests/base/sys/pthread.h: New file.
251
252         * fixincl.x: Regenerate.
253
254 2006-10-03  Uros Bizjak <uros@kss-loka.si>
255
256         * inclhack.def (glibc_mutex_init): Also fix
257         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
258         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
259         * tests/base/pthread.h: Update.
260
261         * fixincl.x: Regenerate.
262
263 2006-10-01  Uros Bizjak <uros@kss-loka.si>
264
265         * inclhack.def (glibc_mutex_init): New fix.
266         * tests/base/pthread.h: Update.
267
268         * fixincl.x: Regenerate.
269
270 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
271
272         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
273         Prevent it from running on solaris10 or later.
274         (solaris_once_init_2): Fix comment.
275         * tests/base/pthread.h: Update.
276
277         * fixincl.x: Regenerate.
278
279 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
280
281         * inclhack.def (solaris_once_init_2): New fix.
282         * tests/base/pthread.h: Update.
283
284         * fixincl.x: Regenerate.
285
286 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
287
288         * inclhack.def (solaris_mutex_init_2): Remove test for
289         PTHREAD_RWLOCK_INITIALIZER.
290         (solaris_rwlock_init_1): New.
291         * tests/base/pthread.h: Update.
292
293         * inclhack.def (solaris_once_init_1): New.
294         * tests/base/pthread.h: Adjust for new fix.
295         
296         * fixincl.x: Regenerate.
297
298 2006-07-17  Roger Sayle  <roger@eyesopen.com>
299
300         * tests/base/errno.h: New file.
301         * tests/base/architecture/ppc/math.h: Likewise.
302         * tests/base/ia64/sys/getppdp.h: Likewise.
303
304 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
305
306         PR bootstrap/20437
307         * Makefile.in (configure, config.h.in): Change into $(srcdir)
308         before autoconf or autoheader call.
309
310 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
311
312         PR target/28084
313         * inclhack.def (hpux_extern_errno): New.
314         * fixincl.x: Regenerate.
315
316 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
317
318         * Makefile.in: Add dvi info html and install-html to .PHONY
319         Add install-html target.
320
321 2006-05-16  Mike Stump  <mrs@apple.com>
322
323         * configure.ac: Add -Wno-overlength-strings.
324         * configure: Regenerate.
325
326 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
327
328         * README: Fix typo.
329
330 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
331
332         PR target/26189
333         * inclhack.def (hpux_spu_info): New.
334         * fixincl.x: Regenerate
335
336 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
337
338         * configure.ac: Check for asprintf, basename, vasprintf.
339         * config.h.in: Regenerate.
340         * configure: Regenerate.
341
342 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
343
344         PR target/15642
345         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
346         __APPLE_CC_ as 1345.
347         (broken_nan): New.
348         * fixincl.x: Regenerate.
349
350 2005-11-24  Bruce Korb  <bkorb@gnu.org>
351
352         * fixincl.c (write_replacement): "here strings" in AutoGen
353         often/generally don't have a terminating newline.  Check the
354         last byte for '\n'.
355
356 2005-11-13  Andreas Jaeger  <aj@suse.de>
357
358         * check.tpl: Handle CVS additionally.
359
360 2005-11-05  Andreas Jaeger  <aj@suse.de>
361
362         * check.tpl: Adopt for move to subversion.
363
364 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
365
366         PR c++/23139
367         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
368         fixes.
369         * fixincl.x: Regenerate.
370         * tests/base/bits/huge_val.h: New file.
371
372 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
373
374         * All files: Update with new FSF address.
375
376 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
377
378         * Makefile.in (WARN_CFLAGS): New.
379         (.c.o): Add $(WARN_CFLAGS).
380         * aclocal.m4: Include ../config/warnings.m4.
381         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
382         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
383         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
384         * fixopts.c (initialize_opts): Fix old-style definintion.
385
386         * configure: Regenerate.
387
388 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
389
390         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
391         (AAB_darwin7_9_long_double_funcs_2): New.
392         * fixincl.x: Regenerate.
393
394 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
395
396         PR libfortran/15266
397         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
398         Use double quotes in select so \t matches tabs.
399         Add IRIX testcase.
400         * fixincl.x: Regenerate.
401         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
402
403 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
404
405         PR target/21683
406         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
407
408 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
409             Joseph S. Myers  <joseph@codesourcery.com>
410
411         PR target/19933
412         PR target/21315
413         * inclhack.def: New fixes solaris_math_[1-9].
414         * fixincl.x: Regenerate.
415         * tests/base/iso/math_c99.h: New.
416
417 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
418
419         * aclocal.m4: Remove superfluous reference to accross.m4.
420
421 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
422
423         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
424         * server.c (load_data): Likewise.
425         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
426         * fixincl.c: #include <sys/wait.h>
427         (run_compiles): Use XCNEWVEC instead of xcalloc.
428         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
429         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
430
431 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
432
433         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
434         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
435         * fixincl.x: Regenerate.
436
437 2005-05-06  Bruce Korb  <bkorb@gnu.org>
438         Joseph S. Myers <joseph@codesourcery.com>
439
440         * fixinc/inclhack.def: Correct backslashes
441         * fixinc/fixincl.x: regen
442
443 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
444
445         * system.h (fopen, fdopen, freopen): Define these to the unlocked
446         libiberty functions.
447
448 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
449
450         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
451         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
452         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
453         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
454         _unlocked function.
455         (fwrite_unlocked): Fix prototype.
456
457         * configure, config.h.in: Regenerate.
458
459 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
460
461         * Makefile.in: Set gcc_version directly, not via substitution.
462         (libsubdir): Use $(gcc_version), not $(version).
463         (mkheaders.almost): New rule.
464         (mkheaders): Generate from mkheaders.almost.
465         (clean): Also delete mkheaders.almost.
466         * aclocal.m4: Do not include ../config/gcc-version.m4.
467         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
468         mkheaders.almost from mkheaders.in.
469         * configure: Regenerate.
470
471 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
472
473         PR target/20166
474         * inclhack.def: Add fix for array of incomplete structures
475         in function prototype in pthread.h.
476         * fixincl.x: Regenerate.
477         * tests/base/pthread.h: Adjust.
478
479 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
480
481         * inclhack.def (hpux_htonl): New fix.
482         * tests/base/netinet/in.h: New test.
483         * fixincl.x: Regenerate.
484
485 2005-02-23  James E Wilson  <wilson@specifixinc.com>
486
487         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
488
489 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
490
491         PR 18458
492         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
493         fixincl.
494
495 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
496
497         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
498         * aclocal.m4: Include ../config/gcc-version.m4.
499         * configure: Regenerate.
500
501 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
502
503         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
504         (stdio_va_list): Likewise.
505         (stdio_stdarg.h): Likewise.
506         (solaris_stdio_tag): Add bypass.
507         * fixincl.x: Regenerated.
508
509 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
510
511         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
512         built fixincl program.
513         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
514         up csh from user.
515
516 2004-11-20  Roger Sayle  <roger@eyesopen.com>
517
518         * inclhack.def (alpha_pthread_init): Fix technical problems with
519         the last check-in caused by CVS variable substitution.
520         * fixincl.x: Likewise.
521         * tests/base/pthread.h: Likewise.
522
523 2004-11-20  Roger Sayle  <roger@eyesopen.com>
524             Bruce Korb  <bkorb@gnu.org>
525
526         * inclhack.def (alpha_pthread_init): New fix.
527         * fixincl.x: Regenerate.
528         * tests/base/pthread.h: Update for new test.
529
530 2004-11-15  Bruce Korb  <bkorb@gnu.org>
531
532         * fixincl.c(fix_with_system): correct misuse of variables and
533         incorrect application of "sizeof()".
534
535 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
536
537         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
538         svr4__p, undefine_null): Remove.
539         * fixincl.x: Regenerate.
540         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
541         * tests/base/sys/param.h: Remove.
542         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
543         tests/base/sys/limits.h: Update.
544
545 2004-11-12  Mike Stump  <mrs@apple.com>
546
547         * Makefile.in (html): Add html generation support.
548
549 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
550
551         * inclhack.def (sco_math): Bypass on __GNUG__.
552         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
553         * fixincl.x: Regenerate.
554
555 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
556
557         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
558         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
559         _CLASSIC_ANSI_TYPES.
560         (sun_auth_proto): Bypass on __cplusplus.
561         * fixincl.x: Regenerate.
562
563 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
564
565         * Makefile.in (mostlyclean): Add fixinc.sh.
566         (clean): Add mkheaders.
567         (distclean): New.
568         (dvi): New.
569         (info): New.
570         (installcheck): New.
571
572 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
573
574         * Makefile.in (mostlyclean, distclean): New targets.
575
576 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
577
578         * configure.ac: Add code to determine noncanonical_target,
579         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
580         * configure: Regenerate.
581         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
582         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
583         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
584         update for changes to fixinc.in.
585         * Makefile.in: Add many new macros.
586         (install): New target.
587         (mkheaders): New target.
588         (fixinc.sh): New target.
589         (all): Add mkheaders and fixinc.sh.
590         * README-fixinc: Move here from gcc/.
591
592 2004-11-01  Mike Stump  <mrs@apple.com>
593
594         * inclhack.def (stdio_va_list): Break out clients from here...
595         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
596         included or ifdef va_start.
597         * fixincl.x: Regenerate.
598
599 2004-10-28  Mike Stump  <mrs@apple.com>
600
601         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
602         systems.
603         * fixincl.x: Regenerate.
604
605 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
606
607         * inclhack.def (darwin_gcc4_breakage): New.
608         * fixincl.x: Regenerate.
609
610 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
611
612         PR bootstrap/17832
613
614         * fixfixes.c (main): Check for _PC_NAME_MAX.
615
616 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
617
618         PR other/17991
619
620         * configure.ac: Fix typo.
621         * configure: Regenerate.
622         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
623
624 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
625
626         PR bootstrap/17832
627
628         * fixincl.c (SIGCHLD): Remove definition.
629         (initialize): Remove SIGIOT and SIGPIPE checks.
630         (create_file): Fix mkdir() for Win32.
631         (internal_fix): Use dup2() instead of fcntl().
632
633         * fixlib.h (SIGQUIT): Define if undefined.
634         (SIGIOT): Same.
635         (SIGPIPE): Same.
636         (SIGALRM): Same.
637         (SIGKILL): Same.
638
639         * procopen.c (chain_open): Use dup2() instead of fcntl().
640
641 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
642
643         PR other/17991
644
645         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
646         Update copyright year.
647         * fixfixes.c (main): Call initialize_opts from fixopts.c.
648         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
649         do not include code for parsing options (environment vars).
650         (fix_with_system): Use a search path for applyfix, so that you
651         can run the test suite with two-process fixincludes.
652         * fixopts.c: New file.
653         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
654         to config.h.  Default to --enable-twoprocess for MinGW32.
655         * config.h.in: Regenerate.
656         * configure: Regenerate.
657
658 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
659
660         * tests/base/sys/cdefs.h: Update from test area.
661
662 2004-09-17  Roger Sayle  <roger@eyesopen.com>
663
664         * inclhack.def (linux_ia64_ucontext): New fix.
665         * fixincl.x: Regenerate.
666         * tests/base/sys/ucontext.h: New file.
667
668 2004-09-15  Roger Sayle  <roger@eyesopen.com>
669
670         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
671         * tests/base/stdlib.h: Likewise.
672
673 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
674
675         * inclhack.def (freebsd_gcc4_breakage): Add.
676         * fixincl.x: Regenerate.
677         * tests/base/sys/cdefs.h: Update for new test.
678
679 2004-09-10  Adam Nemet  <anemet@lnxw.com>
680
681         * inclhack.def (lynx_void_int): Remove.
682         (lynxos_fcntl_proto): Remove.
683         (lynxos_no_warning_in_sys_time_h): New fix.
684         (lynxos_missing_putenv): New fix.
685         * fixincl.x: Regenerate.
686         * tests/base/fcntl.h: Remove.
687         * tests/base/sys/time.h: Update from test area.
688         * tests/base/curses.h: Likewise.
689         * tests/base/stdlib.h: Likewise.
690
691 2004-09-03  Jan Beulich  <jbeulich@novell.com>
692
693         * inclhack.def: Suppress exception_structure and math_exception
694         for NetWare headers.
695         * fixincl.x: Regenerate.
696
697 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
698
699         * .cvsignore: New.
700         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
701         autoconfiscated.
702         * configure.ac: New.
703         * config.h.in: Generate.
704         * configure: Generate.
705         * aclocal.m4: New.
706         * fixlib.h: Remove inclusions of gcc files.
707         * system.h: New.
708
709         Other files copied from gcc/fixinc.