diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-08 19:56:29 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-08 20:11:51 -0700 |
commit | 24a1b4c6b5fcb948e4fdee04e286c044d6d45f98 (patch) | |
tree | 1c83dfb542124f0fbaf76e3d1fb83e413c0f6cc1 /examples | |
parent | 94b18a11a5445019d4de010271020dfb190e16e7 (diff) | |
download | unicorn-24a1b4c6b5fcb948e4fdee04e286c044d6d45f98.tar.gz |
This removes the Time.now.to_i comparison that was used to avoid multiple, no-op fchmod() syscalls[1] within the same second. This should allow us to run on OpenBSD where it can raise EINVAL when Time.now.to_i is passed to it. Reported-by: Jeremy Evans <jeremyevans0@gmail.com> [1] - gettimeofday() from Time.now is not a real syscall on VDSO-enabled x86_64 GNU/Linux systems where Unicorn is primarily developed.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions