summaryrefslogtreecommitdiffstats
path: root/crypto/kerberosIV/lib/acl
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-01-09 08:31:47 +0000
committermarkm <markm@FreeBSD.org>2000-01-09 08:31:47 +0000
commit6ae78a53894ebd0e7fee2629853a8646eda38887 (patch)
treed8fa5ae90ea14f0d939383153fc5a1e978bc3127 /crypto/kerberosIV/lib/acl
parent2d96e5dd45a8fbdead16d7a6a28dab5a13054a6c (diff)
parentca616c603d9e06e51c9e23fab7536acbdac58331 (diff)
downloadFreeBSD-src-6ae78a53894ebd0e7fee2629853a8646eda38887.zip
FreeBSD-src-6ae78a53894ebd0e7fee2629853a8646eda38887.tar.gz
This commit was generated by cvs2svn to compensate for changes in r55643,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/kerberosIV/lib/acl')
-rw-r--r--crypto/kerberosIV/lib/acl/acl.h9
-rw-r--r--crypto/kerberosIV/lib/acl/acl_files.c4
2 files changed, 4 insertions, 9 deletions
diff --git a/crypto/kerberosIV/lib/acl/acl.h b/crypto/kerberosIV/lib/acl/acl.h
index 0a6fa56..a92bbdd 100644
--- a/crypto/kerberosIV/lib/acl/acl.h
+++ b/crypto/kerberosIV/lib/acl/acl.h
@@ -14,12 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the Kungliga Tekniska
- * Högskolan and its contributors.
- *
- * 4. Neither the name of the Institute nor the names of its contributors
+ * 3. Neither the name of the Institute nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -36,7 +31,7 @@
* SUCH DAMAGE.
*/
-/* $Id: acl.h,v 1.6 1997/12/05 03:31:47 joda Exp $ */
+/* $Id: acl.h,v 1.7 1999/12/02 16:58:37 joda Exp $ */
#ifndef __ACL_H
#define __ACL_H
diff --git a/crypto/kerberosIV/lib/acl/acl_files.c b/crypto/kerberosIV/lib/acl/acl_files.c
index 12098b7..5501075 100644
--- a/crypto/kerberosIV/lib/acl/acl_files.c
+++ b/crypto/kerberosIV/lib/acl/acl_files.c
@@ -22,7 +22,7 @@ or implied warranty.
#include "config.h"
#include "protos.h"
-RCSID("$Id: acl_files.c,v 1.13 1999/03/13 21:21:32 assar Exp $");
+RCSID("$Id: acl_files.c,v 1.14 1999/09/16 20:41:43 assar Exp $");
#include <stdio.h>
#include <stdlib.h>
@@ -373,7 +373,7 @@ acl_load(char *name)
}
/* Set up the acl */
- strcpy_truncate(acl_cache[i].filename, name, LINESIZE);
+ strlcpy(acl_cache[i].filename, name, LINESIZE);
if((acl_cache[i].fd = open(name, O_RDONLY, 0)) < 0) return(-1);
/* Force reload */
acl_cache[i].acl = (struct hashtbl *) 0;
OpenPOWER on IntegriCloud