summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/basename.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix LP64 architectures and especially ia64. Functions that returnmarcel2002-12-301-0/+1
| | | | | | | | | a pointer and lack a prototype will have the return value (assumed to be an integer) zero-extended to a pointer. On ia64 this is unconditionally fatal as it zeroes-out the region bits, forming an invalid pointer. Fix the sigsegv by including <stdlib.h>. Pointy hat: bbraun
* Reduce libc.so's memory footprint by lazily allocating memory used internallybbraun2002-12-211-2/+8
| | | | | by basename() and dirname(). Reviewed by: eric
* * Remove 'register'. (some functions had 7+ register functions...)obrien2002-02-011-2/+1
| | | | * Fix SCM ID's.
* Fixed world breakage due to missing include of <sys/cdefs.h> in previousbde2002-01-311-2/+4
| | | | | | | | | | | | commit. Fixed related style bugs: basename.c: misplaced '#if 0' dirname.c: misplaced '#if 0' getgrent.c: missing '#if 0', and tab lossage in vendor id (the previous commit fixed the complete corruption of the vendor id but lost a tab) getpwent.c: missing '#if 0'
* Fix FreeBSD IDs.obrien2002-01-301-3/+3
|
* Fix a one-byte overrun.dd2001-06-281-1/+1
| | | | | | PR: 28472 Submitted by: David Xu <davidx@viasoft.com.cn> Obtained from: OpenBSD
* Import XPG4-compliant basename(3) and dirname(3) from OpenBSD.des2000-08-311-0/+76
The man pages need some adjustments. PR: 12960, 12962 Submitted by: James Howard <howardjp@wam.umd.edu> Obtained from: OpenBSD
OpenPOWER on IntegriCloud