OSDN Git Service

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