OSDN Git Service

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