freebsd-nq/bin/ls
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
..
cmp.c Consistently use __FBSDID 2002-06-30 05:13:54 +00:00
extern.h Add missing options required by SUSv3: 2002-05-19 02:51:36 +00:00
lomac.c err() is documented as allowing NULL for the format string but GCC isn't 2002-07-10 20:44:55 +00:00
lomac.h NAI DBA update. 2002-03-14 21:51:00 +00:00
ls.1 s/filesystem/file system/ as discussed on -developers 2002-08-21 17:32:44 +00:00
ls.c Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct 2002-09-21 01:28:41 +00:00
ls.h Add missing options required by SUSv3: 2002-05-19 02:51:36 +00:00
Makefile Correct inadvertent style botches in previous commit. 2002-02-04 03:06:51 +00:00
print.c Fix a warning of "possibly used before initialisation". 2002-08-29 14:29:09 +00:00
util.c Consistently use __FBSDID 2002-06-30 05:13:54 +00:00