aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/server.c
AgeCommit message (Collapse)AuthorFilesLines
2004-08-31Made fixincludes a toplevel build module.Paolo Bonzini1-305/+0
toplevel: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (build_modules): Add fixincludes. (dependencies): Make gcc depend on fixincludes. * configure.in (build_tools): Add fixincludes. (build_configdirs): Always include build_libs. * Makefile.in: Regenerate. * configure: Regenerate. contrib: 2004-08-04 Paolo Bonzini <bonzini@gnu.org> * gcc_update: Add fixincludes. fixincludes: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * .cvsignore: New. * Makefile.in: From gcc/fixinc/Makefile.in, making it fully autoconfiscated. * configure.ac: New. * config.h.in: Generate. * configure: Generate. * aclocal.m4: New. * fixlib.h: Remove inclusions of gcc files. * system.h: New. Other files copied from gcc/fixinc. gcc: 2004-08-31 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (build_subdir): New substitution. (fixinc.sh): Simplify heavily since fixincludes is already built. (stmp-fixinc): Depend on specs.ready. (install-mkheaders): Use new location of fixincludes. (clean): Do not descend into fixinc. (FORBUILD): Replace with ../$(build_subdir). * configure.ac (build_subdir): Substitute. (FORBUILD): Do not set. (all_outputs): Remove fixinc/Makefile. (default commands): Do not create links in fixinc. * mkfixinc.sh: New, from fixinc/mkfixinc.sh without the fixincludes configuration steps and substituting @FIXINCL@ in fixinc.in. * fixinc.in: New, from fixinc/fixincl.sh. * fixinc/*: Removed. From-SVN: r86824
2003-08-01fixfixes.c, [...]: ANSIfy function prototypes and defintions.Nathanael Nerode1-13/+6
* fixinc/fixfixes.c, fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c, fixinc/procopen.c, fixinc/server.c, fixinc/server.h, fixinc/fixincl.c: ANSIfy function prototypes and defintions. Add missed (?!) ChangeLog entry from previous commit earlier today: * fixinc/inclhack.def (broken_cabs): Make matching more generous. * fixinc/fixincl.x: Regenerate. * fixinc/tests/base/math.h: Regenerate to match test_text change. From-SVN: r70078
2003-07-19fixfixes.c [...]: Remove unnecessary casts.Kaveh R. Ghazi1-2/+2
gcc: * fixinc/fixfixes.c fixinc/fixincl.c fixinc/fixlib.c fixinc/server.c objc/objc-act.c: Remove unnecessary casts. f: * com.c data.c expr.c fini.c g77spec.c global.c lab.c lex.c name.c sta.c stc.c std.c storag.c stt.c stw.c symbol.c target.c type.c: Remove unnecessary casts. cp: * call.c class.c decl.c decl2.c g++spec.c lex.c parser.c pt.c rtti.c semantics.c typeck.c: Remove unnecessary casts. java: * class.c java-tree.h jcf-write.c jvspec.c: Remove unnecessary casts. treelang: * treetree.c: Remove unnecessary casts. From-SVN: r69593
2003-07-14[multiple changes]Nathanael Nerode1-1/+3
2003-07-14 Douglas Rupp <rupp@gnat.com> * fixinc/server.c (server_setup): Don't use non-POSIX NULL first argument to getcwd; use fixed buffer instead. 2003-07-14 Nathanael Nerode <neroden@gcc.gnu.org> * fixinc/mkfixinc.sh: Treat OpenBSD normally. * fixinc/fixinc.wrap: Delete. From-SVN: r69339
2002-12-16Merge basic-improvements-branch to trunkZack Weinberg1-9/+1
From-SVN: r60174
2001-04-04ansidecl.h: All logic from gcc/gansidecl.h moved here.Zack Weinberg1-1/+1
include: * ansidecl.h: All logic from gcc/gansidecl.h moved here. gcc: * gansidecl.h: Delete file. * configure.in: Change all refs to gansidecl.h to use ansidecl.h. Adjust *_file_list so they know where ansidecl.h lives. * configure: Regenerate. * Makefile.in (intl.o): Don't depend on gansidecl.h. * defaults.h: s/gansidecl.h/ansidecl.h/ in comment. * ggc.h, config/fr30/fr30.h, config/mcore/mcore.c: Don't include gansidecl.h. * intl.c, main.c, version.c, fixinc/fixlib.h, fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not gansidecl.h. gcc/java: * Make-lang.in (buffer.o, check-init.o, class.o): Don't depend on gansidecl.h. * buffer.c, jvgenmain.c: Don't include gansidecl.h. libiberty: * make-temp-file.c (try): Inline. From-SVN: r41069
2001-03-10server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of ↵Kaveh R. Ghazi1-26/+6
malloc, realloc & calloc. * fixinc/server.c (load_data, run_shell): Use xmalloc, xrealloc & xcalloc in lieu of malloc, realloc & calloc. * gencheck.c (xmalloc): Use really_call_malloc, not malloc. * gengenrtl.c (xmalloc): Likewise. * gensupport.c (xcalloc, xrealloc, xmalloc): Use the really_call_* memory allocation routines. * stmt.c (check_for_full_enumeration_handling): Use really_call_calloc, not calloc. * system.h (really_call_malloc, really_call_calloc, really_call_realloc): Define. (malloc, realloc, calloc, strdup, bzero, bcmp, rindex): Poison. f: * fini.c (main): Use really_call_malloc, not malloc. From-SVN: r40360
2001-03-03fixlib.h (t_bool): Add identifier `t_bool' in typedef.John David Anglin1-2/+2
* fixinc/fixlib.h (t_bool): Add identifier `t_bool' in typedef. * fixinc/server.c (read_pipe_timeout): Use enum t_bool instead of t_bool in declaration because pcc can't combine volatile with typedef types. From-SVN: r40217
2000-12-13Use one makefile for fixincBruce Korb1-30/+4
From-SVN: r38231
2000-12-02Kaveh's warning patch from 11/19Bruce Korb1-1/+5
From-SVN: r37958
2000-06-02only shut down the server process if the master process is exitingBruce Korb1-3/+6
From-SVN: r34360
2000-05-17improve the debug displays, ignore SIGPIPE, and fix char_macro_def regexBruce Korb1-2/+10
From-SVN: r33956
2000-04-03server.c (find_shell): New function.Felix Lee1-0/+24
* fixinc/server.c (find_shell): New function. Avoid $SHELL. (run_shell): Use it. From-SVN: r32878
2000-02-10server.c (load_data): Return NULL if the marker line is not found.Alexandre Oliva1-3/+17
* fixinc/server.c (load_data): Return NULL if the marker line is not found. (run_shell): If load_data returns NULL, retry the command once, in a new shell. From-SVN: r31894
1999-10-12merging from no_bogosityBruce Korb1-1/+1
From-SVN: r29924
1999-09-16system.h (CTYPE_CONV, [...]): New macros.Kaveh R. Ghazi1-1/+1
* system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use CTYPE_CONV in all ctype macros. * cccp.c (initialize_char_syntax): Use uppercase ctype macro from system.h. * cexp.y (initialize_random_junk): Likewise. * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise. * i370.c (handle_pragma): Likewise. * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise. * v850.c (override_options): Likewise. * doprint.c (_doprnt): Likewise. * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files): Likewise. * fixinc/server.c (load_data): Likewise. * fold-const.c (real_hex_to_f): Likewise. * genattr.c (write_upcase, gen_attr): Likewise. * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr, write_upcase): Likewise. * genemit.c (print_code): Likewise. * genopinit.c (gen_insn): Likewise. * genpeep.c (print_code): Likewise. * genrecog.c (print_code): Likewise. * optabs.c (init_libfuncs): Likewise. ch: * lex.c (maybe_downcase, getlc, handle_generic_pragma, check_newline): Likewise. f: * bad.c (ffebad_finish): Likewise. * fini.c (main): Likewise. * intrin.c (ffeintrin_init_0): Likewise. * lex.c (ffelex_hash_): Likewise. * src.c (ffesrc_init_1): Likewise. From-SVN: r29463
1999-08-07server.c (server_setup): Do not prefix function used as parameter with `&'.Philippe De Muyter1-1/+1
* fixinc/server.c (server_setup): Do not prefix function used as parameter with `&'. From-SVN: r28578
1999-05-28Replace local include scheme with #include of system.hRobert Lipe1-9/+2
From-SVN: r27232
1999-05-20static initialization removal & K&R-ificationAlexandre Oliva1-0/+4
From-SVN: r27052
1999-05-07don't \\-escape the cd command + format fixRainer Orth1-4/+11
From-SVN: r26813
1999-04-26properly handle child processesBruce Korb1-6/+9
From-SVN: r26644
1999-03-17fixincl.c: Include auto-host.h instead of config.hRobert Lipe1-1/+1
* fixinc/fixincl.c: Include auto-host.h instead of config.h * fixinc/procopen.c: Likewise. * fixinc/regex.c: Likewise. * fixinc/server.c: Likewise. From-SVN: r25832
1999-03-03Merge from fixincl-branchBruce Korb1-342/+182
From-SVN: r25558
1998-10-16These files are being moved from the contrib/fixinc directory.Bruce Korb1-0/+464
They have been modified somewhat to work in the new environment. From-SVN: r23125