Lines Matching refs:tsrm_error_file
75 static FILE *tsrm_error_file; variable
131 tsrm_error_file = stderr; in tsrm_startup()
217 if (tsrm_error_file!=stderr) { in tsrm_shutdown()
218 fclose(tsrm_error_file); in tsrm_shutdown()
734 fprintf(tsrm_error_file, "TSRM: "); in tsrm_error()
736 size = vfprintf(tsrm_error_file, format, args); in tsrm_error()
738 fprintf(tsrm_error_file, "\n"); in tsrm_error()
739 fflush(tsrm_error_file); in tsrm_error()
753 if (tsrm_error_file!=stderr) { /* close files opened earlier */ in tsrm_error_set()
754 fclose(tsrm_error_file); in tsrm_error_set()
758 tsrm_error_file = fopen(debug_filename, "w"); in tsrm_error_set()
759 if (!tsrm_error_file) { in tsrm_error_set()
760 tsrm_error_file = stderr; in tsrm_error_set()
763 tsrm_error_file = stderr; in tsrm_error_set()