Lines Matching refs:curfname
50 static const char *curfname; /* Name of current log file */ variable
91 if ((curlogfd != STDERR_FILENO) || (curfname != stderr_name)) in doclose()
201 logerr("write log %s: %s", curfname, in vlogat()
204 logerr("cannot write %s", curfname); in vlogat()
206 logdbg("closed log %s", curfname); in vlogat()
208 logerr("closing log %s: %s", curfname, in vlogat()
273 curfname = stderr_name; in log_to_stderr()
289 if (fname == NULL && curfname == NULL) in log_for_service()
294 if (fname == curfname || in log_for_service()
295 (fname != NULL && strcmp(fname, curfname) == 0)) { in log_for_service()
296 curfname = fname; in log_for_service()
310 logdbg("closed log %s", curfname); in log_for_service()
312 logerr("closing log %s: %s", curfname, in log_for_service()
321 curfname = fname; in log_for_service()
337 logdbg("closed log %s", curfname); in close_log_files()
339 logerr("closing log %s: %s", curfname, in close_log_files()