choose-temp.c (make_temp_file): Accept new argument for the file suffix to use.
authorJeffrey A Law <law@cygnus.com>
Tue, 30 Jun 1998 01:41:45 +0000 (01:41 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 30 Jun 1998 01:41:45 +0000 (19:41 -0600)
commit20f2d03a8ebe8a679ebfd477ce1dd74f1e94a195
tree0003a692de847d6e5ea1c512950f3fe3d7f44a1f
parentaf24816977a00f6a1b9ede9b4a5291b96b6c67eb
choose-temp.c (make_temp_file): Accept new argument for the file suffix to use.

        * choose-temp.c (make_temp_file): Accept new argument for the
        file suffix to use.  Allocate space for it and add it to the
        template.
        * mkstemp.c (mkstemps): Renamed from mkstemp.  Accept new argument
        for the length of the suffix.  Update template struture checks
        to handle optinal suffix.
        * collect2.c (make_temp_file): Update prototype.
        (main): Put proper suffixes on temporary files.
        * gcc.c (make_temp_file): Update prototype.
        (do_spec_1): Put proper suffixes on temporary files.
Should fix irix build problems.

From-SVN: r20812
gcc/ChangeLog
gcc/choose-temp.c
gcc/collect2.c
gcc/gcc.c
gcc/mkstemp.c