1 2009-07-03 Eric Botcazou <ebotcazou@adacore.com>
3 * inclhack.def (solaris_int_types): New fix.
4 * fixincl.x: Regenerate.
5 * tests/base/sys/int_types.h: New file.
7 2009-06-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
9 * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
10 darwin_stdint_4): New fixes.
11 * tests/base/stdint.h: Adjust test results for new fixes.
12 * fixincl.x: Regenerate.
14 2009-05-29 Eric Botcazou <ebotcazou@adacore.com>
16 * inclhack.def (solaris_int_const): New fix.
17 (solaris_int_limits_1): Likewise.
18 (solaris_int_limits_2): Likewise.
19 * fixincl.x: Regenerate.
20 * tests/base/sys/int_const.h: New file.
21 * tests/base/sys/int_limits.h: Likewise.
23 2009-05-15 Joseph Myers <joseph@codesourcery.com>
25 * inclhack.def (glibc_tgmath): Correct bypass.
26 * fixincl.x: Regenerate.
28 2009-04-28 Steve Ellcey <sje@cup.hp.com>
30 * inclhack.def (hpux11_uint32_c): Remove.
31 (hpux_long_double): Disable on hpux11.3*.
32 (hpux_long_double_2): New.
33 (hpux_c99_intptr): New.
34 (hpux_c99_inttypes): New.
35 (hpux_c99_inttypes2): New.
36 (hpux_stdint_least): New.
37 (hpux_stdint_fast): New.
38 (hpux_inttype_int_least8_t): New.
39 (hpux_inttype_int8_t): New.
40 * fixincl.x: Regenerate.
41 * tests/base/sys/_inttypes.h: New.
42 * tests/base/inttypes.h: Update.
43 * tests/base/stdlib.h: Update.
44 * tests/base/stdint.h: Update.
46 2009-04-28 Joseph Myers <joseph@codesourcery.com>
48 * inclhack.def (glibc_stdint): New fix.
49 * fixincl.x: Regenerate.
50 * tests/base/stdint.h: Update.
52 2009-04-09 Jakub Jelinek <jakub@redhat.com>
54 * Makefile.in: Change copyright header to refer to version
55 3 of the GNU General Public License and to point readers at the
56 COPYING3 file and the FSF's license web page.
57 * fixfixes.c: Likewise.
58 * fixinc.in: Likewise.
59 * fixincl.c: Likewise.
62 * fixopts.c: Likewise.
63 * fixtests.c: Likewise.
65 * mkheaders.in: Likewise.
68 2009-03-31 Joseph Myers <joseph@codesourcery.com>
71 * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
72 * fixincl.x: Regenerate.
73 * tests/base/stdint.h: Update.
75 2009-03-29 Joseph Myers <joseph@codesourcery.com>
77 * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
80 2009-03-29 Joseph Myers <joseph@codesourcery.com>
88 * inclhack.def (glibc_tgmath): New fix.
89 * fixincl.x: Regenerate.
90 * tests/base/tgmath.h: New.
92 2009-03-28 Joseph Myers <joseph@codesourcery.com>
94 * inclhack.def (aix_syswait, exception_structure,
95 pthread_page_size): Remove.
96 (math_exception): Remove mention of fixproto in comment.
97 * fixincl.x: Regenerate.
98 * mkheaders.in: Do not handle STMP_FIXPROTO.
100 2009-03-27 Sandra Loosemore <sandra@codesourcery.com>
102 * server.c (run_shell): Quote directory name passed to cd.
104 2009-03-01 Bruce Korb <bkorb@gnu.org>
105 Apply a positively ancient patch:
107 2004-10-15 Giovanni Bajo <giovannibajo@libero.it>
109 * inclhack.def (alpha_if_semicolon): new fix from long, long ago
110 * tests/base/net/if.h: Add new test.
112 2009-01-06 Andreas Tobler <a.tobler@schweiz.org>
114 * tests/base/locale.h: Add new test.
115 * tests/base/stdarg.h: Likewise.
117 2009-01-05 Steve Ellcey <sje@cup.hp.com>
119 * inclhack.def (hpux_spu_info): Add files line.
120 * fixincl.x: Regenerate.
122 2009-01-01 Andreas Tobler <a.tobler@schweiz.org>
124 * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
126 * fixincl.x: Regenerate.
128 2008-12-31 Andreas Tobler <a.tobler@schweiz.org>
131 * inclhack.def (openbsd_va_start): Use __builtin_va_start
133 * fixincl.x: Regenerate.
135 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
137 * configure: Regenerate.
139 2008-12-15 Steve Ellcey <sje@cup.hp.com>
141 * inclhack.def (hpux_spu_info): Match PA as well as IA64.
142 * fixincl.x: Regenerate.
144 2008-09-06 H.J. Lu <hongjiu.lu@intel.com>
146 * configure.ac: Fix a typo.
147 * configured: Regenerate.
149 2008-09-06 Bruce Korb <bkorb@gnu.org>
151 * fixincl.tpl (sed): make the program executable configurable.
152 Some platforms have some rather oddball defaults.
153 * config.h.in (SED_PROGRAM): define the default sed.
154 * fixincl.x: regenerated
155 * tests/base/internal/wchar_core.h: fix bad sample text
156 * tests/base/math.h: fix bad sample text
157 * configure.ac: search for working sed
158 * inclhack.def (glibc_mutex_init): fix non-portable construct
159 and re-order a few misordered entries.
161 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
163 * configure: Regenerate.
165 2008-06-07 Joseph Myers <joseph@codesourcery.com>
167 * inclhack.def (AAB_svr4_replace_byteorder,
168 AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
169 libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
170 ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
171 solaris_mutex_init_1, solaris_socket, solaris_unistd,
172 solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
173 ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
174 ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
175 ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
176 ultrix_strings2, ultrix_sys_time, ultrix_unistd,
177 unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
178 windiss_math2, windiss_valist): Remove.
179 * fixincl.x: Regenerate.
180 * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
181 i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
182 powerpc-*-eabiaix*): Remove.
183 * tests/base/math.h: Update.
184 * tests/base/pthread.h: Update.
185 * tests/base/stdio.h: Update.
186 * tests/base/stdlib.h: Update.
187 * tests/base/string.h: Update.
188 * tests/base/strings.h: Update.
189 * tests/base/sys/file.h: Update.
190 * tests/base/sys/limits.h: Update.
191 * tests/base/sys/socket.h: Update.
192 * tests/base/sys/stat.h: Update.
193 * tests/base/sys/time.h: Update.
194 * tests/base/testing.h: Update.
195 * tests/base/unistd.h: Update.
196 * tests/base/_G_config.h: Remove.
197 * tests/base/arpa: Remove directory.
198 * tests/base/fs: Remove directory.
199 * tests/base/locale.h: Remove.
200 * tests/base/machine: Remove directory.
201 * tests/base/rpc/svc.h: Remove.
202 * tests/base/sys/ioctl.h: Remove.
203 * tests/base/sys/regset.h: Remove.
204 * tests/base/sys/times.h: Remove.
205 * tests/base/sys/utsname.h: Remove.
206 * tests/base/widec.h: Remove.
208 2008-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
210 * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
211 * tests/base/iso/math_c99.h: Update.
212 * fixincl.x: Regenerate.
214 2008-05-14 Joseph Myers <joseph@codesourcery.com>
216 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
218 * fixincl.x: Regenerate.
220 2008-04-25 Kai Tietz <kai.tietz@onvision.com>
222 * fixincl.c (fix_with_system): Cast pointer difference to long.
223 * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
225 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
228 * Makefile.in: Rewrite aclocal.m4 rule.
229 * aclocal.m4: Regenerate.
230 * configure: Regenerate.
232 2008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
235 * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
236 * fixincl.x: Regenerate.
237 * tests/base/stdio.h: Add test.
239 2008-02-25 Ben Elliston <bje@au.ibm.com>
242 * fixincl.c (fix_applies): Remove unused variable `name_len'.
244 2008-02-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
246 * inclhack.def (solaris_math_10): New.
247 * tests/base/iso/math_c99.h: Update.
249 * fixincl.x: Regenerate.
251 2008-02-04 Ismail Dönmez <ismail@pardus.org.tr>
253 * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
254 freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
255 netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
256 quotes around mach entries.
257 * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
260 2008-02-04 Hans-Peter Nilsson <hp@axis.com>
263 * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
264 (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
265 __extern_inline|__GNU_STDC_INLINE__.
266 (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
267 <bypass>: Change from __STDC_VERSION__ to
268 __extern_inline|__GNU_STDC_INLINE__.
269 <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
270 appending attribute-gnu_inline.
271 <second c_fix_arg>: Remove.
272 <test_text>: Remove __extern_inline line.
273 * tests/base/features.h: Re-add.
274 * tests/base/sys/sysmacros.h: Adjust.
275 * fixincl.x: Regenerate.
277 2008-01-06 Hans-Peter Nilsson <hp@axis.com>
281 2007-12-18 Hans-Peter Nilsson <hp@axis.com>
283 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
284 * fixincl.x: Regenerate.
285 * tests/base/wchar.h: Update.
286 * tests/base/features.h: New.
288 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
291 * inclhack.def (hpux11_pthread_const): New.
292 * fixincl.x: Regenerate.
293 * tests/base/sys/pthread.h: Update.
295 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
297 * configure.ac: x86_64 mingw target uses twoprocess.
298 * mkfixinc.sh: Add x86_64 mingw target.
299 * configure: Regenerate.
301 2007-10-09 Geoffrey Keating <geoffk@apple.com>
303 * inclhack.def (darwin_externc): New.
304 * fixincl.x: Regenerate.
305 * tests/base/mach-o/swap.h: New.
307 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
309 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
311 * tests/base/iso/math_c99.h: Delete associated test baselines.
312 * fixincl.x: Regenerate.
314 2007-07-24 Krister Walfridsson <cato@df.lth.se>
317 * inclhack.def (netbsd_c99_inline_2): New.
318 * fixincl.x: Regenerate.
319 * tests/base/signal.h: Update.
321 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
325 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
326 solaris_math_7): Constify and make FP exception-safe.
327 * tests/base/iso/math_c99.h: Update.
329 * fixincl.x: Regenerate.
331 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
334 * inclhack.def (irix_stdint_c99): New fix.
335 * fixincl.x: Regenerate.
336 * tests/base/stdint.h: New test.
338 2007-06-06 Steve Ellcey <sje@cup.hp.com>
341 * inclhack.def (hppa_hpux_fp_macros): New.
342 * fixincl.x: Regenerate.
343 * tests/base/math.h: Update.
345 2007-03-26 Jakub Jelinek <jakub@redhat.com>
347 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
348 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
349 __STDC_VERSION__ < 199901L.
350 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
351 with #ifdef __GNUC_GNU_INLINE__.
352 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
353 with defined(__GNUC_STDC_INLINE__).
354 (glibc_c99_inline_4): Change select, add second c_fix_arg.
355 Replace #if __STDC_VERSION__ < 199901L with
356 #ifdef __GNUC_GNU_INLINE__.
357 * fixincl.x: Regenerated.
358 * tests/base/bits/string2.h: Update.
359 * tests/base/sys/sysmacros.h: Update.
360 * tests/base/sys/stat.h: Update.
362 2007-03-18 Krister Walfridsson <cato@df.lth.se>
365 * inclhack.def (netbsd_c99_inline_1): New.
366 * fixincl.x: Regenerate.
367 * tests/base/signal.h: New.
369 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
371 * Makefile.in: Add dummy "install-info" target.
373 2007-03-06 Joseph Myers <joseph@codesourcery.com>
375 * mkheaders.in: Fix headers for each multilib required.
377 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
379 * Makefile.in: Add dummy install-pdf target.
381 2007-02-27 Joseph Myers <joseph@codesourcery.com>
383 * mkheaders.in (incdir): Use include-fixed not include.
385 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
387 * Makefile.in: Added "pdf" target to .PHONY.
389 2007-02-05 Richard Guenther <rguenther@suse.de>
391 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
392 with older glibc. Adjust version number for C99.
393 * fixincl.x: Regenerated.
395 2007-02-04 Mike Stump <mrs@apple.com>
397 * mkheaders.in: Allow optional isysroot parameter.
399 2007-02-03 Bruce Korb <bkorb@gnu.org>
401 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
402 surrounded by space characters.
404 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
407 * inclhack.def(broken_cabs): Also remove definition of cabsl.
408 * fixincl.x: Regenerate.
409 * tests/base/math.h: Update.
411 2007-01-05 Bruce Korb <bkorb@gnu.org>,
412 Daniel Franke <franke.daniel@gmail.com>
415 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
416 of a vertical bar ("|").
417 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
418 matching. Set SKIP_TEST flag if we are not to run a test.
419 * fixincl.x: Regenerate.
420 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
421 kandr_concat, sco_math): Replace lists of specfic file names by search
424 2006-12-12 Olivier Hainque <hainque@adacore.com>
426 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
427 targets for which a no-op fixer is appropriate.
429 2006-11-07 Richard Guenther <rguenther@suse.de>
431 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
433 * fixincl.x: Regenerate.
435 2006-11-02 Geoffrey Keating <geoffk@apple.com>
437 * inclhack.def (glibc_c99_inline_1): New.
438 * inclhack.def (glibc_c99_inline_2): New.
439 * inclhack.def (glibc_c99_inline_3): New.
440 * inclhack.def (glibc_c99_inline_4): New.
441 * fixincl.x: Regenerate.
442 * tests/base/bits/string2.h: New.
443 * tests/base/sys/sysmacros.h: New.
444 * tests/base/sys/stat.h: Update.
446 2006-11-01 Steve Ellcey <sje@cup.hp.com>
448 * tests/base/sys/socket.h: Update.
450 2006-10-31 Steve Ellcey <sje@cup.hp.com>
452 * inclhack.def (hpux11_extern_sendfile): New.
453 (hpux11_extern_sendpath): New.
454 * fixincl.x: Regenerate.
456 2006-10-29 Joseph Myers <joseph@codesourcery.com>
458 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
459 * fixincl.x: Regenerate.
461 2006-10-10 Brooks Moses <bmoses@stanford.edu>
463 * Makefile.in: Added empty "pdf" target.
465 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
468 * inclhack.def (hpux_pthread_initializers): New hack.
469 * tests/base/sys/pthread.h: New file.
471 * fixincl.x: Regenerate.
473 2006-10-03 Uros Bizjak <uros@kss-loka.si>
475 * inclhack.def (glibc_mutex_init): Also fix
476 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
477 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
478 * tests/base/pthread.h: Update.
480 * fixincl.x: Regenerate.
482 2006-10-01 Uros Bizjak <uros@kss-loka.si>
484 * inclhack.def (glibc_mutex_init): New fix.
485 * tests/base/pthread.h: Update.
487 * fixincl.x: Regenerate.
489 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
491 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
492 Prevent it from running on solaris10 or later.
493 (solaris_once_init_2): Fix comment.
494 * tests/base/pthread.h: Update.
496 * fixincl.x: Regenerate.
498 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
500 * inclhack.def (solaris_once_init_2): New fix.
501 * tests/base/pthread.h: Update.
503 * fixincl.x: Regenerate.
505 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
507 * inclhack.def (solaris_mutex_init_2): Remove test for
508 PTHREAD_RWLOCK_INITIALIZER.
509 (solaris_rwlock_init_1): New.
510 * tests/base/pthread.h: Update.
512 * inclhack.def (solaris_once_init_1): New.
513 * tests/base/pthread.h: Adjust for new fix.
515 * fixincl.x: Regenerate.
517 2006-07-17 Roger Sayle <roger@eyesopen.com>
519 * tests/base/errno.h: New file.
520 * tests/base/architecture/ppc/math.h: Likewise.
521 * tests/base/ia64/sys/getppdp.h: Likewise.
523 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
526 * Makefile.in (configure, config.h.in): Change into $(srcdir)
527 before autoconf or autoheader call.
529 2006-06-23 Steve Ellcey <sje@cup.hp.com>
532 * inclhack.def (hpux_extern_errno): New.
533 * fixincl.x: Regenerate.
535 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
537 * Makefile.in: Add dvi info html and install-html to .PHONY
538 Add install-html target.
540 2006-05-16 Mike Stump <mrs@apple.com>
542 * configure.ac: Add -Wno-overlength-strings.
543 * configure: Regenerate.
545 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
549 2006-02-18 Steve Ellcey <sje@cup.hp.com>
552 * inclhack.def (hpux_spu_info): New.
553 * fixincl.x: Regenerate
555 2006-01-31 Marcin Dalecki <martin@dalecki.de>
557 * configure.ac: Check for asprintf, basename, vasprintf.
558 * config.h.in: Regenerate.
559 * configure: Regenerate.
561 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
564 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
567 * fixincl.x: Regenerate.
569 2005-11-24 Bruce Korb <bkorb@gnu.org>
571 * fixincl.c (write_replacement): "here strings" in AutoGen
572 often/generally don't have a terminating newline. Check the
575 2005-11-13 Andreas Jaeger <aj@suse.de>
577 * check.tpl: Handle CVS additionally.
579 2005-11-05 Andreas Jaeger <aj@suse.de>
581 * check.tpl: Adopt for move to subversion.
583 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
586 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
588 * fixincl.x: Regenerate.
589 * tests/base/bits/huge_val.h: New file.
591 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
593 * All files: Update with new FSF address.
595 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
597 * Makefile.in (WARN_CFLAGS): New.
598 (.c.o): Add $(WARN_CFLAGS).
599 * aclocal.m4: Include ../config/warnings.m4.
600 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
601 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
602 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
603 * fixopts.c (initialize_opts): Fix old-style definintion.
605 * configure: Regenerate.
607 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
609 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
610 (AAB_darwin7_9_long_double_funcs_2): New.
611 * fixincl.x: Regenerate.
613 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
616 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
617 Use double quotes in select so \t matches tabs.
619 * fixincl.x: Regenerate.
620 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
622 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
625 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
627 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
628 Joseph S. Myers <joseph@codesourcery.com>
632 * inclhack.def: New fixes solaris_math_[1-9].
633 * fixincl.x: Regenerate.
634 * tests/base/iso/math_c99.h: New.
636 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
638 * aclocal.m4: Remove superfluous reference to accross.m4.
640 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
642 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
643 * server.c (load_data): Likewise.
644 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
645 * fixincl.c: #include <sys/wait.h>
646 (run_compiles): Use XCNEWVEC instead of xcalloc.
647 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
648 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
650 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
652 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
653 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
654 * fixincl.x: Regenerate.
656 2005-05-06 Bruce Korb <bkorb@gnu.org>
657 Joseph S. Myers <joseph@codesourcery.com>
659 * fixinc/inclhack.def: Correct backslashes
660 * fixinc/fixincl.x: regen
662 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
664 * system.h (fopen, fdopen, freopen): Define these to the unlocked
667 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
669 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
670 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
671 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
672 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
674 (fwrite_unlocked): Fix prototype.
676 * configure, config.h.in: Regenerate.
678 2005-03-21 Zack Weinberg <zack@codesourcery.com>
680 * Makefile.in: Set gcc_version directly, not via substitution.
681 (libsubdir): Use $(gcc_version), not $(version).
682 (mkheaders.almost): New rule.
683 (mkheaders): Generate from mkheaders.almost.
684 (clean): Also delete mkheaders.almost.
685 * aclocal.m4: Do not include ../config/gcc-version.m4.
686 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
687 mkheaders.almost from mkheaders.in.
688 * configure: Regenerate.
690 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
693 * inclhack.def: Add fix for array of incomplete structures
694 in function prototype in pthread.h.
695 * fixincl.x: Regenerate.
696 * tests/base/pthread.h: Adjust.
698 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
700 * inclhack.def (hpux_htonl): New fix.
701 * tests/base/netinet/in.h: New test.
702 * fixincl.x: Regenerate.
704 2005-02-23 James E Wilson <wilson@specifixinc.com>
706 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
708 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
711 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
714 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
716 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
717 * aclocal.m4: Include ../config/gcc-version.m4.
718 * configure: Regenerate.
720 2004-11-26 Mark Mitchell <mark@codesourcery.com>
722 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
723 (stdio_va_list): Likewise.
724 (stdio_stdarg.h): Likewise.
725 (solaris_stdio_tag): Add bypass.
726 * fixincl.x: Regenerated.
728 2004-11-23 Geoffrey Keating <geoffk@apple.com>
730 * mkfixinc.sh: Check error code from 'cat'. Don't try running
731 built fixincl program.
732 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
735 2004-11-20 Roger Sayle <roger@eyesopen.com>
737 * inclhack.def (alpha_pthread_init): Fix technical problems with
738 the last check-in caused by CVS variable substitution.
739 * fixincl.x: Likewise.
740 * tests/base/pthread.h: Likewise.
742 2004-11-20 Roger Sayle <roger@eyesopen.com>
743 Bruce Korb <bkorb@gnu.org>
745 * inclhack.def (alpha_pthread_init): New fix.
746 * fixincl.x: Regenerate.
747 * tests/base/pthread.h: Update for new test.
749 2004-11-15 Bruce Korb <bkorb@gnu.org>
751 * fixincl.c(fix_with_system): correct misuse of variables and
752 incorrect application of "sizeof()".
754 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
756 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
757 svr4__p, undefine_null): Remove.
758 * fixincl.x: Regenerate.
759 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
760 * tests/base/sys/param.h: Remove.
761 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
762 tests/base/sys/limits.h: Update.
764 2004-11-12 Mike Stump <mrs@apple.com>
766 * Makefile.in (html): Add html generation support.
768 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
770 * inclhack.def (sco_math): Bypass on __GNUG__.
771 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
772 * fixincl.x: Regenerate.
774 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
776 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
777 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
779 (sun_auth_proto): Bypass on __cplusplus.
780 * fixincl.x: Regenerate.
782 2004-11-05 Geoffrey Keating <geoffk@apple.com>
784 * Makefile.in (mostlyclean): Add fixinc.sh.
785 (clean): Add mkheaders.
791 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
793 * Makefile.in (mostlyclean, distclean): New targets.
795 2004-11-04 Geoffrey Keating <geoffk@apple.com>
797 * configure.ac: Add code to determine noncanonical_target,
798 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
799 * configure: Regenerate.
800 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
801 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
802 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
803 update for changes to fixinc.in.
804 * Makefile.in: Add many new macros.
805 (install): New target.
806 (mkheaders): New target.
807 (fixinc.sh): New target.
808 (all): Add mkheaders and fixinc.sh.
809 * README-fixinc: Move here from gcc/.
811 2004-11-01 Mike Stump <mrs@apple.com>
813 * inclhack.def (stdio_va_list): Break out clients from here...
814 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
815 included or ifdef va_start.
816 * fixincl.x: Regenerate.
818 2004-10-28 Mike Stump <mrs@apple.com>
820 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
822 * fixincl.x: Regenerate.
824 2004-10-27 Geoffrey Keating <geoffk@apple.com>
826 * inclhack.def (darwin_gcc4_breakage): New.
827 * fixincl.x: Regenerate.
829 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
833 * fixfixes.c (main): Check for _PC_NAME_MAX.
835 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
839 * configure.ac: Fix typo.
840 * configure: Regenerate.
841 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
843 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
847 * fixincl.c (SIGCHLD): Remove definition.
848 (initialize): Remove SIGIOT and SIGPIPE checks.
849 (create_file): Fix mkdir() for Win32.
850 (internal_fix): Use dup2() instead of fcntl().
852 * fixlib.h (SIGQUIT): Define if undefined.
858 * procopen.c (chain_open): Use dup2() instead of fcntl().
860 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
864 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
865 Update copyright year.
866 * fixfixes.c (main): Call initialize_opts from fixopts.c.
867 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
868 do not include code for parsing options (environment vars).
869 (fix_with_system): Use a search path for applyfix, so that you
870 can run the test suite with two-process fixincludes.
871 * fixopts.c: New file.
872 * configure.ac: Add --enable-twoprocess. Export ac_exeext
873 to config.h. Default to --enable-twoprocess for MinGW32.
874 * config.h.in: Regenerate.
875 * configure: Regenerate.
877 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
879 * tests/base/sys/cdefs.h: Update from test area.
881 2004-09-17 Roger Sayle <roger@eyesopen.com>
883 * inclhack.def (linux_ia64_ucontext): New fix.
884 * fixincl.x: Regenerate.
885 * tests/base/sys/ucontext.h: New file.
887 2004-09-15 Roger Sayle <roger@eyesopen.com>
889 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
890 * tests/base/stdlib.h: Likewise.
892 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
894 * inclhack.def (freebsd_gcc4_breakage): Add.
895 * fixincl.x: Regenerate.
896 * tests/base/sys/cdefs.h: Update for new test.
898 2004-09-10 Adam Nemet <anemet@lnxw.com>
900 * inclhack.def (lynx_void_int): Remove.
901 (lynxos_fcntl_proto): Remove.
902 (lynxos_no_warning_in_sys_time_h): New fix.
903 (lynxos_missing_putenv): New fix.
904 * fixincl.x: Regenerate.
905 * tests/base/fcntl.h: Remove.
906 * tests/base/sys/time.h: Update from test area.
907 * tests/base/curses.h: Likewise.
908 * tests/base/stdlib.h: Likewise.
910 2004-09-03 Jan Beulich <jbeulich@novell.com>
912 * inclhack.def: Suppress exception_structure and math_exception
914 * fixincl.x: Regenerate.
916 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
919 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
922 * config.h.in: Generate.
923 * configure: Generate.
925 * fixlib.h: Remove inclusions of gcc files.
928 Other files copied from gcc/fixinc.