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/cvs/buf.h | |
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/cvs/buf.h')
-rw-r--r-- | usr.bin/cvs/buf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/buf.h b/usr.bin/cvs/buf.h index d56eb2963e2..dbed99dfc71 100644 --- a/usr.bin/cvs/buf.h +++ b/usr.bin/cvs/buf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.h,v 1.17 2006/06/14 14:10:50 joris Exp $ */ +/* $OpenBSD: buf.h,v 1.18 2006/07/08 09:25:44 ray Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -48,7 +48,7 @@ size_t cvs_buf_len(BUF *); int cvs_buf_write_fd(BUF *, int); int cvs_buf_write(BUF *, const char *, mode_t); int cvs_buf_differ(BUF *, BUF *); -void cvs_buf_write_stmp(BUF *, char *, mode_t, struct timeval *); +void cvs_buf_write_stmp(BUF *, char *, struct timeval *); ssize_t cvs_buf_copy(BUF *, size_t, void *, size_t); const void *cvs_buf_peek(BUF *, size_t); |