freebsd-dev/usr.bin/find
Garrett Wollman 0d3bcc2e80 Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct
hack, thereby allowing future extensions to the structure (e.g., for extended
attributes) without rebreaking the ABI.  FTSENT now contains a pointer to the
parent stream, which fts_compar() can then take advantage of, avoiding the
undefined behavior previously warned about.  As a consequence of this change,
the prototype of the comparison function passed to fts_open() has changed
to reflect the required amount of constness for its use.  All callers in the
tree are updated to use the correct prototype.

Comparison functions can now make use of the new parent pointer to access
the new stream-specific private data pointer, which is intended to assist
creation of reentrant library routines which use fts(3) internally.

Not objected to in spirit by: -arch
2002-09-21 01:28:41 +00:00
..
extern.h There is breakage in parsedate, so revert to get_date until this can be 2002-04-02 10:45:34 +00:00
find.1 Do not repeat the name of the flag in its description 2002-08-27 19:14:08 +00:00
find.c Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct 2002-09-21 01:28:41 +00:00
find.h Support the SysV-style -exec utility args.. {} + function, required by 2002-06-02 12:57:41 +00:00
function.c - Introduce a new struct xvfsconf, the userland version of struct vfsconf. 2002-08-10 20:19:04 +00:00
getdate.y Fix to WARNS=2 level. 2002-04-15 19:27:41 +00:00
ls.c - Use MAXLOGNAME - 1 rather than UT_NAMESIZE. 2002-07-22 11:36:25 +00:00
main.c Fix SCM IDs. 2002-04-01 22:56:56 +00:00
Makefile Fix to WARNS=2 level. 2002-04-15 19:27:41 +00:00
misc.c Fix SCM IDs. 2002-04-01 22:56:56 +00:00
operator.c Replace err() with errx(), errno is garbage in this context. 2002-04-12 21:25:16 +00:00
option.c Add a unary -not operator ala -false and !, for sake of completeness. 2002-08-19 02:27:33 +00:00
parsedate.y Change a "/*" within a comment to a "**". 2002-03-30 13:54:53 +00:00