Commit Graph

73 Commits

Author SHA1 Message Date
wiz
14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
mycroft
826e316675 select() -> poll() 2002-09-21 18:15:57 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz
22f1ac50a6 Sort sections. 2001-12-20 20:04:19 +00:00
wiz
3ebcdc5e43 Whitespace nits. 2001-12-20 19:31:48 +00:00
lukem
cc76cf8530 fix WARNS=2 2001-11-03 13:08:16 +00:00
wiz
bb88f10d3d Use setprogname. Patch by Petri Koistinen. 2001-09-16 13:35:52 +00:00
wiz
a824cb6a27 ANSIfication and KNF fixes by Petri Koistinen in bin/13691. 2001-09-13 10:06:40 +00:00
gmcgarry
bad387a59a Use socklen_t; for compilers with strict type checking. 2001-07-08 05:26:03 +00:00
gmcgarry
91825c128d setthetime() is prototyped static; make it so. 2001-07-08 05:24:50 +00:00
lukem
17c6a1082e doc2hmtl is broken for recursive Oo ... Oc at this time 2001-07-03 21:50:13 +00:00
hubertf
bb6b8354d9 xref settimeofday(2) 2001-03-09 15:16:49 +00:00
hubertf
84a116117c Document /etc/localtime, per PR 8099 by Charles Hannum. 2000-12-18 07:57:02 +00:00
simonb
1f68c34537 Use strtol() to convert the -r parameter so we can use alternate bases
for that input.
2000-10-23 02:43:52 +00:00
bjh21
080f6953ea Formatting cleanup: more fonts, less punctuation. 2000-10-08 11:02:41 +00:00
bjh21
a17ce6ad1e When setting the date, ask mktime() to work out whether we're in DST or not.
Seems to fix PR bin/8750.
2000-10-08 10:30:44 +00:00
simonb
51ee9dc68d Don't declare 'extern opt*' getopt variables. 2000-04-14 05:52:56 +00:00
kleink
c5d7701cd4 Make this slightly more portable by using putenv(). 2000-01-04 14:15:09 +00:00
hubertf
6f51bb4732 make example cut&paste-ready 1999-12-29 04:11:30 +00:00
ross
6fe4eb2696 Work around a spurious warning. 1999-03-09 03:02:40 +00:00
kristerw
c6d1478acf Fixed off-by-one error where HOSTNAME+1 characters was copied into
tsp_name that has size HOSTNAME.
1998-12-19 22:44:19 +00:00
christos
ab0eebb3f6 cast to unsigned char for is*() 1998-11-04 12:51:00 +00:00
christos
6e381b4c96 #ifdef BSD4_4 for sin_len 1998-11-04 12:50:17 +00:00
mycroft
d32f290dae GMT -> UTC 1998-10-24 03:45:51 +00:00
wsanchez
1b845eea1b For the case where mktime() fails exit with "illegal time" error rather than
"illegal time format", which is misleading.
1998-10-14 00:49:44 +00:00
mycroft
ee9e50eacb Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
mycroft
9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft
ce7d757530 Delint. 1998-07-28 03:47:14 +00:00
mycroft
dbfa4f81b0 __AUDIT__ cleanup. 1998-07-27 16:43:25 +00:00
mrg
2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
lukem
a7881b9570 remove unnecessary comment 1998-06-08 09:07:13 +00:00
kleink
314d411687 Need <time.h> for time(), strftime(), localtime() and mktime() prototypes. 1998-04-01 13:54:44 +00:00
mycroft
65139bd9be Slight code rearrangement. 1998-01-21 00:07:44 +00:00
mycroft
76b3c10513 Don't validate the mmddhhmm.ss values here. mktime(3) does it. 1998-01-20 22:06:02 +00:00
mycroft
c7273dc993 Make the documented parsing order for the date match reality. 1998-01-20 21:47:43 +00:00
mycroft
0166097d26 Fix documentation of `-r'. 1998-01-20 21:34:53 +00:00
mycroft
f9a6471ec7 Allow a century to be specified.
Cut and paste some text from touch(1) about date parsing.
1998-01-20 21:16:38 +00:00
mycroft
eeec814a41 Use TM_YEAR_BASE to adjust tm_year, not 1900. 1998-01-20 20:53:32 +00:00
lukem
c3c0dec69f use IP_PORTRANGE_LOW sockopt rather than home-grown code 1998-01-10 00:27:34 +00:00
cgd
bad15fd37f lint 1997-11-05 21:17:14 +00:00
kleink
64c0cead8c s/UCT/UTC/ 1997-11-03 18:42:49 +00:00
enami
c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +00:00
christos
23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
thorpej
ed53b9b6c3 Build with WARNS 1997-07-20 05:18:14 +00:00
thorpej
a71a8b8761 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-20 05:17:33 +00:00
mikel
bd361a3aba fix broken timed(8) xrefs, noted by David Brownlee. 1997-05-11 08:34:37 +00:00
cgd
4274523efe pull in util.h rather than prototypeing logtwmp() locally. 1997-03-26 20:28:11 +00:00
perry
15d0dbe011 Add documentation of the fact that date does indeed understand years
after 2000 (years 00 through 68 are interpreted as meaning 2000-2068;
this should be updated sometime before 2068 :-)
1997-03-11 23:43:41 +00:00
perry
b195ec73d5 nuke the BUGS section -- it was vax specific 1997-01-25 00:17:00 +00:00
perry
61974fdce1 remove obsolete -d and -t options -- kernel timezone handling is long gone 1997-01-24 18:17:17 +00:00