| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
We one-time-pad the timestamp with a random key instead.
This will provide enough entropy to be unique, but not leak the system date.
Even with a bad RNG state it should guarantee uniqueness, however.
|
|
|
|
| |
Mainly found with clang -Wconversion -Wshorten-64-to-32.
|
| |
|
|
|
|
| |
Closes #73.
|
|
|
|
|
|
| |
lrand48 returns a long int, which is 32bits wide on 32bits systems
Closes: #28 [via git-merge-pr]
|
|
|
|
|
|
|
|
|
|
| |
Fixes #17.
Nanosecond precision wasn't needed, and many legacy operating systems
don't support this POSIX.1-2001 function.
We now use plain microseconds for the timestamp, which uses the range of
the 64-bit number better as well. This will result in a Year 294247 problem.
|
| |
|
|
|
|
|
| |
As a side benefit, all callers of blaze822_home_file need only pass
the filename, so the base directory is set in only one place.
|
| |
|
|
|