FIXED: a bug in src/clock.c
utzoo!decvax!ucbvax!dist2
utzoo!decvax!ucbvax!dist2
Sun Dec 6 02:55:07 AEST 1981
Clock.c had not been properly converted to V7. It used the old
method of interrupt handling, setexit() and reset() rather than setjmp()
and longjmp(). The necessary fixes are
diff src/clock.c.old src/clock.c:
4a5,7
> #include <setjmp.h>
> jmp_buf env;
>
11c14
< setexit();
---
> setjmp(env);
35c38
< reset();
---
> longjmp(env, 1);
These changes should be applied on all tapes written before 10/27/81.
Carl
More information about the Comp.bugs.2bsd
mailing list