"monthd" doesn't terminate

Ross Johnson ross at cancol.oz
Thu Nov 17 13:26:37 AEST 1988


In article <1252 at leah.Albany.Edu>, rds95 at leah.Albany.Edu (Robert Seals) writes:
> I brought up the recently posted "month". The program itself seems to
> work quite nicely, but the daemon program that checks for appointments
> does not. Specifically, it should go away after the user logs out, and it
> doesn't. I don't think it works at all, actually, cuz it hasn't been
> announcing my engagements, as it ought to.
> 
I've experienced the same thing on a Sun running OS3.2 (for cross-reference).

There's also a bug in the strtok() function in schedule.c which causes a
core dump if you try to post an event to a group (`G' command). A context
diff follows :

*** schedule.c.dist	Mon Nov 14 22:39:41 1988
--- schedule.c	Mon Nov 14 22:47:06 1988
***************
*** 743,755 ****
  char *s1, *s2;
  {
      static char *pos;
!     char *p, *q;
  
      if (s1 != (char *)NULL)
  	pos = s1;
  
!     if (*pos == '\0')
! 	return((char *)NULL);
  
      for (p = pos; *p != '\0'; p++) {
  	if (index(s2, (int) *p) == (char *)NULL)
--- 743,755 ----
  char *s1, *s2;
  {
      static char *pos;
!     char *p, *q, *index();
  
      if (s1 != (char *)NULL)
  	pos = s1;
  
!     if (pos == (char *)NULL || *pos == '\0')
! 		return((char *)NULL);
  
      for (p = pos; *p != '\0'; p++) {
  	if (index(s2, (int) *p) == (char *)NULL)



More information about the Comp.sources.bugs mailing list