Rob Braun
5fb691beab
Reduce libc.so's memory footprint by lazily allocating memory used internally
...
by basename() and dirname().
Reviewed by: eric
2002-12-21 07:12:35 +00:00
David E. O'Brien
22626efa0f
* Remove 'register'. (some functions had 7+ register functions...)
...
* Fix SCM ID's.
2002-02-01 01:08:48 +00:00
Bruce Evans
56bcbf00e2
Fixed world breakage due to missing include of <sys/cdefs.h> in previous
...
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'
2002-01-31 12:58:36 +00:00
David E. O'Brien
135b57f906
Fix FreeBSD IDs.
2002-01-30 21:36:57 +00:00
Dima Dorfman
ff5f0dbc41
Fix a one-byte overrun.
...
PR: 28472
Submitted by: David Xu <davidx@viasoft.com.cn>
Obtained from: OpenBSD
2001-06-28 21:50:53 +00:00
Dag-Erling Smørgrav
1250db8139
Import XPG4-compliant basename(3) and dirname(3) from OpenBSD.
...
The man pages need some adjustments.
PR: 12960, 12962
Submitted by: James Howard <howardjp@wam.umd.edu>
Obtained from: OpenBSD
2000-08-31 15:56:15 +00:00