The NetBSD Project

CVS log for src/lib/libc/gen/fts.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:00:41 2012 UTC (17 months ago) by tls
Branch: tls-maxphys
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:58:45 2012 UTC (17 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.42.2.1: +5 -5 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Wed Sep 26 15:33:43 2012 UTC (18 months, 3 weeks ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, 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, agc-symver-base, agc-symver, HEAD
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

Fix in comment.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Sep 15 19:31:12 2012 UTC (19 months, 1 week ago) by spz
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

remove dubious cast

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:18 2012 UTC (2 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.42: +24 -7 lines
Diff to previous 1.42 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Wed Mar 14 00:25:19 2012 UTC (2 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.43: +13 -13 lines
Diff to previous 1.43 (colored)

rename the macros ftsent_ since they apply to the ftsent struct not the
fts one.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Mar 13 21:13:35 2012 UTC (2 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.42: +24 -7 lines
Diff to previous 1.42 (colored)

PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
  would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
  builds)

approved by core@

Revision 1.42 / (download) - annotate - [select for diffs], Sun Oct 16 05:05:38 2011 UTC (2 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.41: +5 -2 lines
Diff to previous 1.41 (colored)

default O_CLOEXEC to 0 for systems that don't define it, like, say, netbsd-5.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Oct 15 23:00:01 2011 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.40: +6 -17 lines
Diff to previous 1.40 (colored)

close on exec fixes:
- open + fcntl -> open O_CLOEXEC
- configuration database file descriptors that can stay open are now opened
  fopen(db, "re")

Revision 1.34.4.1.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:28:08 2010 UTC (4 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.34.4.1: +10 -2 lines
Diff to previous 1.34.4.1 (colored) next main 1.34.4.2 (colored)

sync to netbsd-5

Revision 1.40 / (download) - annotate - [select for diffs], Mon Nov 2 17:17:34 2009 UTC (4 years, 5 months ago) by stacktic
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored)

Make sure fts_statp is NULL when FTS_NOSTAT is set

Revision 1.34.4.2 / (download) - annotate - [select for diffs], Sun Aug 16 22:41:23 2009 UTC (4 years, 8 months ago) by bouyer
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.34.4.1: +10 -2 lines
Diff to previous 1.34.4.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Pull up following revision(s) (requested by christos in ticket #915):
	lib/libc/gen/fts.c: revision 1.38
Avoid possible integer overflow and subsequent collateral damage.
Received from OpenBSD via US-CERT as VU #590371.
Original OpenBSD commit log:
revision 1.42
date: 2009/02/11 13:24:05;  author: otto;  state: Exp; lines: +9 -1
Avoid level going negative on deep (i mean really deep) dirs. Reported
by Maksymilian Arciemowicz. ok kettenis@ millert@

Revision 1.34.4.1.2.1 / (download) - annotate - [select for diffs], Sun Aug 16 22:41:16 2009 UTC (4 years, 8 months ago) by bouyer
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.34.4.1: +10 -2 lines
Diff to previous 1.34.4.1 (colored) next main 1.34.4.2 (colored)

Pull up following revision(s) (requested by christos in ticket #915):
	lib/libc/gen/fts.c: revision 1.38
Avoid possible integer overflow and subsequent collateral damage.
Received from OpenBSD via US-CERT as VU #590371.
Original OpenBSD commit log:
revision 1.42
date: 2009/02/11 13:24:05;  author: otto;  state: Exp; lines: +9 -1
Avoid level going negative on deep (i mean really deep) dirs. Reported
by Maksymilian Arciemowicz. ok kettenis@ millert@

Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 16 19:33:39 2009 UTC (4 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

Version fts one more time! This is the most versioned API ever... Bump
fts_level from short to int to avoid a potential DoS.
From Maksymilian Arciemowicz

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:23 2009 UTC (4 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.37: +10 -2 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.38 / (download) - annotate - [select for diffs], Sat Feb 28 14:34:18 2009 UTC (5 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.37: +10 -2 lines
Diff to previous 1.37 (colored)

Avoid possible integer overflow and subsequent collateral damage.
Received from OpenBSD via US-CERT as VU #590371.

Original OpenBSD commit log:

> revision 1.42
> date: 2009/02/11 13:24:05;  author: otto;  state: Exp; lines: +9 -1
> Avoid level going negative on deep (i mean really deep) dirs. Reported
> by Maksymilian Arciemowicz. ok kettenis@ millert@

Revision 1.37 / (download) - annotate - [select for diffs], Tue Feb 3 05:21:24 2009 UTC (5 years, 2 months ago) by lukem
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

fix sign-compare issue

Revision 1.31.14.1 / (download) - annotate - [select for diffs], Thu Jan 15 22:06:18 2009 UTC (5 years, 3 months ago) by bouyer
Branch: netbsd-4-0
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up following revision(s) (requested by lukem in ticket #1256):
	lib/libc/gen/fts.c: revision 1.35
Ensure fts_close() doesn't spuriously close fd 0,
by testing FTS_SYMFOLLOW in fts_flags instead of fts_options.
Fix provided by Ben Harris in PR 40319

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Thu Jan 15 22:05:38 2009 UTC (5 years, 3 months ago) by bouyer
Branch: netbsd-4
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up following revision(s) (requested by lukem in ticket #1256):
	lib/libc/gen/fts.c: revision 1.35
Ensure fts_close() doesn't spuriously close fd 0,
by testing FTS_SYMFOLLOW in fts_flags instead of fts_options.
Fix provided by Ben Harris in PR 40319

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jan 11 02:46:27 2009 UTC (5 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

merge christos-time_t

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Thu Jan 8 22:00:34 2009 UTC (5 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: netbsd-5-0, matt-nb5-mips64
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Pull up following revision(s) (requested by lukem in ticket #226):
	lib/libc/gen/fts.c: revision 1.35
Ensure fts_close() doesn't spuriously close fd 0,
by testing FTS_SYMFOLLOW in fts_flags instead of fts_options.
Fix provided by Ben Harris in PR 40319

Revision 1.34.6.2 / (download) - annotate - [select for diffs], Sun Jan 4 17:02:19 2009 UTC (5 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.34.6.1: +1212 -0 lines
Diff to previous 1.34.6.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

merge with head.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jan 3 06:12:14 2009 UTC (5 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: christos-time_t-nbase, christos-time_t-base
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Ensure fts_close() doesn't spuriously close fd 0,
by testing FTS_SYMFOLLOW in fts_flags instead of fts_options.
Fix provided by Ben Harris in PR 40319

Revision 1.34.6.1, Sat Sep 27 15:12:00 2008 UTC (5 years, 6 months ago) by christos
Branch: christos-time_t
Changes since 1.34: +0 -1212 lines
FILE REMOVED

file fts.c was added on branch christos-time_t on 2009-01-04 17:02:19 +0000

Revision 1.34 / (download) - annotate - [select for diffs], Sat Sep 27 15:12:00 2008 UTC (5 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-5-base, matt-mips64-base2
Branch point for: netbsd-5, christos-time_t
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored)

fix unused variable if !defined(FTS_ALLOC_ALIGNED)

Revision 1.33 / (download) - annotate - [select for diffs], Sat Sep 20 00:14:12 2008 UTC (5 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.32: +30 -18 lines
Diff to previous 1.32 (colored)

Add fts_free() to complement fts_alloc(), and use instead of free().
Should avoid a memory leak on systems without ALIGNBYTES.

Revision 1.31.16.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:44 2008 UTC (6 years, 1 month ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.31: +21 -20 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:40:25 2008 UTC (6 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.31: +21 -20 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 10 01:18:44 2008 UTC (6 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, matt-armv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase
Changes since 1.31: +21 -20 lines
Diff to previous 1.31 (colored)

Style tweaks:
* test defined(HAVE_foo) not just HAVE_foo
* replace u_foo with unsigned foo
* the whitespace change whose name we dare not mention

Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 30 01:23:50 2006 UTC (8 years ago) by christos
Branch: MAIN
CVS Tags: 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, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: netbsd-4-0, netbsd-4, matt-armv6, keiichi-mipv6
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored)

PR/33163: Auster Vl.: fts: cant allocate memory | filename too long
Change the ftp_pathlen and fts_namelen to u_int from u_short so that
pathnames > 32K work.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Mar 19 02:01:50 2006 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.29: +5 -2 lines
Diff to previous 1.29 (colored)

Coverity CID 17: Free parent if it was not used.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 11 04:12:58 2005 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.28: +27 -11 lines
Diff to previous 1.28 (colored)

Restore the compatibility versions of fts not to do path mangling (i.e.
remove double slashes). Also make sure we free sp in all cases. From yamt,
many thanks!

Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 18 16:48:48 2005 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.27: +32 -65 lines
Diff to previous 1.27 (colored)

ANSI prototypes and function declarations. No functional change.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Nov 17 19:13:20 2005 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.26: +45 -26 lines
Diff to previous 1.26 (colored)

1. minimize code diffs with FreeBSD
2. return ENAMETOOLONG instead of ENOMEM if name is too long to fit.
3. only decrement cp if we are pointing to the end of the string.
   [this fixes the cp truncation of the last char problem reported]

Revision 1.26 / (download) - annotate - [select for diffs], Sat Oct 22 20:55:13 2005 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

Instead of special-casing root, special case paths that end with a /, so
that find foo/ does not print foo//bar. From FreeBSD.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 13 01:44:09 2005 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.24: +1182 -34 lines
Diff to previous 1.24 (colored)

compat core reorg.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Aug 19 02:04:54 2005 UTC (8 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.23: +34 -2 lines
Diff to previous 1.23 (colored)

64 bit inode changes

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 4 23:39:18 2003 UTC (10 years, 4 months ago) by keihan
Branch: MAIN
CVS Tags: 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
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

netbsd.org -> NetBSD.org
NetBSD.ORG -> NetBSD.org

Now src/lib is done.

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 2 00:11:14 1998 UTC (16 years, 2 months ago) by perry
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +27 -3 lines
Diff to previous 1.1.1.2 (colored)

import lite-2

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Wed Oct 22 06:41:30 1997 UTC (16 years, 6 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.20.2.1: +10 -0 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up from trunk:

New hacks to make libc work painlessly without bumping the major number:
use type func(arg1s) asm("emitted_name") gcc mechanism.
Suggested by Bill Sommerfeld.

Allow the old-name functions to be compiled from the same source file as
the renamed functions, and add some #error directives to force the
issue with weak symbols for renamed functions when we support weak
symbols in the C library.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 22 06:37:48 1997 UTC (16 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, 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, netbsd-1-6, 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, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, nathanw_sa_end, nathanw_sa_before_merge, nathanw_sa_base, nathanw_sa, minoura-xpg4dl-base, minoura-xpg4dl, fvdl_fs64_base, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.21: +5 -1009 lines
Diff to previous 1.21 (colored)

Allow the old-name functions to be compiled from the same source file as
the renamed functions, and add some #error directives to force the
issue with weak symbols for renamed functions when we support weak
symbols in the C library.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 22 00:55:17 1997 UTC (16 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.20: +3 -13 lines
Diff to previous 1.20 (colored)

New hacks to make libc work painlessly without bumping the major number:
use type func(arg1s) asm("emitted_name") gcc mechanism.
Suggested by Bill Sommerfeld.

Revision 1.20.2.1, Tue Oct 21 00:56:51 1997 UTC (16 years, 6 months ago) by thorpej
Branch: netbsd-1-3
Changes since 1.20: +0 -1024 lines
FILE REMOVED

file fts.c was added on branch netbsd-1-3 on 1997-10-22 06:41:30 +0000

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 21 00:56:51 1997 UTC (16 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-3-base
Branch point for: netbsd-1-3
Changes since 1.19: +18 -6 lines
Diff to previous 1.19 (colored)

Hacks to enable libc to work without bumping the major.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 9 22:59:18 1997 UTC (16 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.18: +13 -30 lines
Diff to previous 1.18 (colored)

Revert all slash removing changes; it is not worth it...
The latest one broke "ls foo.c/". Sync with Lite-2.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 8 19:56:59 1997 UTC (16 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.17: +17 -5 lines
Diff to previous 1.17 (colored)

Restore the NAPPEND macro, as it existed until revision 1.13, that deals
with roots consisting of a single slash. This special case of special
cases cannot be dealt with in fts_open() by simply chopping of a
trailing slash.

All this to avoid the occasional doubling of slashes. Oh well..

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 7 23:02:17 1997 UTC (16 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.16: +5 -4 lines
Diff to previous 1.16 (colored)

In fts_alloc() copy the trailing 0 character explicitly, instead of
relying on the passed input string having a 0 character at the right spot.
Takes care of PR#4234.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 27 22:53:07 1997 UTC (16 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.15: +12 -12 lines
Diff to previous 1.15 (colored)

The change in revision 1.13 to avoid doubling slashes in path names
messes up the internal administrations of the fts engine.

Do this differently by simply stripping one trailing slash (if any)
from root paths passed to fts_open().

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 21 14:07:01 1997 UTC (16 years, 9 months ago) by jtc
Branch: MAIN
Changes since 1.14: +11 -2 lines
Diff to previous 1.14 (colored)

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jul 13 18:59:02 1997 UTC (16 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.13: +15 -14 lines
Diff to previous 1.13 (colored)

Fix RCSID's
Add missing prototypes.
Fix rest of gcc warnings.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 10 22:12:08 1997 UTC (16 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

Fix it so fts_* never adds a / to a path name when there is
already a trailing /.  Fixes PR 1495.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Mon Sep 16 23:44:12 1996 UTC (17 years, 7 months ago) by jtc
Branch: ivory_soap2
Changes since 1.12.4.1: +10 -2 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

snapshot namespace cleanup: rpc & xdr

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Mon Sep 16 18:40:20 1996 UTC (17 years, 7 months ago) by jtc
Branch: ivory_soap2
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

snapshot namespace cleanup

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue May 2 19:34:44 1995 UTC (18 years, 11 months ago) by jtc
Branch: ivory_soap
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

#include "namespace.h"

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 27 03:43:30 1995 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: nsswitch, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Branch point for: ivory_soap2
Changes since 1.11: +7 -2 lines
Diff to previous 1.11 (colored)

merge with Lite, keeping local changes.  Also use new Id format.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sat Feb 25 09:11:36 1995 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-1
Changes since 1.1.1.1: +433 -249 lines
Diff to previous 1.1.1.1 (colored)

from lite, with minor name rearrangement to fit.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Dec 28 03:15:09 1994 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
Branch point for: ivory_soap
Changes since 1.10: +30 -5 lines
Diff to previous 1.10 (colored)

Mostly sync with CSRG.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 26 20:25:50 1994 UTC (19 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +14 -10 lines
Diff to previous 1.9 (colored)

Avoid extra stat()s if a link count of 1 is returned for directories but the
d_type field is filled in.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 17 02:21:02 1994 UTC (20 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.8: +24 -28 lines
Diff to previous 1.8 (colored)

POSIXification and bostic's official fix for the missing relative path problem

Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 12 04:41:17 1994 UTC (20 years ago) by cgd
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

re-POSIXIFICATION.  should have been punted back to bostic...

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 12 04:35:04 1994 UTC (20 years ago) by cgd
Branch: MAIN
Changes since 1.6: +14 -5 lines
Diff to previous 1.6 (colored)

oops, restore bug fix that wasn't fed back to bostic...

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 12 03:21:39 1994 UTC (20 years ago) by cgd
Branch: MAIN
Changes since 1.5: +9 -17 lines
Diff to previous 1.5 (colored)

minor fixes

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 14 01:53:57 1994 UTC (20 years, 3 months ago) by jtc
Branch: MAIN
Changes since 1.4: +14 -5 lines
Diff to previous 1.4 (colored)

Fix obscure bug where the working directory would not be restored to its
proper place (occurs if one of fts_open()'s arguments is a relative path
to a empty directory).

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 24 19:43:53 1993 UTC (20 years, 5 months ago) by jtc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Change C library functions to use strchr() and strrchr() instead of index()
and rindex().  This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 26 00:44:33 1993 UTC (20 years, 8 months ago) by jtc
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Declare rcsid strings so they are stored in text segment.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 30 07:57:49 1993 UTC (20 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +417 -238 lines
Diff to previous 1.1 (colored)

Latest versions from uunet.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (21 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (21 years, 1 month ago) by cgd
Branch: MAIN

Initial revision

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>