summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/req.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-09-15 17:01:11 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-09-15 17:01:11 +0000
commit9a7decdb09c8a0a11df7822828b6c0a8d04479b9 (patch)
tree08faac020cd33049514757d647e33e7ab06f3072 /usr.bin/cvs/req.c
parentb591ca81646ecf1c39b2e12329b864596f3e67a3 (diff)
check in cvs_mkadmin() wether we need to create or not the
CVS/Tag file. Sync the rest of the code accordingly; OK joris@.
Diffstat (limited to 'usr.bin/cvs/req.c')
-rw-r--r--usr.bin/cvs/req.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/req.c b/usr.bin/cvs/req.c
index a3cbd9cf8d7..d740df00eaa 100644
--- a/usr.bin/cvs/req.c
+++ b/usr.bin/cvs/req.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: req.c,v 1.30 2005/07/29 10:38:55 joris Exp $ */
+/* $OpenBSD: req.c,v 1.31 2005/09/15 17:01:10 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -348,7 +348,8 @@ cvs_req_directory(int reqid, char *line)
* Now, create the admin files in the top-level
* directory for the temp repo.
*/
- if (cvs_mkadmin(cvs_server_tmpdir, cvs_rootstr, repo) < 0) {
+ if (cvs_mkadmin(cvs_server_tmpdir, cvs_rootstr, repo,
+ NULL, NULL, 0) < 0) {
cvs_log(LP_ERR, "failed to create admin files");
free(repo);
return (-1);