NetBSD/bin/ls
lukem 0d74a5dc03 flags_to_strings() changes:
- fix bug where the 'clear' flag was set outside of main loop, so
  "dump,uchg,arch" on a file with flags would clear all the bits
  (because "dump" sets 'clear'). noted in FreeBSD PR 10071, and fix
  obtained from FreeBSD.

- enforce right-most priority on arguments by clearing the appropriate
  bit in the opposite set; if a string of "nouchg,uchg" is given,
  chflags(8) would clear uchg because it applies the "set" bits before
  clearing the "clear" bits.  now, "uchg" sets UF_IMMUTABLE in setp
  and also resets it in clrp, solving this problem

- constify second arg (the `default' arg)
2001-10-18 03:16:20 +00:00
..
Makefile
cmp.c convert to new KNF 2000-07-29 03:46:14 +00:00
extern.h convert to new KNF 2000-07-29 03:46:14 +00:00
ls.1 Xref getbsize(3). 2001-07-08 15:34:13 +00:00
ls.c convert to new KNF 2000-07-29 03:46:14 +00:00
ls.h
main.c convert to new KNF 2000-07-29 03:46:14 +00:00
print.c fix nested extern. 2001-02-04 19:32:26 +00:00
stat_flags.c flags_to_strings() changes: 2001-10-18 03:16:20 +00:00
stat_flags.h flags_to_strings() changes: 2001-10-18 03:16:20 +00:00
util.c convert to new KNF 2000-07-29 03:46:14 +00:00