index
:
netbsd
lockcount-9.3
lockdoc-10.99.5
lockdoc-10.99.5-vfs
lockdoc-9.3
lockdoc-9.3-vfs
trunk
NetBSD fork for lockdoc analysis
merlin@scholz.ruhr
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
bin
/
date
/
date.c
Age
Commit message (
Expand
)
Author
2023-05-31
Add -R to usage
kim
2023-05-31
Add -R option for displaying time in RFC 5322 format, similar to GNU date.
kim
2022-10-22
Add -f option to set the time. From FreeBSD.
christos
2021-05-26
tool changes
christos
2014-09-01
Provide real error messages.
dholland
2011-08-27
Annotate dead functions
joerg
2011-01-29
revert the revert and fix the code properly.
christos
2011-01-28
roll back to 20101210 -- the current version just hung if one tried
drochner
2010-12-12
check return value of localtime.
christos
2010-12-11
- check return of strtoll
christos
2010-10-03
Simplify by using setenv() instead of putenv().
gson
2010-10-02
putenv() no longer accepts a const string
gson
2010-05-29
Don't blow up on date +''. Patch from Robert Elz in followup to PR 39392.
dholland
2008-07-20
Remove the \n and tabs from the __COPYRIGHT() strings.
lukem
2008-02-24
Use strtoll rather than strtol to read the -r argument, so it will work
dholland
2007-02-04
Use size_t not int for strlen().
cbiere
2006-11-20
getdate -> parsedate
christos
2006-11-17
getdate is in libutil.
christos
2006-11-15
Add -d option, similar to gnu date.
christos
2006-11-15
Add -j flag to not actually change the clock, just parse the date given
jdarrow
2006-10-07
PR/28450: David H. Gutteridge: date(1) does not validate its input and
elad
2006-08-17
don't include program name when calling err()
jnemeth
2006-07-23
PR/34055: Kevin Massey: Date uses a fixed 1K buffer for strftime
christos
2005-07-22
More minor cleanup:
peter
2005-07-22
Minor code cleanup:
hubertf
2005-06-26
sprinkle a little const, and now everything compiles with WARNS=3
christos
2005-05-15
Set (and report) the new time (not the old one).
dsl
2005-04-18
Add a '-a' option to set the time using adjtime(2) instead of settimeofday(2).
dsl
2003-08-07
Move UCB-licensed code from 4-clause to 3-clause licence.
agc
2003-08-04
As discusses a little while back on tech-userlevel:
jschauma
2001-09-16
Use setprogname. Patch by Petri Koistinen.
wiz
2001-09-13
ANSIfication and KNF fixes by Petri Koistinen in bin/13691.
wiz
2001-07-08
setthetime() is prototyped static; make it so.
gmcgarry
2000-10-23
Use strtol() to convert the -r parameter so we can use alternate bases
simonb
2000-10-08
When setting the date, ask mktime() to work out whether we're in DST or not.
bjh21
2000-04-14
Don't declare 'extern opt*' getopt variables.
simonb
2000-01-04
Make this slightly more portable by using putenv().
kleink
1998-11-04
cast to unsigned char for is*()
christos
1998-10-24
GMT -> UTC
mycroft
1998-10-14
For the case where mktime() fails exit with "illegal time" error rather than
wsanchez
1998-07-28
Be more retentive about use of NOTREACHED and noreturn.
mycroft
1998-07-28
Delint.
mycroft
1998-07-27
__AUDIT__ cleanup.
mycroft
1998-04-01
Need <time.h> for time(), strftime(), localtime() and mktime() prototypes.
kleink
1998-01-21
Slight code rearrangement.
mycroft
1998-01-20
Don't validate the mmddhhmm.ss values here. mktime(3) does it.
mycroft
1998-01-20
Make the documented parsing order for the date match reality.
mycroft
1998-01-20
Allow a century to be specified.
mycroft
1998-01-20
Use TM_YEAR_BASE to adjust tm_year, not 1900.
mycroft
1997-11-05
lint
cgd
[next]