1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/usr.sbin/mtree
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
..
compare.c Get rid of %qd, and unbreak Alpha build. 2002-07-15 12:17:31 +00:00
create.c Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct 2002-09-21 01:28:41 +00:00
excludes.c fixup for WARNS=4. 2002-07-11 18:42:53 +00:00
extern.h fixup for WARNS=4. 2002-07-11 18:42:53 +00:00
Makefile fixup for WARNS=4. 2002-07-11 18:42:53 +00:00
misc.c fixup for WARNS=4. 2002-07-11 18:42:53 +00:00
mtree.8 The .Nm utility 2002-07-14 14:47:15 +00:00
mtree.c fixup for WARNS=4. 2002-07-11 18:42:53 +00:00
mtree.h Added support for file flags, mostly merged from the NetBSD version. 1999-12-09 20:38:36 +00:00
spec.c de-__P() 2002-07-11 18:31:16 +00:00
verify.c fixup for WARNS=4. 2002-07-11 18:42:53 +00:00