version 1.40, 2010/07/23 21:46:05 |
version 1.41, 2013/12/13 15:19:41 |
|
|
cvs_log(LP_ERR, "failed to open history file"); |
cvs_log(LP_ERR, "failed to open history file"); |
} else { |
} else { |
if ((fp = fdopen(fd, "a")) != NULL) { |
if ((fp = fdopen(fd, "a")) != NULL) { |
fprintf(fp, "%c%x|%s|%s|%s|%s|%s\n", |
fprintf(fp, "%c%08llx|%s|%s|%s|%s|%s\n", |
historytab[type], time(NULL), getlogin(), cwd, |
historytab[type], (long long)time(NULL), |
repo, rev, (cf != NULL) ? cf->file_name : |
getlogin(), cwd, repo, rev, |
argument); |
(cf != NULL) ? cf->file_name : argument); |
(void)fclose(fp); |
(void)fclose(fp); |
} else { |
} else { |
cvs_log(LP_ERR, "failed to add entry to history file"); |
cvs_log(LP_ERR, "failed to add entry to history file"); |