History log of /openbsd/lib/libc/gen/basename.c (Results 1 – 17 of 17)
Revision Date Author Comments
# cf6da2c2 20-Oct-2020 naddy <naddy@openbsd.org>

Align the basename(3) and dirname(3) prototypes with the POSIX spec:
Both functions take a non-const parameter. Implementations may modify
the passed string, even though ours do not.

ok stsp@ deraa

Align the basename(3) and dirname(3) prototypes with the POSIX spec:
Both functions take a non-const parameter. Implementations may modify
the passed string, even though ours do not.

ok stsp@ deraadt@ millert@

show more ...


# bf198cc6 25-Jan-2019 millert <millert@openbsd.org>

I am retiring my old email address; replace it with my OpenBSD one.


# 69245ebd 30-Sep-2013 millert <millert@openbsd.org>

Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@


# c2c925de 08-Aug-2005 espie <espie@openbsd.org>

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# 941d0620 02-Mar-2005 millert <millert@openbsd.org>

Consistent #if protection of rcs ids; Francois Perrad


# 6c39c219 25-Nov-2004 millert <millert@openbsd.org>

Don't use strlcpy() to copy just part of a string, it make the code too
confusing. While in here make the code more readable. Ok pat@


# 328f1f07 17-Jun-2003 millert <millert@openbsd.org>

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# f723aa39 11-Jun-2003 deraadt <deraadt@openbsd.org>

ansification; checked by pval


# 06f01696 03-Jun-2003 millert <millert@openbsd.org>

Use an ISC-tyle license for all my code; it is simpler and more permissive.


# 9446b06e 09-Jun-2002 deraadt <deraadt@openbsd.org>

spelling; moritz@jodeit.org


# 5af14704 24-May-2002 deraadt <deraadt@openbsd.org>

try to use strlcpy and snprintf more; ok various


# cb7672e4 28-Jun-2001 pjanzen <pjanzen@openbsd.org>

fix one-byte overflows


# f1a075da 27-Jun-2001 lebel <lebel@openbsd.org>

use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.


# de152942 30-May-1999 espie <espie@openbsd.org>

Careless: I forgot to propagate obvious consts.


# ffaea631 28-May-1999 espie <espie@openbsd.org>

proper const semantics for dirname & basename.

(this follows FreeBSD and Linux. Single Unix 2 is still illogical)


# 9141dda3 21-Jun-1998 millert <millert@openbsd.org>

Remove the advertising clause in my old license, it impedes free use
of the code as a large number of similar clauses makes it impossible
to write an ad for a product using the code...


# 2baf3e42 17-Aug-1997 millert <millert@openbsd.org>

basename(3) and dirname(3) as specified by XPG4 and XPG4.2