diff options
author | markm <markm@FreeBSD.org> | 2000-01-09 08:31:47 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-01-09 08:31:47 +0000 |
commit | 6ae78a53894ebd0e7fee2629853a8646eda38887 (patch) | |
tree | d8fa5ae90ea14f0d939383153fc5a1e978bc3127 /crypto/kerberosIV/lib/roken/getcwd.c | |
parent | 2d96e5dd45a8fbdead16d7a6a28dab5a13054a6c (diff) | |
parent | ca616c603d9e06e51c9e23fab7536acbdac58331 (diff) | |
download | FreeBSD-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/roken/getcwd.c')
-rw-r--r-- | crypto/kerberosIV/lib/roken/getcwd.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/crypto/kerberosIV/lib/roken/getcwd.c b/crypto/kerberosIV/lib/roken/getcwd.c index ac80a79..c1f2610 100644 --- a/crypto/kerberosIV/lib/roken/getcwd.c +++ b/crypto/kerberosIV/lib/roken/getcwd.c @@ -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. * @@ -38,7 +33,7 @@ #ifdef HAVE_CONFIG_H #include <config.h> -RCSID("$Id: getcwd.c,v 1.10 1998/06/09 19:25:36 joda Exp $"); +RCSID("$Id: getcwd.c,v 1.12 1999/12/02 16:58:46 joda Exp $"); #endif #ifdef HAVE_UNISTD_H @@ -57,6 +52,6 @@ getcwd(char *path, size_t size) char *ret; ret = getwd(xxx); if(ret) - strcpy_truncate(path, xxx, size); + strlcpy(path, xxx, size); return ret; } |