[comp.sources.d] error in patch to less 97 for 8-bit data

mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) (12/22/88)

My patches worked fine on our VAX, but died on SunOS 3.x.  The culprit
is the change to ch.c;  Here's a patch to that patch:

<--- cut here --->
*** ch.c-	Wed Dec 21 10:26:32 1988
--- ch.c	Wed Dec 21 10:08:31 1988
***************
*** 180,185
  		{
  #ifndef DO_META
  			*--p &= 0177;
  #endif DO_META
  			if (*p == EOI)
  				*p = '@';

--- 180,187 -----
  		{
  #ifndef DO_META
  			*--p &= 0177;
+ #else
+ 			--p;
  #endif DO_META
  			if (*p == EOI)
  				*p = '@';
<--- cut here --->

Mike Khaw
-- 
internet: mkhaw@teknowledge.arpa
uucp:	  {uunet|sun|ucbvax|decwrl|ames|hplabs}!mkhaw%teknowledge.arpa
hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303