The NetBSD Project

CVS log for src/lib/libc/gen/basename.3

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:29:31 2008 UTC (5 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.11.30.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:15 2008 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.11: +2 -9 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Sat May 10 22:39:41 2008 UTC (5 years, 11 months ago) by christos
Branch: christos-time_t
Changes since 1.14.6.1: +95 -0 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored)

undo the constification of the argument. Per opengroup.

Revision 1.14.6.1, Sat May 10 22:39:40 2008 UTC (5 years, 11 months ago) by christos
Branch: christos-time_t
Changes since 1.14: +0 -95 lines
FILE REMOVED

file basename.3 was added on branch christos-time_t on 2008-05-10 22:39:41 +0000

Revision 1.14 / (download) - annotate - [select for diffs], Sat May 10 22:39:40 2008 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, christos-time_t-nbase, christos-time_t-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Branch point for: christos-time_t
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

undo the constification of the argument. Per opengroup.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 30 13:10:50 2008 UTC (5 years, 11 months ago) by martin
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.12: +1 -8 lines
Diff to previous 1.12 (colored)

Convert TNF licenses to new 2 clause variant

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 23 07:53:26 2008 UTC (5 years, 11 months ago) by plunky
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

constify dirname(3) and basename(3)

Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 6 20:58:11 2003 UTC (10 years, 7 months ago) by kleink
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pf42
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Add Xref to basename(1).

Revision 1.10 / (download) - annotate - [select for diffs], Wed Apr 16 13:34:35 2003 UTC (11 years ago) by wiz
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

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.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Dec 7 22:18:46 2002 UTC (11 years, 4 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.7: +17 -6 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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.

Revision 1.4.10.4 / (download) - annotate - [select for diffs], Mon Nov 11 22:22:02 2002 UTC (11 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.4.10.3: +27 -10 lines
Diff to previous 1.4.10.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Catch up to -current

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 17 08:41:48 2002 UTC (11 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.8: +12 -6 lines
Diff to previous 1.8 (colored)

Use .Dq and .Sq. Fix some typos.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 17 02:06:04 2002 UTC (11 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +17 -6 lines
Diff to previous 1.7 (colored)

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.

Revision 1.4.10.3 / (download) - annotate - [select for diffs], Fri Mar 22 20:42:05 2002 UTC (12 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.10.2: +1 -1 lines
Diff to previous 1.4.10.2 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.4.10.2 / (download) - annotate - [select for diffs], Fri Mar 8 21:35:03 2002 UTC (12 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.10.1: +2 -2 lines
Diff to previous 1.4.10.1 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 7 07:00:10 2002 UTC (12 years, 2 months ago) by ross
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Generate <>& symbolically.

Revision 1.4.10.1 / (download) - annotate - [select for diffs], Mon Oct 8 20:18:43 2001 UTC (12 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored)

Catch up to -current.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Sep 16 02:57:03 2001 UTC (12 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

Standardize section headers, sort sections, sort SEE ALSO, punctuation
and misc. fixes.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 16 02:30:23 2001 UTC (12 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Boring whitespace fixes.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 12 18:47:10 1999 UTC (14 years, 7 months ago) by kleink
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, comdex-fall-1999-base, comdex-fall-1999
Branch point for: nathanw_sa
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Use full month names with .Dd, as per mdoc.samples(7).

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 22 19:44:38 1999 UTC (15 years ago) by garbled
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

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!

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 5 18:45:54 1998 UTC (16 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

add LIBRARY section to man page

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 2 16:48:27 1997 UTC (16 years, 5 months ago) by kleink
Branch: MAIN

Add basename() and dirname(), from XPG4.2.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>