| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
|
|
|
|
|
|
| |
form valid UTF-8: treat them as "not a whitespace character" and
hence "not a word boundary" in the same way as non-printable
characters and NUL bytes.
OK millert@
|
|
|
|
|
|
| |
do not embark on an infinite loop
when -m is given and the file contains a NUL character;
OK millert@
|
|
|
|
|
|
|
|
| |
with that of the '-l' case.
From David Hines on bugs@.
ok millert@
|
|
|
|
|
|
|
| |
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
|
|
|
|
|
|
| |
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Changed 'format_and_print' argument type to int64_t and casting
inside the function
- Declaring 'print_counts', 'format_and_print', and 'cnt' as static
- Remove unnecessary cast for NULL, and (void) casts from printfs,
'mbtowc' and 'format_and_print' calls
- In 'cnt', change bufsz type from ssize_t to size_t to avoid
converting between pointers to integer types with different sign
when calling getline (catched when compiling with Clang)
- Use return instead of exit in main
OK jung@
|
|
|
|
|
|
|
|
|
| |
and use iswspace(3) for word counting.
Requires using getline(3) rather than read(2)
to make sure that characters aren't chopped to pieces.
Using feedback from millert@ on an earlier version.
Feedback and OK tedu@.
|
| |
|
|
|
|
| |
tame "stdio rpath" works, right before calling getopt()
|
|
|
|
|
|
|
| |
manual claims that -m would count characters, while our version of the
command actually doesn't, lacking POSIX multibyte support. Since
nobody stood up to fix the code, sync the docs with reality for now.
OK jmc@
|
|
|
|
|
| |
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Suggested by schwarze@
|
|
|
|
|
|
| |
not used in any cases.
ok deraadt@, guenther@, millert@
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
ok jmc@
|
|
|
|
| |
updates to follow;
|
|
|
|
| |
ok jmc@
|
|
|
|
| |
from Bernd Ahlers with a twist from me; ok millert@
|
| |
|
|
|
|
| |
- note which options are extensions to POSIX
|
|
|
|
|
|
|
| |
okay otto@, deraadt@, jmc@.
(note that is mostly useless from scripts, hence okay as a non-standard
option).
|
| |
|
|
|
|
|
|
| |
(well, there probably are exceptions) and it's kind of obvious;
ok millert@
|
|
|
|
|
|
|
|
|
| |
(syncs description w/ posix)
- remove unnecessary .Fl
- note that the default listing may show character, rather than
byte, count
started by PR from Juan Vera (#3738)
|
|
|
|
|
|
|
|
|
| |
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line
ssh pages ok markus@
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
| |
|
| |
|
|
|
|
| |
millert@ ok
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
o Add support for large files by using quads as counters
|
| |
|
| |
|
| |
|
|
|