[BACK]Return to history.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/history.c between version 1.40 and 1.41

version 1.40, 2010/07/23 21:46:05 version 1.41, 2013/12/13 15:19:41
Line 169 
Line 169 
                         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");

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41