summaryrefslogtreecommitdiff
path: root/bin/date/netdate.c
AgeCommit message (Expand)Author
2011-01-29revert the revert and fix the code properly.christos
2011-01-28roll back to 20101210 -- the current version just hung if one trieddrochner
2010-12-11- check return of strtollchristos
2008-02-24Use strtoll rather than strtol to read the -r argument, so it will workdholland
2007-02-04 * Prevent out-of-bounds read tsptype if a packet withcbiere
2006-06-14Adapt date(1), the netsettime function, to new return value from socket(2)ginsbach
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-12strlcpyitojun
2002-09-21select() -> poll()mycroft
2001-11-03fix WARNS=2lukem
2001-09-13ANSIfication and KNF fixes by Petri Koistinen in bin/13691.wiz
2001-07-08Use socklen_t; for compilers with strict type checking.gmcgarry
1998-12-19Fixed off-by-one error where HOSTNAME+1 characters was copied intokristerw
1998-11-04#ifdef BSD4_4 for sin_lenchristos
1998-07-28Delint.mycroft
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
1998-01-20Allow a century to be specified.mycroft
1998-01-10use IP_PORTRANGE_LOW sockopt rather than home-grown codelukem
1997-11-05lintcgd
1997-07-20__RCSID()/__COPYRIGHT()/prototype police.thorpej
1995-09-07Sync with 4.4lite2jtc
1995-06-03Fill in sin_len.mycroft
1995-03-21convert to new RCS id conventions.cgd
1994-09-22Merge 4.4-Lite version.mycroft
1994-02-03typo fixderaadt
1993-12-05should bzero automatic sockaddr's before usederaadt
1993-08-01Add RCS identifiers.mycroft
1993-03-23changed "Id" to "Header" for rcsidscgd
1993-03-22added rcs ids to all filescgd
1993-03-21initial import of 386bsd-0.1 sourcescgd