Lines Matching defs:current
94 struct logfile current; /* current logfile. */
143 " -L path Create hard link from current log to specified path.\n"
161 /* This function returns the current Unix time (time_t) adjusted for
234 if (status->current.fd == NULL) {
241 if (apr_file_info_get(&finfo, APR_FINFO_SIZE, status->current.fd) == APR_SUCCESS) {
325 if (status->current.fd) {
326 argv[2] = status->current.name;
345 /* After a error, truncate the current file and write out an error
352 if (apr_file_trunc(status->current.fd, 0) != APR_SUCCESS) {
353 fprintf(stderr, "Error truncating the file %s\n", status->current.name);
356 if (apr_file_write_full(status->current.fd, message, buflen, NULL) != APR_SUCCESS) {
358 message, status->current.name);
461 | (config->truncate || (config->num_files > 0 && status->current.fd) ? APR_TRUNCATE : 0),
468 /* Close out old (previously 'current') logfile, if any. */
469 if (status->current.fd) {
470 close_logfile(config, &status->current);
473 /* New log file is now 'current'. */
474 status->current = newlog;
483 if (status->current.fd == NULL) {
748 rv = apr_file_write_full(status.current.fd, buf, nWrite, &nWrite);
755 if (apr_file_seek(status.current.fd, APR_CUR, &cur_offset) != APR_SUCCESS) {