Lines Matching refs:curfname
52 static const char *curfname; /* Name of current log file */ variable
93 if ((curlogfd != STDERR_FILENO) || (curfname != stderr_name)) in doclose()
203 logerr("write log %s: %s", curfname, in vlogat()
206 logerr("cannot write %s", curfname); in vlogat()
208 logdbg("closed log %s", curfname); in vlogat()
210 logerr("closing log %s: %s", curfname, in vlogat()
275 curfname = stderr_name; in log_to_stderr()
291 if (fname == NULL && curfname == NULL) in log_for_service()
296 if (fname == curfname || in log_for_service()
297 (fname != NULL && strcmp(fname, curfname) == 0)) { in log_for_service()
298 curfname = fname; in log_for_service()
312 logdbg("closed log %s", curfname); in log_for_service()
314 logerr("closing log %s: %s", curfname, in log_for_service()
323 curfname = fname; in log_for_service()
339 logdbg("closed log %s", curfname); in close_log_files()
341 logerr("closing log %s: %s", curfname, in close_log_files()