/openbsd-current/gnu/usr.bin/cvs/src/ |
H A D | tag.c | 34 static int rtag_delete PROTO((RCSNode *rcsfile)); 636 RCSNode *rcsfile; local 641 if ((rcsfile = finfo->rcs) == NULL) 651 return (rtag_delete (rcsfile)); 660 if ((rcsfile->flags & VALID) && (rcsfile->flags & INATTIC)) 661 return (rtag_delete (rcsfile)); 664 version = RCS_getversion (rcsfile, numtag, date, force_tag_match, 670 (void) rtag_delete (rcsfile); 675 numtag ? numtag : "head", rcsfile [all...] |
H A D | log.c | 785 RCSNode *rcsfile; local 790 if ((rcsfile = finfo->rcs) == NULL) 816 cvs_output (rcsfile->path, 0); 822 RCS_fully_parse (rcsfile); 826 revlist = log_expand_revlist (rcsfile, log_data->revlist, 838 cvs_output (rcsfile->path, 0); 852 if (rcsfile->head != NULL) 855 cvs_output (rcsfile->head, 0); 859 if (rcsfile->branch != NULL) 862 cvs_output (rcsfile [all...] |
H A D | rcscmds.c | 379 RCS_exec_rcsdiff (rcsfile, opts, options, rev1, rev2, label1, label2, workfile) 380 RCSNode *rcsfile; 400 cvs_output (rcsfile->path, 0); 409 status = RCS_checkout (rcsfile, NULL, rev1, NULL, options, tmpfile1, 419 "cannot check out revision %s of %s", rev1, rcsfile->path); 432 status = RCS_checkout (rcsfile, NULL, rev2, NULL, options, 442 "cannot check out revision %s of %s", rev2, rcsfile->path);
|
H A D | patch.c | 379 RCSNode *rcsfile; local 400 if ((rcsfile = finfo->rcs) == NULL) 405 if ((rcsfile->flags & VALID) && (rcsfile->flags & INATTIC)) 416 vers_head = RCS_getversion (rcsfile, rev2, date2, force_tag_match, 418 if (vers_head != NULL && RCS_isdead (rcsfile, vers_head)) 436 if (RCS_getrevtime (rcsfile, vers_head, date1, 1) == -1) 445 vers_tag = RCS_getversion (rcsfile, rev1, date1, force_tag_match, 447 if (vers_tag != NULL && RCS_isdead (rcsfile, vers_tag)) 545 retcode = RCS_checkout (rcsfile, (cha [all...] |
H A D | commit.c | 1832 RCSNode *rcsfile; local 1839 if ((rcsfile = RCS_parsercsfile (rcs)) == NULL) 1845 freercsnode (&rcsfile); 1888 RCSNode *rcsfile = NULL; local 1928 if ((rcsfile = *rcsnode) == NULL) 1930 error (0, 0, "could not find parsed rcsfile %s", file); 1935 oldexpand = RCS_getexpand (rcsfile); 1945 RCS_setexpand (rcsfile, options + 2); 1952 if (!(rcsfile->flags & INATTIC)) 1955 rcsfile [all...] |
H A D | rcs.c | 54 static RCSNode *RCS_parsercsfile_i PROTO((FILE * fp, const char *rcsfile)); 175 /* Parse an rcsfile given a user file name and a repository. If there is 188 char *rcsfile; local 194 rcsfile = xmalloc (strlen (repos) + strlen (file) 196 (void) sprintf (rcsfile, "%s/%s%s", repos, file, RCSEXT); 197 if ((fp = CVS_FOPEN (rcsfile, FOPEN_BINARY_READ)) != NULL) 199 rcs = RCS_parsercsfile_i(fp, rcsfile); 208 error (0, errno, "cannot open %s", rcsfile); 213 (void) sprintf (rcsfile, "%s/%s/%s%s", repos, CVSATTIC, file, RCSEXT); 214 if ((fp = CVS_FOPEN (rcsfile, FOPEN_BINARY_REA 429 char *rcsfile; local [all...] |
H A D | rcs.h | 189 RCSNode *RCS_parsercsfile PROTO((char *rcsfile));
|
H A D | cvs.h | 435 extern int RCS_exec_rcsdiff PROTO ((RCSNode *rcsfile,
|
/openbsd-current/usr.bin/rcs/ |
H A D | Makefile | 6 rcsfile.5
|
H A D | rcs.c | 1486 char buf[256], *tmpf, resolved[PATH_MAX], *rcsfile; local 1498 rcsfile = rcsfile_in; 1500 rcsfile = resolved; 1584 (tmpf = strrchr(rcsfile, '/')) == NULL) 1585 buf_puts(newbuf, rcsfile); 1615 buf_puts(newbuf, rcsfile);
|
H A D | rlog.c | 199 rlog_select_daterev(RCSFILE *rcsfile, char *date) argument 286 TAILQ_FOREACH(rdp, &(rcsfile->rf_delta), rd_list) {
|
/openbsd-current/usr.bin/cvs/ |
H A D | file.c | 654 char repo[PATH_MAX], rcsfile[PATH_MAX]; local 665 (void)xsnprintf(rcsfile, PATH_MAX, "%s/%s", 669 len = strlcat(rcsfile, RCS_FILE_EXT, PATH_MAX); 674 cf->file_rpath = xstrdup(rcsfile); 722 else if (cf->fd == -1 && stat(rcsfile, &st) != -1) 756 (void)xsnprintf(rcsfile, PATH_MAX, "%s/%s/%s%s", 759 cf->repo_fd = open(rcsfile, O_RDONLY); 762 cf->file_rpath = xstrdup(rcsfile);
|
H A D | commit.c | 408 char attic[PATH_MAX], repo[PATH_MAX], rcsfile[PATH_MAX]; local 521 (void)xsnprintf(rcsfile, PATH_MAX, "%s/%s%s", 524 if (rename(cf->file_rpath, rcsfile) == -1) 530 cf->file_rpath = xstrdup(rcsfile);
|
H A D | rcs.c | 2083 * Write the entire contents of revision <frev> from the rcsfile <rfp> to 2179 rcs_kwexp_line(char *rcsfile, struct rcs_delta *rdp, struct rcs_lines *lines, argument 2205 if (strlcpy(path, rcsfile, sizeof(path)) >= sizeof(path)) 2310 (void)strlcat(expbuf, rcsfile, 2385 (void)strlcat(expbuf, rcsfile, 2485 if (strlcat(expbuf, rcsfile, sizeof(expbuf)) >=
|