On Mon, 22 Mar 1999, Rob Clark wrote:
>
> Regarding the problem I have been reporting with /dev/fd0:
> I observe the same problem with 0.98.5.5 in the stable branch.
Yes, there has been a little glitch slipping through, the below
patch (should fit into 0.99.10 as well) fixes it:
--- dosemu-0.98.6/src/base/misc/utilities.c~ Sat Mar 20 23:52:30 1999
+++ dosemu-0.98.6/src/base/misc/utilities.c Tue Mar 23 10:31:29 1999
@@ -509,7 +509,7 @@
static struct itimerval itv_old_;
static struct itimerval *itv_old = &itv_old_;
static struct itimerval itv;
- if (on) setitimer(TIMER_TIME, itv_old, NULL);
+ if (on) setitimer(TIMER_TIME, &itv_old_, NULL);
else {
itv.it_interval.tv_sec = itv.it_interval.tv_usec = 0;
itv.it_value = itv.it_interval;
Thanks,
Hans
<[EMAIL PROTECTED]>