diff options
-rw-r--r-- | usr.bin/cvs/client.c | 4 | ||||
-rw-r--r-- | usr.bin/cvs/getlog.c | 4 | ||||
-rw-r--r-- | usr.bin/cvs/server.c | 4 | ||||
-rw-r--r-- | usr.bin/cvs/tag.c | 4 | ||||
-rw-r--r-- | usr.bin/cvs/util.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c index 9a279d09df6..8f6c2e72af6 100644 --- a/usr.bin/cvs/client.c +++ b/usr.bin/cvs/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.92 2008/01/31 19:51:40 xsa Exp $ */ +/* $OpenBSD: client.c,v 1.93 2008/01/31 22:09:05 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -1085,7 +1085,7 @@ cvs_client_initlog(void) break; } - if ((cvs_client_outlog_fd = open(fpath, + if ((cvs_client_outlog_fd = open(fpath, O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1) { fatal("cvs_client_initlog: open `%s': %s", fpath, strerror(errno)); diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c index 9653e7d4ecd..a96b5e1df63 100644 --- a/usr.bin/cvs/getlog.c +++ b/usr.bin/cvs/getlog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getlog.c,v 1.82 2008/01/31 20:29:16 joris Exp $ */ +/* $OpenBSD: getlog.c,v 1.83 2008/01/31 22:09:05 xsa Exp $ */ /* * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> * Copyright (c) 2006 Joris Vink <joris@openbsd.org> @@ -366,6 +366,6 @@ log_rev_print(struct rcs_delta *rdp) } cvs_printf("\n"); } - + cvs_printf("%s", rdp->rd_log); } diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c index 3ab60d518ed..1f2919b31de 100644 --- a/usr.bin/cvs/server.c +++ b/usr.bin/cvs/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.78 2008/01/31 10:15:05 tobias Exp $ */ +/* $OpenBSD: server.c,v 1.79 2008/01/31 22:09:05 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -658,7 +658,7 @@ cvs_server_log(char *data) cvs_getlog(server_argc, server_argv); cvs_server_send_response("ok"); } - + void cvs_server_rlog(char *data) { diff --git a/usr.bin/cvs/tag.c b/usr.bin/cvs/tag.c index e753d8acabc..9b563657b53 100644 --- a/usr.bin/cvs/tag.c +++ b/usr.bin/cvs/tag.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tag.c,v 1.63 2008/01/31 10:15:05 tobias Exp $ */ +/* $OpenBSD: tag.c,v 1.64 2008/01/31 22:09:05 xsa Exp $ */ /* * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> * @@ -106,7 +106,7 @@ cvs_tag(int argc, char **argv) if (argc < 2) fatal("%s", cvs_cmd_rtag.cmd_synopsis); - + for (i = 1; i < argc; i++) if (argv[i][0] == '/') fatal("Absolute path name is invalid: %s", diff --git a/usr.bin/cvs/util.c b/usr.bin/cvs/util.c index b17749ebc8b..a2ea80e822c 100644 --- a/usr.bin/cvs/util.c +++ b/usr.bin/cvs/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.127 2008/01/31 16:44:46 tobias Exp $ */ +/* $OpenBSD: util.c,v 1.128 2008/01/31 22:09:05 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org> @@ -433,7 +433,7 @@ cvs_rmdir(const char *path) } } switch (type) { - case CVS_DIR: + case CVS_DIR: if (cvs_rmdir(fpath) == -1) goto done; break; |