History log of /src/lib/libc/gen/basename.3 |
Revision | | Date | Author | Comments |
1.14 |
| 10-May-2008 |
christos | branches: 1.14.6; undo the constification of the argument. Per opengroup.
|
1.13 |
| 30-Apr-2008 |
martin | branches: 1.13.2; Convert TNF licenses to new 2 clause variant
|
1.12 |
| 23-Apr-2008 |
plunky | constify dirname(3) and basename(3)
|
1.11 |
| 06-Sep-2003 |
kleink | branches: 1.11.30; Add Xref to basename(1).
|
1.10 |
| 16-Apr-2003 |
wiz | Use .In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross.
|
1.9 |
| 17-Oct-2002 |
wiz | Use .Dq and .Sq. Fix some typos.
|
1.8 |
| 17-Oct-2002 |
thorpej | Change basename(3) and dirname(3) to return a pointer to static storage, rather than modifying their input arguments. While not reentrant, this is explcitly allowed by IEEE Std 1003.1-2001 (which allows either behavior, stating that it is implementation-dependent).
The new semantics are considered less hostile/more useful by most programs which use basename(3) and/or dirname(3) (several programs in the NetBSD tree reimplement basename()/dirname() themselves to avoid modification of the input argument).
This new implementation truncates results to PATH_MAX. The Std does not address this in the static storage case. However since PATH_MAX is the maximum pathname length in the Std, this should not be a problem in practice. Nontheless, it is noted in the BUGS section.
See the basename(3)/dirname(3) regression tests in src/regress/lib/libc.
Inspired by discussion with Niels Provos, related to PR 18647.
|
1.7 |
| 07-Feb-2002 |
ross | branches: 1.7.2; Generate <>& symbolically.
|
1.6 |
| 16-Sep-2001 |
wiz | Standardize section headers, sort sections, sort SEE ALSO, punctuation and misc. fixes.
|
1.5 |
| 16-Sep-2001 |
wiz | Boring whitespace fixes.
|
1.4 |
| 12-Sep-1999 |
kleink | branches: 1.4.10; Use full month names with .Dd, as per mdoc.samples(7).
|
1.3 |
| 22-Mar-1999 |
garbled | Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Wheee!
|
1.2 |
| 05-Feb-1998 |
perry | add LIBRARY section to man page
|
1.1 |
| 02-Nov-1997 |
kleink | Add basename() and dirname(), from XPG4.2.
|
1.4.10.4 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.4.10.3 |
| 22-Mar-2002 |
nathanw | Catch up to -current.
|
1.4.10.2 |
| 08-Mar-2002 |
nathanw | Catch up to -current.
|
1.4.10.1 |
| 08-Oct-2001 |
nathanw | Catch up to -current.
|
1.7.2.1 |
| 07-Dec-2002 |
he | Pull up revision 1.8 (requested by thorpej in ticket #918): Change basename(3) and dirname(3) to return a pointer to static storage instead of modifying their arguments. Fixes PR#18647.
|
1.11.30.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.13.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.14.6.2 |
| 10-May-2008 |
christos | undo the constification of the argument. Per opengroup.
|
1.14.6.1 |
| 10-May-2008 |
christos | file basename.3 was added on branch christos-time_t on 2008-05-10 22:39:41 +0000
|