choose-temp.c (choose_temp_base): Restore original variant of this function for compatibility.
* choose-temp.c (choose_temp_base): Restore original variant of this function for compatibility. (make_temp_file): This is the new, preferred interface to create temporary files. * collect2.c (choose_temp_base): Delete declaration. (make_temp_file): Declare. (temp_filename_length, temp_filename): Delete. (main): Use make_temp_file to get temporary files. Use --lang-c to force the resulting ctort/dtor file to be compiled with the C compiler. Make sure to remove temporary files on all exit paths. * gcc.c (make_temp_file): Provide prototype if MKTEMP_EACH_FILE is defined. (choose_temp_base): Only provide prototype if MKTEMP_EACH_FILE is not defined. (do_spec): Use make_temp_file if MKTEMP_EACH_FILE is defined. From-SVN: r20784
Showing
Please
register
or
sign in
to comment