Unbreak nightly build
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 31 Mar 2012 16:59:27 +0000 (18:59 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 31 Mar 2012 17:03:19 +0000 (19:03 +0200)
commit10768189e27822fbdc7d0a20071a1a07697c3a66
treed9fb3363e0787c3e9d44877e51d2b5af68ecd818
parented1cbc97e66405d9bf7639f56fe4f2f98a2961c0
Unbreak nightly build

The nightly build uses a gross hack to keep timestamps stable: it
replaces the system's time() by emp_time().  It doesn't replace other
time-related functions such as gettimeofday().  Works as long as we
don't mix hacked time with unhacked time.

The previous commit compares time gotten from gettimeofday() with time
gotten from time().  The nightly build's I/O timeouts become zero,
which makes login impossible.

Replace gettimeofday(), too.
src/scripts/nightly/nightlybuild.sh
src/scripts/nightly/patches/All/emptime.c.patch