simonb
31ca042232
Revert parsedate(3) XXX as per discussion with kre@.
2021-04-03 04:33:08 +00:00
simonb
58fb9c9aea
Add an XXX reminder to convert at(1) to use parsedate(3) in <util.h>.
2021-04-02 06:31:53 +00:00
kre
63ba0d5a97
PR bin/53986 from Christian Weisgerber
...
Skip forward to tomorrow to run a command earlier in the current
hour than now (as well as during an earlier hour of the day).
2019-02-16 17:56:57 +00:00
htodd
0fc0030f2f
Fix typo in error message.
2018-02-25 23:48:16 +00:00
abhinav
cac7393582
Oops, it should be Aq Mt email@address
...
(Thanks again wiz :-)
2016-11-18 12:16:48 +00:00
abhinav
739865b984
Use .An -nosplit
...
Also, use Mt for email addresses.
(Thanks wiz)
2016-11-18 10:11:34 +00:00
abhinav
5644a41214
Use more markup and complete a sentence.
2016-11-18 09:06:35 +00:00
dholland
18a2ad4d42
Mark the shared files with where they're used, like we do in pkgsrc.
2016-03-13 00:33:12 +00:00
dholland
d9047ae69b
Use functions instead of preprocessor abuse.
2016-03-13 00:32:09 +00:00
dholland
a4df8c35e0
a couple minor fixes
2016-03-12 22:37:32 +00:00
joerg
7e47a1209f
Use __dead
2011-08-29 14:24:03 +00:00
christos
856f19c27d
Provide a consistent date/time format instead of a
...
locale-specific one that might have 2 digit years
2011-08-14 13:41:17 +00:00
wiz
ebdacac575
Punctuation nit, sendmail(8) -> (1).
2011-04-28 13:54:13 +00:00
christos
b88895de6f
PR/44147: Henning Petersen: Add missing closedir calls.
2010-11-24 17:40:41 +00:00
lukem
c1ceae17f0
Enable WARNS=4 by default for usr.bin, except for:
...
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
2009-04-14 22:15:16 +00:00
joerg
f385dfc57f
Don't escape %, but do escape DD and SS macros. OK wiz@
2009-03-09 14:26:44 +00:00
lukem
0449f26fed
fix -Wsign-compare issues
2009-01-18 01:02:41 +00:00
lukem
aadf5fe187
Fix -Wsign-compare issues:
...
* Provide our own TOKEOF enum, rather than using stdio's EOF (which is signed)
* Use tokid_t instead of int where appropriate
2009-01-18 01:02:31 +00:00
lukem
98e5374ccb
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos
5f256bd3f7
Style cleanups from Anon Ymous
2008-04-05 16:26:57 +00:00
christos
45be95b786
add month names, from FreeBSD via anon ymous
2008-03-11 01:10:12 +00:00
christos
775ae7cec2
- add months + years in the language
...
- fix daylight savings bogus code
From FreeBSD via Anon Ymous
2008-03-11 01:04:18 +00:00
lukem
db822d2217
Convert to using raise_default_signal(3).
2007-10-05 07:22:23 +00:00
lukem
2c1030d08e
Attempt to raise the default signal handler (SIG_DFL) when exiting because
...
of a signal, rather than just relying upon exit(3).
2007-07-18 01:13:42 +00:00
lukem
a93b9bed51
Remove duplicate printing of program name in panic().
...
Remove now-unnecessary global variable "namep".
2007-07-18 01:06:08 +00:00
tls
4147a3c54a
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
...
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
mlelstv
0e442136ae
allow time to be specified as 'now' instead of 'now + 0 minutes'
...
and avoid a rounding error for this case.
2007-03-12 21:28:48 +00:00
phil
4617d0a2bf
Kill NULL deref (CID: 871)
...
Plug fd leak (not caught by coverity).
2006-03-21 21:59:56 +00:00
garbled
0f9fab16a0
Fix a spello, and change the intent of the message slightly.
2006-01-03 00:15:45 +00:00
garbled
a25ab7d823
Change "garbled time" panic to a message that gives the user a better
...
idea of what happened. Addresses PR bin/12463
2006-01-02 20:18:59 +00:00
tsutsui
6413f86a09
Fix more FALLTHOUGH -> FALLTHROUGH typo.
2005-11-26 13:57:27 +00:00
xtraeme
971b39df9c
Kill __P(), use ANSI function declarations.
2005-02-17 16:53:45 +00:00
dsl
ee9ce6e95c
Add (unsigned char) cast to ctype functions
...
Make 'queue' and 'atqueue' unsigned char.
2004-10-30 16:55:06 +00:00
wiz
625282a3e9
Sync usage with man page. Closes PR 26191 by Kouichirou Hiratsuka.
2004-07-09 11:33:13 +00:00
wiz
ee573c8cac
Sort options, bump date.
2004-07-09 11:29:15 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
wiz
1dbb52e92c
Fix typos, from Jared Yanovich. Forwarded by jmc@openbsd.
2003-10-21 09:03:25 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
salo
0f5a0c156d
netbsd.org->NetBSD.org
2003-07-26 20:34:11 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
perry
1f4ad37fe3
"Utilize" has exactly the same meaning as "use," but it is more
...
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-05 00:02:24 +00:00
itojun
8fcb6ec6c6
use strlcpy to ensure string termination
2002-11-16 04:31:15 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
christos
f016a80baf
don't include utmp.h
2002-08-01 22:39:14 +00:00
wiz
4b20971f01
Spell acquire with a 'c'.
2002-07-10 23:16:32 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
wiz
862fdf44d8
Sort SEE ALSO, drop some whitespace, and sort sections.
2001-10-17 22:09:55 +00:00
lukem
279552d3db
fix up various .Nm abuses:
...
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
bjh21
8a158ab667
Fix the date stamp
2000-10-15 15:44:03 +00:00
bjh21
e6ab0a31d4
Be optimistic about POSIX
2000-10-15 15:41:53 +00:00