diff options
author | peter <peter@FreeBSD.org> | 2000-10-02 06:33:59 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-10-02 06:33:59 +0000 |
commit | 590c411955d6975551ffeaf41d7faf4b26f836d1 (patch) | |
tree | c2ec0b150478a3cab9fb18e60d02dedbdc1cfd15 /contrib/cvs/src/entries.c | |
parent | 784ea5066cbea73d04e8ce5783dd0eb842e3ac1f (diff) | |
download | FreeBSD-src-590c411955d6975551ffeaf41d7faf4b26f836d1.zip FreeBSD-src-590c411955d6975551ffeaf41d7faf4b26f836d1.tar.gz |
Import cvs-1.11 onto vendor branch.
Diffstat (limited to 'contrib/cvs/src/entries.c')
-rw-r--r-- | contrib/cvs/src/entries.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/cvs/src/entries.c b/contrib/cvs/src/entries.c index 7e258a9..14163bb 100644 --- a/contrib/cvs/src/entries.c +++ b/contrib/cvs/src/entries.c @@ -807,7 +807,8 @@ Subdirs_Known (entries) if (!noexec) { /* Create Entries.Log so that Entries_Close will do something. */ - fp = CVS_FOPEN (CVSADM_ENTLOG, "a"); + entfilename = CVSADM_ENTLOG; + fp = CVS_FOPEN (entfilename, "a"); if (fp == NULL) { int save_errno = errno; @@ -821,7 +822,7 @@ Subdirs_Known (entries) else { if (fclose (fp) == EOF) - error (1, errno, "cannot close %s", CVSADM_ENTLOG); + error (1, errno, "cannot close %s", entfilename); } } } |