OSDN Git Service

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