[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2 minor patches to es-0.79



these fix the two bugs mentioned by Peter last week that i had said i would
fix this week.  sorry it took so long for me to get them out.  these will be
included in the next release, expected real soon now.

--paul

*** ../es-0.79-dist/eval.c	Tue Jan 26 08:56:45 1993
--- eval.c	Tue Feb  2 11:29:38 1993
***************
*** 277,283 ****
  		List *e;
  
  		if ((e = pushhandler(&h)) != NULL) {
! 			if (e->term->str != NULL && streq(e->term->str, "return"))
  				return e->next;
  			throw(e);
  		}
--- 277,283 ----
  		List *e;
  
  		if ((e = pushhandler(&h)) != NULL) {
! 			if (e->term->str != NULL && streq(e->term->str, "break"))
  				return e->next;
  			throw(e);
  		}
*** ../es-0.79-dist/glob.c	Tue Jan 26 08:56:47 1993
--- glob.c	Wed Feb  3 21:39:03 1993
***************
*** 225,231 ****
  			else {
  				q = gcalloc(len + 1, &StringTag);
  				memset(q, 'q', homelen);
! 				memcpy(&s[homelen], &quote->str[slash], pathlen - slash);
  				q[len] = '\0';
  			}
  			quote->str = q;
--- 225,231 ----
  			else {
  				q = gcalloc(len + 1, &StringTag);
  				memset(q, 'q', homelen);
! 				memcpy(&q[homelen], &quote->str[slash], pathlen - slash);
  				q[len] = '\0';
  			}
  			quote->str = q;