[968] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

zephyr 2.1b1 Patch

daemon@ATHENA.MIT.EDU (Elliot Lee)
Thu Jul 8 01:46:14 1999

Date: Thu, 8 Jul 1999 01:46:09 -0400 (EDT)
From: Elliot Lee <sopwith@redhat.com>
To: bug-zephyr@MIT.EDU, ghudson@MIT.EDU
Message-Id: <Pine.LNX.4.10.9907080131100.11725-100000@lacrosse.corp.redhat.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Is anyone maintaining zephyr any more? I'm trying to run zephyrd on RHL
5.2/kernel 2.2.8, and it gets stuck in this constant loop of select()
returning -1/EINVAL. 2.1beta1 is dated some time in 1996 :-\

Anyways, here's a patch to fix a couple of obvious thinkos,
-- Elliot
You're not being rude. I'm just a moron.

--- zephyr-2.1.beta1/server/timer.c.sopwith	Tue Jul  6 22:13:44 1999
+++ zephyr-2.1.beta1/server/timer.c	Tue Jul  6 22:14:08 1999
@@ -203,6 +203,8 @@
     }
     HEAP_ASSIGN(pos, new);
     num_timers++;
+
+    return new;
 }
 
 void
--- zephyr-2.1.beta1/zhm/timer.c.sopwith	Tue Jul  6 22:18:12 1999
+++ zephyr-2.1.beta1/zhm/timer.c	Tue Jul  6 22:18:17 1999
@@ -203,6 +203,8 @@
     }
     HEAP_ASSIGN(pos, new);
     num_timers++;
+
+    return new;
 }
 
 void


home help back first fref pref prev next nref lref last post