1 2007-01-05 Bruce Korb <bkorb@gnu.org>,
2 Daniel Franke <franke.daniel@gmail.com>
5 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
6 of a vertical bar ("|").
7 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name matching.
8 * fixincl.x: Regenerate.
9 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
10 kandr_concat, sco_math): Replace lists of specfic file names by search
13 2006-12-12 Olivier Hainque <hainque@adacore.com>
15 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
16 targets for which a no-op fixer is appropriate.
18 2006-11-07 Richard Guenther <rguenther@suse.de>
20 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
22 * fixincl.x: Regenerate.
24 2006-11-02 Geoffrey Keating <geoffk@apple.com>
26 * inclhack.def (glibc_c99_inline_1): New.
27 * inclhack.def (glibc_c99_inline_2): New.
28 * inclhack.def (glibc_c99_inline_3): New.
29 * inclhack.def (glibc_c99_inline_4): New.
30 * fixincl.x: Regenerate.
31 * tests/base/bits/string2.h: New.
32 * tests/base/sys/sysmacros.h: New.
33 * tests/base/sys/stat.h: Update.
35 2006-11-01 Steve Ellcey <sje@cup.hp.com>
37 * tests/base/sys/socket.h: Update.
39 2006-10-31 Steve Ellcey <sje@cup.hp.com>
41 * inclhack.def (hpux11_extern_sendfile): New.
42 (hpux11_extern_sendpath): New.
43 * fixincl.x: Regenerate.
45 2006-10-29 Joseph Myers <joseph@codesourcery.com>
47 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
48 * fixincl.x: Regenerate.
50 2006-10-10 Brooks Moses <bmoses@stanford.edu>
52 * Makefile.in: Added empty "pdf" target.
54 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
57 * inclhack.def (hpux_pthread_initializers): New hack.
58 * tests/base/sys/pthread.h: New file.
60 * fixincl.x: Regenerate.
62 2006-10-03 Uros Bizjak <uros@kss-loka.si>
64 * inclhack.def (glibc_mutex_init): Also fix
65 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
66 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
67 * tests/base/pthread.h: Update.
69 * fixincl.x: Regenerate.
71 2006-10-01 Uros Bizjak <uros@kss-loka.si>
73 * inclhack.def (glibc_mutex_init): New fix.
74 * tests/base/pthread.h: Update.
76 * fixincl.x: Regenerate.
78 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
80 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
81 Prevent it from running on solaris10 or later.
82 (solaris_once_init_2): Fix comment.
83 * tests/base/pthread.h: Update.
85 * fixincl.x: Regenerate.
87 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
89 * inclhack.def (solaris_once_init_2): New fix.
90 * tests/base/pthread.h: Update.
92 * fixincl.x: Regenerate.
94 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
96 * inclhack.def (solaris_mutex_init_2): Remove test for
97 PTHREAD_RWLOCK_INITIALIZER.
98 (solaris_rwlock_init_1): New.
99 * tests/base/pthread.h: Update.
101 * inclhack.def (solaris_once_init_1): New.
102 * tests/base/pthread.h: Adjust for new fix.
104 * fixincl.x: Regenerate.
106 2006-07-17 Roger Sayle <roger@eyesopen.com>
108 * tests/base/errno.h: New file.
109 * tests/base/architecture/ppc/math.h: Likewise.
110 * tests/base/ia64/sys/getppdp.h: Likewise.
112 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
115 * Makefile.in (configure, config.h.in): Change into $(srcdir)
116 before autoconf or autoheader call.
118 2006-06-23 Steve Ellcey <sje@cup.hp.com>
121 * inclhack.def (hpux_extern_errno): New.
122 * fixincl.x: Regenerate.
124 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
126 * Makefile.in: Add dvi info html and install-html to .PHONY
127 Add install-html target.
129 2006-05-16 Mike Stump <mrs@apple.com>
131 * configure.ac: Add -Wno-overlength-strings.
132 * configure: Regenerate.
134 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
138 2006-02-18 Steve Ellcey <sje@cup.hp.com>
141 * inclhack.def (hpux_spu_info): New.
142 * fixincl.x: Regenerate
144 2006-01-31 Marcin Dalecki <martin@dalecki.de>
146 * configure.ac: Check for asprintf, basename, vasprintf.
147 * config.h.in: Regenerate.
148 * configure: Regenerate.
150 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
153 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
156 * fixincl.x: Regenerate.
158 2005-11-24 Bruce Korb <bkorb@gnu.org>
160 * fixincl.c (write_replacement): "here strings" in AutoGen
161 often/generally don't have a terminating newline. Check the
164 2005-11-13 Andreas Jaeger <aj@suse.de>
166 * check.tpl: Handle CVS additionally.
168 2005-11-05 Andreas Jaeger <aj@suse.de>
170 * check.tpl: Adopt for move to subversion.
172 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
175 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
177 * fixincl.x: Regenerate.
178 * tests/base/bits/huge_val.h: New file.
180 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
182 * All files: Update with new FSF address.
184 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
186 * Makefile.in (WARN_CFLAGS): New.
187 (.c.o): Add $(WARN_CFLAGS).
188 * aclocal.m4: Include ../config/warnings.m4.
189 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
190 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
191 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
192 * fixopts.c (initialize_opts): Fix old-style definintion.
194 * configure: Regenerate.
196 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
198 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
199 (AAB_darwin7_9_long_double_funcs_2): New.
200 * fixincl.x: Regenerate.
202 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
205 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
206 Use double quotes in select so \t matches tabs.
208 * fixincl.x: Regenerate.
209 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
211 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
214 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
216 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
217 Joseph S. Myers <joseph@codesourcery.com>
221 * inclhack.def: New fixes solaris_math_[1-9].
222 * fixincl.x: Regenerate.
223 * tests/base/iso/math_c99.h: New.
225 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
227 * aclocal.m4: Remove superfluous reference to accross.m4.
229 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
231 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
232 * server.c (load_data): Likewise.
233 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
234 * fixincl.c: #include <sys/wait.h>
235 (run_compiles): Use XCNEWVEC instead of xcalloc.
236 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
237 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
239 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
241 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
242 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
243 * fixincl.x: Regenerate.
245 2005-05-06 Bruce Korb <bkorb@gnu.org>
246 Joseph S. Myers <joseph@codesourcery.com>
248 * fixinc/inclhack.def: Correct backslashes
249 * fixinc/fixincl.x: regen
251 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
253 * system.h (fopen, fdopen, freopen): Define these to the unlocked
256 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
258 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
259 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
260 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
261 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
263 (fwrite_unlocked): Fix prototype.
265 * configure, config.h.in: Regenerate.
267 2005-03-21 Zack Weinberg <zack@codesourcery.com>
269 * Makefile.in: Set gcc_version directly, not via substitution.
270 (libsubdir): Use $(gcc_version), not $(version).
271 (mkheaders.almost): New rule.
272 (mkheaders): Generate from mkheaders.almost.
273 (clean): Also delete mkheaders.almost.
274 * aclocal.m4: Do not include ../config/gcc-version.m4.
275 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
276 mkheaders.almost from mkheaders.in.
277 * configure: Regenerate.
279 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
282 * inclhack.def: Add fix for array of incomplete structures
283 in function prototype in pthread.h.
284 * fixincl.x: Regenerate.
285 * tests/base/pthread.h: Adjust.
287 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
289 * inclhack.def (hpux_htonl): New fix.
290 * tests/base/netinet/in.h: New test.
291 * fixincl.x: Regenerate.
293 2005-02-23 James E Wilson <wilson@specifixinc.com>
295 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
297 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
300 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
303 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
305 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
306 * aclocal.m4: Include ../config/gcc-version.m4.
307 * configure: Regenerate.
309 2004-11-26 Mark Mitchell <mark@codesourcery.com>
311 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
312 (stdio_va_list): Likewise.
313 (stdio_stdarg.h): Likewise.
314 (solaris_stdio_tag): Add bypass.
315 * fixincl.x: Regenerated.
317 2004-11-23 Geoffrey Keating <geoffk@apple.com>
319 * mkfixinc.sh: Check error code from 'cat'. Don't try running
320 built fixincl program.
321 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
324 2004-11-20 Roger Sayle <roger@eyesopen.com>
326 * inclhack.def (alpha_pthread_init): Fix technical problems with
327 the last check-in caused by CVS variable substitution.
328 * fixincl.x: Likewise.
329 * tests/base/pthread.h: Likewise.
331 2004-11-20 Roger Sayle <roger@eyesopen.com>
332 Bruce Korb <bkorb@gnu.org>
334 * inclhack.def (alpha_pthread_init): New fix.
335 * fixincl.x: Regenerate.
336 * tests/base/pthread.h: Update for new test.
338 2004-11-15 Bruce Korb <bkorb@gnu.org>
340 * fixincl.c(fix_with_system): correct misuse of variables and
341 incorrect application of "sizeof()".
343 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
345 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
346 svr4__p, undefine_null): Remove.
347 * fixincl.x: Regenerate.
348 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
349 * tests/base/sys/param.h: Remove.
350 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
351 tests/base/sys/limits.h: Update.
353 2004-11-12 Mike Stump <mrs@apple.com>
355 * Makefile.in (html): Add html generation support.
357 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
359 * inclhack.def (sco_math): Bypass on __GNUG__.
360 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
361 * fixincl.x: Regenerate.
363 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
365 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
366 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
368 (sun_auth_proto): Bypass on __cplusplus.
369 * fixincl.x: Regenerate.
371 2004-11-05 Geoffrey Keating <geoffk@apple.com>
373 * Makefile.in (mostlyclean): Add fixinc.sh.
374 (clean): Add mkheaders.
380 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
382 * Makefile.in (mostlyclean, distclean): New targets.
384 2004-11-04 Geoffrey Keating <geoffk@apple.com>
386 * configure.ac: Add code to determine noncanonical_target,
387 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
388 * configure: Regenerate.
389 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
390 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
391 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
392 update for changes to fixinc.in.
393 * Makefile.in: Add many new macros.
394 (install): New target.
395 (mkheaders): New target.
396 (fixinc.sh): New target.
397 (all): Add mkheaders and fixinc.sh.
398 * README-fixinc: Move here from gcc/.
400 2004-11-01 Mike Stump <mrs@apple.com>
402 * inclhack.def (stdio_va_list): Break out clients from here...
403 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
404 included or ifdef va_start.
405 * fixincl.x: Regenerate.
407 2004-10-28 Mike Stump <mrs@apple.com>
409 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
411 * fixincl.x: Regenerate.
413 2004-10-27 Geoffrey Keating <geoffk@apple.com>
415 * inclhack.def (darwin_gcc4_breakage): New.
416 * fixincl.x: Regenerate.
418 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
422 * fixfixes.c (main): Check for _PC_NAME_MAX.
424 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
428 * configure.ac: Fix typo.
429 * configure: Regenerate.
430 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
432 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
436 * fixincl.c (SIGCHLD): Remove definition.
437 (initialize): Remove SIGIOT and SIGPIPE checks.
438 (create_file): Fix mkdir() for Win32.
439 (internal_fix): Use dup2() instead of fcntl().
441 * fixlib.h (SIGQUIT): Define if undefined.
447 * procopen.c (chain_open): Use dup2() instead of fcntl().
449 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
453 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
454 Update copyright year.
455 * fixfixes.c (main): Call initialize_opts from fixopts.c.
456 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
457 do not include code for parsing options (environment vars).
458 (fix_with_system): Use a search path for applyfix, so that you
459 can run the test suite with two-process fixincludes.
460 * fixopts.c: New file.
461 * configure.ac: Add --enable-twoprocess. Export ac_exeext
462 to config.h. Default to --enable-twoprocess for MinGW32.
463 * config.h.in: Regenerate.
464 * configure: Regenerate.
466 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
468 * tests/base/sys/cdefs.h: Update from test area.
470 2004-09-17 Roger Sayle <roger@eyesopen.com>
472 * inclhack.def (linux_ia64_ucontext): New fix.
473 * fixincl.x: Regenerate.
474 * tests/base/sys/ucontext.h: New file.
476 2004-09-15 Roger Sayle <roger@eyesopen.com>
478 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
479 * tests/base/stdlib.h: Likewise.
481 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
483 * inclhack.def (freebsd_gcc4_breakage): Add.
484 * fixincl.x: Regenerate.
485 * tests/base/sys/cdefs.h: Update for new test.
487 2004-09-10 Adam Nemet <anemet@lnxw.com>
489 * inclhack.def (lynx_void_int): Remove.
490 (lynxos_fcntl_proto): Remove.
491 (lynxos_no_warning_in_sys_time_h): New fix.
492 (lynxos_missing_putenv): New fix.
493 * fixincl.x: Regenerate.
494 * tests/base/fcntl.h: Remove.
495 * tests/base/sys/time.h: Update from test area.
496 * tests/base/curses.h: Likewise.
497 * tests/base/stdlib.h: Likewise.
499 2004-09-03 Jan Beulich <jbeulich@novell.com>
501 * inclhack.def: Suppress exception_structure and math_exception
503 * fixincl.x: Regenerate.
505 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
508 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
511 * config.h.in: Generate.
512 * configure: Generate.
514 * fixlib.h: Remove inclusions of gcc files.
517 Other files copied from gcc/fixinc.