diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-02-27 00:22:09 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-02-27 00:22:09 +0000 |
commit | b7aef825f62a7a94ddfc3f5ec9d0861f8429a4b4 (patch) | |
tree | ce6402f52828eb03a79ea8f26b45a0fd0a1965b0 /usr.bin/cvs/tag.c | |
parent | 6ad71f0dcaf6b13e5d2488013f723e6f320e6190 (diff) |
Many improvements to the RCS support:
- make it possible to specify creation and the file mode
in rcs_open()
- implicitly write the contents to disk on rcs_close() if the
RCS handle has been changed
- fix a bug in the output of the `expand' keyword
- add functions to retrieve and modify the expansion mode
- rcs_parse() shouldn't be available to the outside
- empty string instead of `(null)' if there is no description
ok Joris
Diffstat (limited to 'usr.bin/cvs/tag.c')
-rw-r--r-- | usr.bin/cvs/tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/tag.c b/usr.bin/cvs/tag.c index 67c2ed8a32c..fa23ea63ee9 100644 --- a/usr.bin/cvs/tag.c +++ b/usr.bin/cvs/tag.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tag.c,v 1.3 2005/01/14 18:02:04 jfb Exp $ */ +/* $OpenBSD: tag.c,v 1.4 2005/02/27 00:22:08 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2004 Joris Vink <amni@pandora.be> @@ -223,7 +223,7 @@ cvs_tag_file(CVSFILE *cfp, void *arg) snprintf(rcspath, sizeof(rcspath), "%s/%s/%s%s", root->cr_dir, repo, CVS_FILE_NAME(cfp), RCS_FILE_EXT); - rf = rcs_open(rcspath, RCS_MODE_READ); + rf = rcs_open(rcspath, RCS_READ); if (rf == NULL) { cvs_ent_free(entp); return (-1); |