diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-09-23 18:10:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-09-23 18:10:17 +0000 |
commit | 189c0b08dff2fc14fd103de8d957636c4828d6eb (patch) | |
tree | d15130b4038038f6b4d59f46bb1cea73b597b6b0 /usr.bin/cvs/util.h | |
parent | 9721f9b09481df645f1a9f3d1b3c47dc65c69fc9 (diff) |
Add cvs_mkdir() for recursive directory creation on import, based on a
diff from Michael W Bombardieri in PR 6398.
tested by & ok jasper
Diffstat (limited to 'usr.bin/cvs/util.h')
-rw-r--r-- | usr.bin/cvs/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/util.h b/usr.bin/cvs/util.h index d595c6b4848..e80b2ce4620 100644 --- a/usr.bin/cvs/util.h +++ b/usr.bin/cvs/util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: util.h,v 1.28 2010/07/23 21:46:05 ray Exp $ */ +/* $OpenBSD: util.h,v 1.29 2010/09/23 18:10:16 nicm Exp $ */ /* * Copyright (c) 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -33,6 +33,7 @@ void cvs_modetostr(mode_t, char *, size_t); void cvs_strtomode(const char *, mode_t *); void cvs_mkadmin(const char *, const char *, const char *, char *, char *); void cvs_mkpath(const char *, char *); +void cvs_mkdir(const char *, mode_t); int cvs_cksum(const char *, char *, size_t); int cvs_getargv(const char *, char **, int); int cvs_chdir(const char *, int); |