Baptiste Daroussin
bd0891ceb3
use .Mt to mark up email addresses consistently (part1)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:40:43 +00:00
Andriy Gapon
a29cc9a34b
Revert r253748,253749
...
This WIP should not have been committed yet.
Pointyhat to: avg
2013-07-28 18:44:17 +00:00
Andriy Gapon
c722ec3a51
remove needless inclusion of machine/cpu.h in userland
...
MFC after: 21 days
2013-07-28 18:35:43 +00:00
Ed Schouten
902d9eafbf
Rework all non-contributed files that use `struct timezone'.
...
This structure is not part of POSIX. According to POSIX, gettimeofday()
has the following prototype:
int gettimeofday(struct timeval *restrict tp, void *restrict tzp);
Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is
not used). Remove dead error handling code. Also use NULL for a
nul-pointer instead of integer 0.
While there, change all pieces of code that only use tv_sec to use
time(3), as this provides less overhead.
2012-09-01 14:45:15 +00:00
Eitan Adler
84bb842bb4
Fix a variety of grammar and style nits
...
PR: docs/165841
Submitted by: Robert Simmons <rsimmons0@gmail.com>
Approved by: brd
MFC after: 1 week
2012-03-09 01:32:05 +00:00
Ed Schouten
f6d189a9e4
Raise WARNS for various tools where possible.
...
Submitted by: Marius Nünnerich <marius@nuenneri.ch>
2010-01-17 21:56:27 +00:00
Ruslan Ermilov
106d839190
Switch the default WARNS level for sbin/ to 6.
...
Submitted by: Ulrich Spörlein
2009-10-19 16:00:24 +00:00
Ruslan Ermilov
cc17b04460
If not compiled for debugging, redirect standard input/output/error
...
to /dev/null before becoming a daemon.
2006-10-23 10:48:19 +00:00
Pawel Jakub Dawidek
564084e489
Correct various mistakes in the last commit.
2006-05-13 11:58:58 +00:00
Poul-Henning Kamp
bec1fa8607
Use sysctlbyname
2006-05-11 17:25:36 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
6087df9e8b
Sort sections.
2005-01-18 10:09:38 +00:00
Guy Helmer
d5ac36eda7
Invoke tzset(3) within the main loop to catch changes to /etc/localtime
...
when running as a daemon in the hope that it will fix situations
where the CMOS clock was apparently set using the stale TZ offset.
2004-04-27 14:43:03 +00:00
David E. O'Brien
c69284ca08
Use __FBSDID() to quiet GCC 3.3 warnings.
2003-05-03 18:41:59 +00:00
Tom Rhodes
ce66ddb763
s/filesystem/file system/g as discussed on -developers
2002-08-21 18:11:48 +00:00
Philippe Charnier
e1205e80e5
The .Nm utility
2002-07-06 19:34:18 +00:00
Tom Rhodes
3468b317cb
more file system > filesystem
2002-05-16 04:10:46 +00:00
Warner Losh
bbbc97356c
o Use real prototypes
...
o Remove __P.
o main(int, char *[])
2002-03-18 04:55:09 +00:00
David E. O'Brien
2d68bf45bf
Default to WARNS=2.
...
Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
2001-12-04 02:19:58 +00:00
Dima Dorfman
086ad217b2
Fix a prototype and set WARNS=2.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-07-15 05:41:57 +00:00
Ruslan Ermilov
9fe48c6e8d
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 11:04:34 +00:00
Ruslan Ermilov
4ccd754686
- VFS_SET(msdos) -> VFS_SET(msdosfs)
...
- msdos.ko -> msdosfs.ko
- mount_msdos(8) -> mount_msdosfs(8)
- "msdos" -> "msdosfs" compatibility glue in mount(8)
2001-06-01 10:57:26 +00:00
Ruslan Ermilov
0a5779d45b
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5
Set the default manual section for sbin/ to 8.
2001-03-20 18:13:31 +00:00
Ruslan Ermilov
c2d03ea879
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
2001-02-28 17:38:53 +00:00
Ruslan Ermilov
1252c1bb05
Prepare for mdoc(7)NG.
2000-12-18 15:16:24 +00:00
Ruslan Ermilov
7c7fb079b9
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 16:52:27 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Sheldon Hearn
ef8f7ac935
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Philippe Charnier
f9184dd719
Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include.
1998-06-04 06:35:12 +00:00
Andrey A. Chernov
84436e33cb
Implement Helbig idea of offset calculation reducing mktime() calls
...
Immediately exit if /etc/wall_cmos_clock not present
1998-04-11 21:18:55 +00:00
Andrey A. Chernov
20344e1582
Add workaround suggestion for 'nonexistent time' diagnostic
1998-03-30 09:29:47 +00:00
Philippe Charnier
68085a0ef1
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-19 07:46:04 +00:00
Andrey A. Chernov
57394688f8
Minimize clock drift between getting and setting time
...
Submitted by: bde
1998-02-25 09:40:21 +00:00
Philippe Charnier
4cabb4cdcc
Add Id, add usage function.
1997-06-10 11:01:13 +00:00
Warner Losh
8d64695c7c
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 03:33:12 +00:00
Peter Wemm
c0ec1f37ef
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Wolfram Schneider
af20215665
Sort cross references.
1997-01-13 00:25:51 +00:00
Andrey A. Chernov
f7b994d058
English corrections from jdp.
...
Add main purpose description (MSDOS timestamps)
1996-04-09 11:31:34 +00:00
Mike Pritchard
906c1e27fc
Correct some man page cross references and file location references.
1996-04-07 00:06:21 +00:00
Andrey A. Chernov
bf152145d2
More info and more corrections
1996-04-05 23:53:23 +00:00
Andrey A. Chernov
bacbb38233
Describe new adjkerntz variant + various changes from jdp
1996-04-05 23:37:08 +00:00
Andrey A. Chernov
88d807a676
Detect if /etc/wall_cmos_clock gone while adjkerntz paused.
1996-04-05 19:17:05 +00:00
Andrey A. Chernov
c6337b7b46
Dynamically sense /etc/wall_cmos_clock presence/absense
1996-04-05 16:25:38 +00:00
Andrey A. Chernov
9243a8f346
Fix error with multiply 'adjkerntz -a' copies running.
...
Manage adjkerntz kernel variable even for UTC clocks.
Code cleanup.
1996-04-05 03:40:55 +00:00
Rodney W. Grimes
5ebc7e6281
Remove trailing whitespace.
1995-05-30 06:12:45 +00:00
Andrey A. Chernov
73cab1a3bc
Use more AI to predict initial/final isdst,
...
latest isdst preffered.
1995-03-26 22:51:51 +00:00
Andrey A. Chernov
937b5aaa3b
Use timelocal() instead of mktime() hack
1994-12-26 10:43:48 +00:00