Age | Commit message (Collapse) | Author |
|
ok schwarze@
|
|
|
|
Previously behaviors were all over the map. This changes them to
use COLUMNS first, and either terminal width or a hardcoded value
(typically 80) as appropriate.
ok deraadt@; man bits ok jmc@
|
|
ok jmc@ schwarze@
|
|
When neither running on a terminal nor with -q, names must be passed
through as they are, nothing must be replaced with question marks.
Effectively, -q was always in effect. SMALL was not affected.
Triggered by a different patch from Martijn van Duren <openbsd plus tech
at list dot imperialat dot at>, who confirmed that this version is better.
Identified as a regression by tedu@.
OK sthen@.
|
|
non-printable Unicode codepoints and invalid bytes with ASCII
question marks. No change for the SMALL version.
Using ideas developed by tedu@, phessler@, bentley@ and feedback from many.
OK yasuoka@ czarkoff@ sthen@.
|
|
|
|
the 4.4bsd libc caching varients called user_from_uid/group_from_uid,
which are backed by getpw*/getgr* type functions.
ok semarie
|
|
Not bugs in short-lived commands that call exit() -> _exit() immediately,
but for idempotency.
Originally found in ls(1) by Valgrind. Changes for other commands are
from deraadt@. Reviewed by me, tested in snapshots.
OK deraadt@
|
|
ok jmc@
|
|
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
|
|
What's worse, the tzfile.h that gets installed is over 20 years old
and doesn't match the real tzfile.h in libc/time. This makes the
tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE
define has been moved to time.h temporarily until its usage is
replaced by 1900 in the tree. Actual removal of tzfile.h is pending
a ports build. Based on a diff from deraadt@
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
|
|
|
|
forgot to restore it when the -f flag was put back on 2nd of September 1989,
after being removed on 16th of August as a consequence of issues getting it
working over NFS, so deviation from traditional UNIX behavior in all BSDs
looks like an historical accident; as a side effect, this change accommodates
behavior of this option to IEEE Std 1003.1-2008 (``POSIX.1'').
joint work with jmc@ (who found the inaccuracy in our implementation),
schwarze@ (who provided a detailed tracking of historical facts) and millert@
ok millert@, schwarze@
|
|
thanks thomas klausner for noticing
|
|
only to the "if more than one operand is given" scenario; replace it
with a full stop and start a new paragraph;
ok millert
|
|
|
|
like files more than six months old. Use strftime() directly instead
of breaking down the ctime() output on character positions.
ok millert@
|
|
ok guenther step
|
|
display of directory block totals >2^32
ok tedu@
|
|
|
|
|
|
ok deraadt@
|
|
help/ok guenther millert
|
|
|
|
|
|
feedback and ok millert@, sobrado@, jmc@
|
|
|
|
|
|
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
- sort the flags list while here
ok martynas tedu
|
|
ok jmc@
|
|
|
|
from FreeBSD
ok millert@, posix checked by jmc@
|
|
|
|
updates to follow;
|
|
information is already provided further down the page;
ok sobrado
|
|
with the right mdoc macros.
|
|
or not; ok millert@ pedro@
|
|
millert@ thib@
|
|
an empty dir non-recursively. By not setting FTS_SKIP on the empty
subdir, a next iteration of the fts_read loop recurses into the
subdir, which might not be empty any more. Report by jacekm@,
troublespot identified by pedro@; ok pedro@ millert@
|
|
- list -f in the -cStu "exclusive group" (we already document that -f
overrides these options)
- note that our implementation of -f differs from posix
- -k and -u do not override each other: those options are not used together
ok sobrado
|
|
behaviour now similar to netbsd/freebsd/solaris.
- make -gn and -ng combinations behave identically: long listing, numeric
group ID, no user ID. currently -g overrides -n. behaviour now similar to
netbsd/solaris.
- allow -m and -x to override -1Cgln (and each other) if specified last.
currently -m and -x can be overriden even if they are specified last.
behaviour now similar to netbsd/freebsd. fixes PR 5785 from
Jacek Masiulaniec.
- update man page to reflect reality.
ls.c diff based on Jacek Masiulaniec's diff from PR 5785, and extended by
sobrado. this work is really a joint effort from sobrado and myself.
i don't know about igor, but this particular diff has nearly killed me...
ok millert otto
|
|
|
|
suggested by millert
|
|
- note which options are extensions to POSIX
discussed w/ deraadt otto millert
|
|
|
|
-l flag to override -g regardless of its position on the command line
for backwards compat with 4.3BSD. From NetBSD.
OK jmc@, tom@, sobrado@
|