1 2009-05-15 Joseph Myers <joseph@codesourcery.com>
3 * inclhack.def (glibc_tgmath): Correct bypass.
4 * fixincl.x: Regenerate.
6 2009-04-28 Steve Ellcey <sje@cup.hp.com>
8 * inclhack.def (hpux11_uint32_c): Remove.
9 (hpux_long_double): Disable on hpux11.3*.
10 (hpux_long_double_2): New.
11 (hpux_c99_intptr): New.
12 (hpux_c99_inttypes): New.
13 (hpux_c99_inttypes2): New.
14 (hpux_stdint_least): New.
15 (hpux_stdint_fast): New.
16 (hpux_inttype_int_least8_t): New.
17 (hpux_inttype_int8_t): New.
18 * fixincl.x: Regenerate.
19 * tests/base/sys/_inttypes.h: New.
20 * tests/base/inttypes.h: Update.
21 * tests/base/stdlib.h: Update.
22 * tests/base/stdint.h: Update.
24 2009-04-28 Joseph Myers <joseph@codesourcery.com>
26 * inclhack.def (glibc_stdint): New fix.
27 * fixincl.x: Regenerate.
28 * tests/base/stdint.h: Update.
30 2009-04-09 Jakub Jelinek <jakub@redhat.com>
32 * Makefile.in: Change copyright header to refer to version
33 3 of the GNU General Public License and to point readers at the
34 COPYING3 file and the FSF's license web page.
35 * fixfixes.c: Likewise.
36 * fixinc.in: Likewise.
37 * fixincl.c: Likewise.
40 * fixopts.c: Likewise.
41 * fixtests.c: Likewise.
43 * mkheaders.in: Likewise.
46 2009-03-31 Joseph Myers <joseph@codesourcery.com>
49 * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
50 * fixincl.x: Regenerate.
51 * tests/base/stdint.h: Update.
53 2009-03-29 Joseph Myers <joseph@codesourcery.com>
55 * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
58 2009-03-29 Joseph Myers <joseph@codesourcery.com>
66 * inclhack.def (glibc_tgmath): New fix.
67 * fixincl.x: Regenerate.
68 * tests/base/tgmath.h: New.
70 2009-03-28 Joseph Myers <joseph@codesourcery.com>
72 * inclhack.def (aix_syswait, exception_structure,
73 pthread_page_size): Remove.
74 (math_exception): Remove mention of fixproto in comment.
75 * fixincl.x: Regenerate.
76 * mkheaders.in: Do not handle STMP_FIXPROTO.
78 2009-03-27 Sandra Loosemore <sandra@codesourcery.com>
80 * server.c (run_shell): Quote directory name passed to cd.
82 2009-03-01 Bruce Korb <bkorb@gnu.org>
83 Apply a positively ancient patch:
85 2004-10-15 Giovanni Bajo <giovannibajo@libero.it>
87 * inclhack.def (alpha_if_semicolon): new fix from long, long ago
88 * tests/base/net/if.h: Add new test.
90 2009-01-06 Andreas Tobler <a.tobler@schweiz.org>
92 * tests/base/locale.h: Add new test.
93 * tests/base/stdarg.h: Likewise.
95 2009-01-05 Steve Ellcey <sje@cup.hp.com>
97 * inclhack.def (hpux_spu_info): Add files line.
98 * fixincl.x: Regenerate.
100 2009-01-01 Andreas Tobler <a.tobler@schweiz.org>
102 * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
104 * fixincl.x: Regenerate.
106 2008-12-31 Andreas Tobler <a.tobler@schweiz.org>
109 * inclhack.def (openbsd_va_start): Use __builtin_va_start
111 * fixincl.x: Regenerate.
113 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
115 * configure: Regenerate.
117 2008-12-15 Steve Ellcey <sje@cup.hp.com>
119 * inclhack.def (hpux_spu_info): Match PA as well as IA64.
120 * fixincl.x: Regenerate.
122 2008-09-06 H.J. Lu <hongjiu.lu@intel.com>
124 * configure.ac: Fix a typo.
125 * configured: Regenerate.
127 2008-09-06 Bruce Korb <bkorb@gnu.org>
129 * fixincl.tpl (sed): make the program executable configurable.
130 Some platforms have some rather oddball defaults.
131 * config.h.in (SED_PROGRAM): define the default sed.
132 * fixincl.x: regenerated
133 * tests/base/internal/wchar_core.h: fix bad sample text
134 * tests/base/math.h: fix bad sample text
135 * configure.ac: search for working sed
136 * inclhack.def (glibc_mutex_init): fix non-portable construct
137 and re-order a few misordered entries.
139 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
141 * configure: Regenerate.
143 2008-06-07 Joseph Myers <joseph@codesourcery.com>
145 * inclhack.def (AAB_svr4_replace_byteorder,
146 AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
147 libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
148 ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
149 solaris_mutex_init_1, solaris_socket, solaris_unistd,
150 solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
151 ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
152 ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
153 ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
154 ultrix_strings2, ultrix_sys_time, ultrix_unistd,
155 unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
156 windiss_math2, windiss_valist): Remove.
157 * fixincl.x: Regenerate.
158 * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
159 i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
160 powerpc-*-eabiaix*): Remove.
161 * tests/base/math.h: Update.
162 * tests/base/pthread.h: Update.
163 * tests/base/stdio.h: Update.
164 * tests/base/stdlib.h: Update.
165 * tests/base/string.h: Update.
166 * tests/base/strings.h: Update.
167 * tests/base/sys/file.h: Update.
168 * tests/base/sys/limits.h: Update.
169 * tests/base/sys/socket.h: Update.
170 * tests/base/sys/stat.h: Update.
171 * tests/base/sys/time.h: Update.
172 * tests/base/testing.h: Update.
173 * tests/base/unistd.h: Update.
174 * tests/base/_G_config.h: Remove.
175 * tests/base/arpa: Remove directory.
176 * tests/base/fs: Remove directory.
177 * tests/base/locale.h: Remove.
178 * tests/base/machine: Remove directory.
179 * tests/base/rpc/svc.h: Remove.
180 * tests/base/sys/ioctl.h: Remove.
181 * tests/base/sys/regset.h: Remove.
182 * tests/base/sys/times.h: Remove.
183 * tests/base/sys/utsname.h: Remove.
184 * tests/base/widec.h: Remove.
186 2008-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
188 * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
189 * tests/base/iso/math_c99.h: Update.
190 * fixincl.x: Regenerate.
192 2008-05-14 Joseph Myers <joseph@codesourcery.com>
194 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
196 * fixincl.x: Regenerate.
198 2008-04-25 Kai Tietz <kai.tietz@onvision.com>
200 * fixincl.c (fix_with_system): Cast pointer difference to long.
201 * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
203 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
206 * Makefile.in: Rewrite aclocal.m4 rule.
207 * aclocal.m4: Regenerate.
208 * configure: Regenerate.
210 2008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
213 * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
214 * fixincl.x: Regenerate.
215 * tests/base/stdio.h: Add test.
217 2008-02-25 Ben Elliston <bje@au.ibm.com>
220 * fixincl.c (fix_applies): Remove unused variable `name_len'.
222 2008-02-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
224 * inclhack.def (solaris_math_10): New.
225 * tests/base/iso/math_c99.h: Update.
227 * fixincl.x: Regenerate.
229 2008-02-04 Ismail Dönmez <ismail@pardus.org.tr>
231 * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
232 freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
233 netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
234 quotes around mach entries.
235 * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
238 2008-02-04 Hans-Peter Nilsson <hp@axis.com>
241 * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
242 (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
243 __extern_inline|__GNU_STDC_INLINE__.
244 (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
245 <bypass>: Change from __STDC_VERSION__ to
246 __extern_inline|__GNU_STDC_INLINE__.
247 <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
248 appending attribute-gnu_inline.
249 <second c_fix_arg>: Remove.
250 <test_text>: Remove __extern_inline line.
251 * tests/base/features.h: Re-add.
252 * tests/base/sys/sysmacros.h: Adjust.
253 * fixincl.x: Regenerate.
255 2008-01-06 Hans-Peter Nilsson <hp@axis.com>
259 2007-12-18 Hans-Peter Nilsson <hp@axis.com>
261 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
262 * fixincl.x: Regenerate.
263 * tests/base/wchar.h: Update.
264 * tests/base/features.h: New.
266 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
269 * inclhack.def (hpux11_pthread_const): New.
270 * fixincl.x: Regenerate.
271 * tests/base/sys/pthread.h: Update.
273 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
275 * configure.ac: x86_64 mingw target uses twoprocess.
276 * mkfixinc.sh: Add x86_64 mingw target.
277 * configure: Regenerate.
279 2007-10-09 Geoffrey Keating <geoffk@apple.com>
281 * inclhack.def (darwin_externc): New.
282 * fixincl.x: Regenerate.
283 * tests/base/mach-o/swap.h: New.
285 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
287 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
289 * tests/base/iso/math_c99.h: Delete associated test baselines.
290 * fixincl.x: Regenerate.
292 2007-07-24 Krister Walfridsson <cato@df.lth.se>
295 * inclhack.def (netbsd_c99_inline_2): New.
296 * fixincl.x: Regenerate.
297 * tests/base/signal.h: Update.
299 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
303 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
304 solaris_math_7): Constify and make FP exception-safe.
305 * tests/base/iso/math_c99.h: Update.
307 * fixincl.x: Regenerate.
309 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
312 * inclhack.def (irix_stdint_c99): New fix.
313 * fixincl.x: Regenerate.
314 * tests/base/stdint.h: New test.
316 2007-06-06 Steve Ellcey <sje@cup.hp.com>
319 * inclhack.def (hppa_hpux_fp_macros): New.
320 * fixincl.x: Regenerate.
321 * tests/base/math.h: Update.
323 2007-03-26 Jakub Jelinek <jakub@redhat.com>
325 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
326 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
327 __STDC_VERSION__ < 199901L.
328 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
329 with #ifdef __GNUC_GNU_INLINE__.
330 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
331 with defined(__GNUC_STDC_INLINE__).
332 (glibc_c99_inline_4): Change select, add second c_fix_arg.
333 Replace #if __STDC_VERSION__ < 199901L with
334 #ifdef __GNUC_GNU_INLINE__.
335 * fixincl.x: Regenerated.
336 * tests/base/bits/string2.h: Update.
337 * tests/base/sys/sysmacros.h: Update.
338 * tests/base/sys/stat.h: Update.
340 2007-03-18 Krister Walfridsson <cato@df.lth.se>
343 * inclhack.def (netbsd_c99_inline_1): New.
344 * fixincl.x: Regenerate.
345 * tests/base/signal.h: New.
347 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
349 * Makefile.in: Add dummy "install-info" target.
351 2007-03-06 Joseph Myers <joseph@codesourcery.com>
353 * mkheaders.in: Fix headers for each multilib required.
355 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
357 * Makefile.in: Add dummy install-pdf target.
359 2007-02-27 Joseph Myers <joseph@codesourcery.com>
361 * mkheaders.in (incdir): Use include-fixed not include.
363 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
365 * Makefile.in: Added "pdf" target to .PHONY.
367 2007-02-05 Richard Guenther <rguenther@suse.de>
369 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
370 with older glibc. Adjust version number for C99.
371 * fixincl.x: Regenerated.
373 2007-02-04 Mike Stump <mrs@apple.com>
375 * mkheaders.in: Allow optional isysroot parameter.
377 2007-02-03 Bruce Korb <bkorb@gnu.org>
379 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
380 surrounded by space characters.
382 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
385 * inclhack.def(broken_cabs): Also remove definition of cabsl.
386 * fixincl.x: Regenerate.
387 * tests/base/math.h: Update.
389 2007-01-05 Bruce Korb <bkorb@gnu.org>,
390 Daniel Franke <franke.daniel@gmail.com>
393 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
394 of a vertical bar ("|").
395 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
396 matching. Set SKIP_TEST flag if we are not to run a test.
397 * fixincl.x: Regenerate.
398 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
399 kandr_concat, sco_math): Replace lists of specfic file names by search
402 2006-12-12 Olivier Hainque <hainque@adacore.com>
404 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
405 targets for which a no-op fixer is appropriate.
407 2006-11-07 Richard Guenther <rguenther@suse.de>
409 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
411 * fixincl.x: Regenerate.
413 2006-11-02 Geoffrey Keating <geoffk@apple.com>
415 * inclhack.def (glibc_c99_inline_1): New.
416 * inclhack.def (glibc_c99_inline_2): New.
417 * inclhack.def (glibc_c99_inline_3): New.
418 * inclhack.def (glibc_c99_inline_4): New.
419 * fixincl.x: Regenerate.
420 * tests/base/bits/string2.h: New.
421 * tests/base/sys/sysmacros.h: New.
422 * tests/base/sys/stat.h: Update.
424 2006-11-01 Steve Ellcey <sje@cup.hp.com>
426 * tests/base/sys/socket.h: Update.
428 2006-10-31 Steve Ellcey <sje@cup.hp.com>
430 * inclhack.def (hpux11_extern_sendfile): New.
431 (hpux11_extern_sendpath): New.
432 * fixincl.x: Regenerate.
434 2006-10-29 Joseph Myers <joseph@codesourcery.com>
436 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
437 * fixincl.x: Regenerate.
439 2006-10-10 Brooks Moses <bmoses@stanford.edu>
441 * Makefile.in: Added empty "pdf" target.
443 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
446 * inclhack.def (hpux_pthread_initializers): New hack.
447 * tests/base/sys/pthread.h: New file.
449 * fixincl.x: Regenerate.
451 2006-10-03 Uros Bizjak <uros@kss-loka.si>
453 * inclhack.def (glibc_mutex_init): Also fix
454 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
455 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
456 * tests/base/pthread.h: Update.
458 * fixincl.x: Regenerate.
460 2006-10-01 Uros Bizjak <uros@kss-loka.si>
462 * inclhack.def (glibc_mutex_init): New fix.
463 * tests/base/pthread.h: Update.
465 * fixincl.x: Regenerate.
467 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
469 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
470 Prevent it from running on solaris10 or later.
471 (solaris_once_init_2): Fix comment.
472 * tests/base/pthread.h: Update.
474 * fixincl.x: Regenerate.
476 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
478 * inclhack.def (solaris_once_init_2): New fix.
479 * tests/base/pthread.h: Update.
481 * fixincl.x: Regenerate.
483 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
485 * inclhack.def (solaris_mutex_init_2): Remove test for
486 PTHREAD_RWLOCK_INITIALIZER.
487 (solaris_rwlock_init_1): New.
488 * tests/base/pthread.h: Update.
490 * inclhack.def (solaris_once_init_1): New.
491 * tests/base/pthread.h: Adjust for new fix.
493 * fixincl.x: Regenerate.
495 2006-07-17 Roger Sayle <roger@eyesopen.com>
497 * tests/base/errno.h: New file.
498 * tests/base/architecture/ppc/math.h: Likewise.
499 * tests/base/ia64/sys/getppdp.h: Likewise.
501 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
504 * Makefile.in (configure, config.h.in): Change into $(srcdir)
505 before autoconf or autoheader call.
507 2006-06-23 Steve Ellcey <sje@cup.hp.com>
510 * inclhack.def (hpux_extern_errno): New.
511 * fixincl.x: Regenerate.
513 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
515 * Makefile.in: Add dvi info html and install-html to .PHONY
516 Add install-html target.
518 2006-05-16 Mike Stump <mrs@apple.com>
520 * configure.ac: Add -Wno-overlength-strings.
521 * configure: Regenerate.
523 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
527 2006-02-18 Steve Ellcey <sje@cup.hp.com>
530 * inclhack.def (hpux_spu_info): New.
531 * fixincl.x: Regenerate
533 2006-01-31 Marcin Dalecki <martin@dalecki.de>
535 * configure.ac: Check for asprintf, basename, vasprintf.
536 * config.h.in: Regenerate.
537 * configure: Regenerate.
539 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
542 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
545 * fixincl.x: Regenerate.
547 2005-11-24 Bruce Korb <bkorb@gnu.org>
549 * fixincl.c (write_replacement): "here strings" in AutoGen
550 often/generally don't have a terminating newline. Check the
553 2005-11-13 Andreas Jaeger <aj@suse.de>
555 * check.tpl: Handle CVS additionally.
557 2005-11-05 Andreas Jaeger <aj@suse.de>
559 * check.tpl: Adopt for move to subversion.
561 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
564 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
566 * fixincl.x: Regenerate.
567 * tests/base/bits/huge_val.h: New file.
569 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
571 * All files: Update with new FSF address.
573 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
575 * Makefile.in (WARN_CFLAGS): New.
576 (.c.o): Add $(WARN_CFLAGS).
577 * aclocal.m4: Include ../config/warnings.m4.
578 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
579 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
580 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
581 * fixopts.c (initialize_opts): Fix old-style definintion.
583 * configure: Regenerate.
585 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
587 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
588 (AAB_darwin7_9_long_double_funcs_2): New.
589 * fixincl.x: Regenerate.
591 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
594 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
595 Use double quotes in select so \t matches tabs.
597 * fixincl.x: Regenerate.
598 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
600 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
603 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
605 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
606 Joseph S. Myers <joseph@codesourcery.com>
610 * inclhack.def: New fixes solaris_math_[1-9].
611 * fixincl.x: Regenerate.
612 * tests/base/iso/math_c99.h: New.
614 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
616 * aclocal.m4: Remove superfluous reference to accross.m4.
618 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
620 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
621 * server.c (load_data): Likewise.
622 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
623 * fixincl.c: #include <sys/wait.h>
624 (run_compiles): Use XCNEWVEC instead of xcalloc.
625 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
626 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
628 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
630 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
631 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
632 * fixincl.x: Regenerate.
634 2005-05-06 Bruce Korb <bkorb@gnu.org>
635 Joseph S. Myers <joseph@codesourcery.com>
637 * fixinc/inclhack.def: Correct backslashes
638 * fixinc/fixincl.x: regen
640 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
642 * system.h (fopen, fdopen, freopen): Define these to the unlocked
645 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
647 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
648 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
649 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
650 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
652 (fwrite_unlocked): Fix prototype.
654 * configure, config.h.in: Regenerate.
656 2005-03-21 Zack Weinberg <zack@codesourcery.com>
658 * Makefile.in: Set gcc_version directly, not via substitution.
659 (libsubdir): Use $(gcc_version), not $(version).
660 (mkheaders.almost): New rule.
661 (mkheaders): Generate from mkheaders.almost.
662 (clean): Also delete mkheaders.almost.
663 * aclocal.m4: Do not include ../config/gcc-version.m4.
664 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
665 mkheaders.almost from mkheaders.in.
666 * configure: Regenerate.
668 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
671 * inclhack.def: Add fix for array of incomplete structures
672 in function prototype in pthread.h.
673 * fixincl.x: Regenerate.
674 * tests/base/pthread.h: Adjust.
676 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
678 * inclhack.def (hpux_htonl): New fix.
679 * tests/base/netinet/in.h: New test.
680 * fixincl.x: Regenerate.
682 2005-02-23 James E Wilson <wilson@specifixinc.com>
684 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
686 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
689 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
692 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
694 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
695 * aclocal.m4: Include ../config/gcc-version.m4.
696 * configure: Regenerate.
698 2004-11-26 Mark Mitchell <mark@codesourcery.com>
700 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
701 (stdio_va_list): Likewise.
702 (stdio_stdarg.h): Likewise.
703 (solaris_stdio_tag): Add bypass.
704 * fixincl.x: Regenerated.
706 2004-11-23 Geoffrey Keating <geoffk@apple.com>
708 * mkfixinc.sh: Check error code from 'cat'. Don't try running
709 built fixincl program.
710 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
713 2004-11-20 Roger Sayle <roger@eyesopen.com>
715 * inclhack.def (alpha_pthread_init): Fix technical problems with
716 the last check-in caused by CVS variable substitution.
717 * fixincl.x: Likewise.
718 * tests/base/pthread.h: Likewise.
720 2004-11-20 Roger Sayle <roger@eyesopen.com>
721 Bruce Korb <bkorb@gnu.org>
723 * inclhack.def (alpha_pthread_init): New fix.
724 * fixincl.x: Regenerate.
725 * tests/base/pthread.h: Update for new test.
727 2004-11-15 Bruce Korb <bkorb@gnu.org>
729 * fixincl.c(fix_with_system): correct misuse of variables and
730 incorrect application of "sizeof()".
732 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
734 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
735 svr4__p, undefine_null): Remove.
736 * fixincl.x: Regenerate.
737 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
738 * tests/base/sys/param.h: Remove.
739 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
740 tests/base/sys/limits.h: Update.
742 2004-11-12 Mike Stump <mrs@apple.com>
744 * Makefile.in (html): Add html generation support.
746 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
748 * inclhack.def (sco_math): Bypass on __GNUG__.
749 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
750 * fixincl.x: Regenerate.
752 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
754 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
755 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
757 (sun_auth_proto): Bypass on __cplusplus.
758 * fixincl.x: Regenerate.
760 2004-11-05 Geoffrey Keating <geoffk@apple.com>
762 * Makefile.in (mostlyclean): Add fixinc.sh.
763 (clean): Add mkheaders.
769 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
771 * Makefile.in (mostlyclean, distclean): New targets.
773 2004-11-04 Geoffrey Keating <geoffk@apple.com>
775 * configure.ac: Add code to determine noncanonical_target,
776 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
777 * configure: Regenerate.
778 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
779 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
780 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
781 update for changes to fixinc.in.
782 * Makefile.in: Add many new macros.
783 (install): New target.
784 (mkheaders): New target.
785 (fixinc.sh): New target.
786 (all): Add mkheaders and fixinc.sh.
787 * README-fixinc: Move here from gcc/.
789 2004-11-01 Mike Stump <mrs@apple.com>
791 * inclhack.def (stdio_va_list): Break out clients from here...
792 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
793 included or ifdef va_start.
794 * fixincl.x: Regenerate.
796 2004-10-28 Mike Stump <mrs@apple.com>
798 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
800 * fixincl.x: Regenerate.
802 2004-10-27 Geoffrey Keating <geoffk@apple.com>
804 * inclhack.def (darwin_gcc4_breakage): New.
805 * fixincl.x: Regenerate.
807 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
811 * fixfixes.c (main): Check for _PC_NAME_MAX.
813 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
817 * configure.ac: Fix typo.
818 * configure: Regenerate.
819 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
821 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
825 * fixincl.c (SIGCHLD): Remove definition.
826 (initialize): Remove SIGIOT and SIGPIPE checks.
827 (create_file): Fix mkdir() for Win32.
828 (internal_fix): Use dup2() instead of fcntl().
830 * fixlib.h (SIGQUIT): Define if undefined.
836 * procopen.c (chain_open): Use dup2() instead of fcntl().
838 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
842 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
843 Update copyright year.
844 * fixfixes.c (main): Call initialize_opts from fixopts.c.
845 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
846 do not include code for parsing options (environment vars).
847 (fix_with_system): Use a search path for applyfix, so that you
848 can run the test suite with two-process fixincludes.
849 * fixopts.c: New file.
850 * configure.ac: Add --enable-twoprocess. Export ac_exeext
851 to config.h. Default to --enable-twoprocess for MinGW32.
852 * config.h.in: Regenerate.
853 * configure: Regenerate.
855 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
857 * tests/base/sys/cdefs.h: Update from test area.
859 2004-09-17 Roger Sayle <roger@eyesopen.com>
861 * inclhack.def (linux_ia64_ucontext): New fix.
862 * fixincl.x: Regenerate.
863 * tests/base/sys/ucontext.h: New file.
865 2004-09-15 Roger Sayle <roger@eyesopen.com>
867 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
868 * tests/base/stdlib.h: Likewise.
870 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
872 * inclhack.def (freebsd_gcc4_breakage): Add.
873 * fixincl.x: Regenerate.
874 * tests/base/sys/cdefs.h: Update for new test.
876 2004-09-10 Adam Nemet <anemet@lnxw.com>
878 * inclhack.def (lynx_void_int): Remove.
879 (lynxos_fcntl_proto): Remove.
880 (lynxos_no_warning_in_sys_time_h): New fix.
881 (lynxos_missing_putenv): New fix.
882 * fixincl.x: Regenerate.
883 * tests/base/fcntl.h: Remove.
884 * tests/base/sys/time.h: Update from test area.
885 * tests/base/curses.h: Likewise.
886 * tests/base/stdlib.h: Likewise.
888 2004-09-03 Jan Beulich <jbeulich@novell.com>
890 * inclhack.def: Suppress exception_structure and math_exception
892 * fixincl.x: Regenerate.
894 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
897 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
900 * config.h.in: Generate.
901 * configure: Generate.
903 * fixlib.h: Remove inclusions of gcc files.
906 Other files copied from gcc/fixinc.