diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-07-08 09:25:45 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-07-08 09:25:45 +0000 |
commit | 907fb5cd814439ccc648628c99c54afd91ddf3e2 (patch) | |
tree | 6b511f331b9418ed0a9e41e746ce872b2622d119 /usr.bin/rcs/ci.c | |
parent | d8aaf277a540b3ac999a3d657ca6fbe490f9f53d (diff) |
Remove file mode argument from {cvs|rcs}_buf_write_stmp(). We
always set the temporary file to mode 600, which is already done
by mkstemp().
OK joris@ and xsa@ over a month ago.
Diffstat (limited to 'usr.bin/rcs/ci.c')
-rw-r--r-- | usr.bin/rcs/ci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index fa2ac449734..f6301f7f632 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.180 2006/06/03 03:05:10 niallo Exp $ */ +/* $OpenBSD: ci.c,v 1.181 2006/07/08 09:25:44 ray Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -342,13 +342,13 @@ checkin_diff_file(struct checkin_params *pb) } (void)xasprintf(&path1, "%s/diff1.XXXXXXXXXX", rcs_tmpdir); - rcs_buf_write_stmp(b1, path1, 0600); + rcs_buf_write_stmp(b1, path1); rcs_buf_free(b1); b1 = NULL; (void)xasprintf(&path2, "%s/diff2.XXXXXXXXXX", rcs_tmpdir); - rcs_buf_write_stmp(b2, path2, 0600); + rcs_buf_write_stmp(b2, path2); rcs_buf_free(b2); b2 = NULL; |