History log of /freebsd-current/sys/libkern/strlcpy.c
Revision Date Author Comments
# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# e38b8307 21-Jun-2018 Conrad Meyer <cem@FreeBSD.org>

Sync strlcpy with userland version, again

No functional change.

Please remember to update libkern copies of libc functions when you update
libc.

Sponsored by: Dell EMC Isilon


# 299ff0d7 02-Nov-2012 Xin LI <delphij@FreeBSD.org>

Sync strlcpy with userland version.

MFC after: 1 month


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 27667f58 03-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

MFlibc: Remove extra closing parenthesis.


# d6ea0262 06-Jan-2005 Warner Losh <imp@FreeBSD.org>

/* -> /*- for copyright notices, minor format tweaks as necessary


# 105d189b 06-Sep-2002 Peter Wemm <peter@FreeBSD.org>

Use sys/libkern.h not /usr/include/string.h


# 8fb3f3f6 21-Mar-2002 David E. O'Brien <obrien@FreeBSD.org>

Remove 'register' keyword.


# de5fe5d5 07-Nov-2001 David E. O'Brien <obrien@FreeBSD.org>

rcsid[]->__FBSDID


# 5864b79c 24-May-2001 David E. O'Brien <obrien@FreeBSD.org>

Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.
Do the same for the non-wcs*/wmem* files while I'm here.


# d64292d2 09-Aug-1999 Warner Losh <imp@FreeBSD.org>

Use the latest version of these files from OpenBSD.

1) Safty change from casper dik was added to OpenBSD's sources since I
grabbed them. milltert@openbsd.org
2) Split up strlcpy to improve efficiency of the common case.
milltert@openbsd.org
3) Cleanup of cross references for man page. {alex,aaron}@openbsd.org

Pointed out by: deraadt@openbsd.org


# a41df9e3 09-Aug-1999 Warner Losh <imp@FreeBSD.org>

Import strl{cat,cpy} from OpenBSD.

Obtained from: OpenBSD