10207 Commits

Author SHA1 Message Date
imp
8d68c85340 Add helpful clarification text. While not strictly necessary, these
few words make this man page much easier to understand without
re-reading prior parts of the man page.
2011-11-16 22:02:59 +00:00
eadler
8710aaed7e - add a missing "be" and "in"
- fix other errors introduced when committing r226436
- add 'function' to a sentence where it makes sense

Submitted by:	delphij
Submitted by:	dougb
Submitted by:	jhb
Approved by:	dougb
Approved by:	jhb
2011-11-11 22:27:09 +00:00
grog
f6a5c05b52 Tidy up command line processing:
- Add ? option to optstring.
  - Sort options alphabetically.
  - Vertical space.

Tidy up usage() function.

Bring man page in sync with source.

Ensure that debug code is only executed with the -d option.

Submitted by: Christiane Yeardley
2011-11-09 01:40:46 +00:00
trociny
7fa9ae3795 Bumb date after r227317.
Reminded by:	pluknet
2011-11-08 19:14:15 +00:00
ed
c2950f3c9c Simplify getopt switch parsing.
Only one of these flags can be set. Just add them together and check the
value. Also, get rid of the listall variable. The code is already filled
with direct *flag-comparisons.

Obtained from:	Alexander Best (though modified)
2011-11-08 11:36:46 +00:00
trociny
422432aa2b When displaying process virtual memory mappings print superpage
mapping flag.

Submitted by:	Mel Flynn <mel.flynn+fbsd.hackers@mailing.thruhere.net>
Reviewed by:	alc, rwatson
2011-11-07 21:16:19 +00:00
ed
142b194b5f Remove unneeded CFLAGS.
Such optimisations should not be performed in this Makefile. Also, uqs@
suggested they have no effect, because the checksum of the resulting
binary is unchanged.

Discussed with:	gabor, uqs
2011-11-07 09:42:22 +00:00
ed
b57deea6eb Partially revert r227233.
The privs.h header is not only used by at(1), it's also used by
atrun(8). Just let the code the way it used to be (for now).

Reported by:	kwm, tinderbox
Hat to:		me
2011-11-06 20:30:21 +00:00
ed
50646b91e6 Mark global functions and/or variables in xstr(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:39 +00:00
ed
dc00e03576 Mark global functions and/or variables in whois(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:33 +00:00
ed
04b0cc9b2b Mark global functions and/or variables in which(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:26 +00:00
ed
90167b1812 Mark global functions and/or variables in whereis(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:19 +00:00
ed
8ea5e6afe9 Mark global functions and/or variables in unifdef(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:00 +00:00
ed
5675f1d7a7 Mark global functions and/or variables in paste(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:53 +00:00
ed
bfc6ddd863 Mark global functions and/or variables in m4(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:48 +00:00
ed
fb0088d7d0 Mark global functions and/or variables in lam(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:41 +00:00
ed
b9deaeaf51 Mark global functions and/or variables in fstat(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:36 +00:00
ed
b4971e80fe Mark global functions and/or variables in expand(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:30 +00:00
ed
b333c88308 Mark global functions and/or variables in enigma(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:23 +00:00
ed
a7c3f252fc Mark global functions and/or variables in compress(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:16 +00:00
ed
ba068938d1 Mark global functions and/or variables in comm(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:10 +00:00
ed
3894f3031c Mark global functions and/or variables in checknr(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:49:03 +00:00
ed
a2c6b647f1 Add missing static keywords to at(1).
While there, tidy up the privs.h part, where at.c has to #define to
declare some globals. Also group static and non-static global variables
in at.c.
2011-11-06 17:32:29 +00:00
ed
a3202a01ad Mark the structure fields as const.
This allows us to simply place these strings as constants in the table
itself, letting the compiler decide to simply merge duplicate strings.
2011-11-06 17:20:44 +00:00
ed
b8b9c31dd0 Correct the change made in r227166.
This function is only compiled in when building WITH_AUDIT.
2011-11-06 09:09:45 +00:00
ed
89e56ab1b3 Add missing static keywords to xinstall(1) 2011-11-06 08:19:07 +00:00
ed
bc3df37206 Add missing static keywords to wc(1) 2011-11-06 08:19:00 +00:00
ed
6ad23491ec Add missing static keywords to wall(1) 2011-11-06 08:18:55 +00:00
ed
40d992c2db Add missing static keywords to w(1) 2011-11-06 08:18:47 +00:00
ed
66190ef17d Add missing static keywords to vis(1) 2011-11-06 08:18:42 +00:00
ed
c186741140 Add missing static keywords to uuencode(1) 2011-11-06 08:18:35 +00:00
ed
25b4fbd02b Add missing static keywords to usbhidctl(1) 2011-11-06 08:18:30 +00:00
ed
8eae2b0d9c Add missing static keywords to usbhidaction(1) 2011-11-06 08:18:23 +00:00
ed
7db87786d7 Add missing static keywords to units(1) 2011-11-06 08:18:17 +00:00
ed
7842959704 Add missing static keywords to uniq(1) 2011-11-06 08:18:11 +00:00
ed
9cc47b87a7 Add missing static keywords to unexpand(1) 2011-11-06 08:18:05 +00:00
ed
d77d58cdda Add missing static keywords to uname(1) 2011-11-06 08:17:59 +00:00
ed
75f6535a23 Add missing static keywords to ul(1) 2011-11-06 08:17:53 +00:00
ed
0aac214b40 Add missing static keywords to tsort(1) 2011-11-06 08:17:47 +00:00
ed
9e267acf2e Add missing static keywords to tr(1) 2011-11-06 08:17:42 +00:00
ed
d1b8bc9380 Add missing static keywords to tee(1) 2011-11-06 08:17:35 +00:00
ed
e878bace95 Add missing static keywords to tcopy(1) 2011-11-06 08:17:29 +00:00
ed
f110f8c649 Add missing static keywords to talk(1) 2011-11-06 08:17:23 +00:00
ed
ae674f5b37 Add missing static keywords to tail(1) 2011-11-06 08:17:17 +00:00
ed
0d6f43e2bd Add missing static keywords to split(1) 2011-11-06 08:17:11 +00:00
ed
5d85b35609 Add missing static keywords to seq(1) 2011-11-06 08:17:05 +00:00
ed
d2e48ceef2 Add missing static keywords to rwho(1) 2011-11-06 08:16:59 +00:00
ed
154b755827 Add missing static keywords to rwall(1) 2011-11-06 08:16:53 +00:00
ed
75aea7ad85 Add missing static keywords to rusers(1) 2011-11-06 08:16:47 +00:00
ed
04ff92c413 Add missing static keywords to ruptime(1) 2011-11-06 08:16:41 +00:00