Age | Commit message (Collapse) | Author |
|
timegm() is like mktime() in that it converts a struct tm to
a timestamp, but it treats the struct tm as UTC instead of as
local time.
timegm() is nonstandard, but availabe in both Linux and BSD,
and it's a useful function to have.
|
|
Gets rid of one dropbear patch. :^)
|
|
|
|
|
|
Also fix a bug in mktime() caused by forgetting to check if the present year
is a leap year.
|
|
Let's not have that 2038 problem people are talking about. :^)
|
|
As suggested by Joshua, this commit adds the 2-clause BSD license as a
comment block to the top of every source file.
For the first pass, I've just added myself for simplicity. I encourage
everyone to add themselves as copyright holders of any file they've
added or modified in some significant way. If I've added myself in
error somewhere, feel free to replace it with the appropriate copyright
holder instead.
Going forward, all new source files should include a license header.
|
|
|
|
Only the CLOCK_MONOTONIC clock is supported at the moment, and it only
has millisecond precision. :^)
|
|
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
|