Leah Neukirchen
5f45b7d533
use appropriate integer types
...
Mainly found with clang -Wconversion -Wshorten-64-to-32.
7 years ago
Leah Neukirchen
66d0eff12f
style
7 years ago
Leah Neukirchen
6f99ef55a8
mgenmid: printb36: fix off-by-one
...
Closes #73 .
7 years ago
leovilok
1f097f28e0
mgenmid: fix fallback random generation on 32bit
...
lrand48 returns a long int, which is 32bits wide on 32bits systems
Closes : #28 [via git-merge-pr]
8 years ago
Leah Neukirchen
6b9f742d7d
mgenmid: use gettimeofday instead of clock_gettime
...
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.
8 years ago
Leah Neukirchen
2b4e3aa66d
clean up whitespace
8 years ago
Ivy Foster
ca8cef1660
Add $MBLAZE environment variable to set profile location
...
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.
8 years ago
Christian Neukirchen
41474c2e68
rename .santoku to .mblaze
8 years ago
Christian Neukirchen
78fec302cb
add mgenmid
8 years ago