Path: utzoo!attcan!uunet!husc6!ogccse!blake!uw-beaver!teknowledge-vaxc!mkhaw From: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Newsgroups: comp.sources.d Subject: error in patch to less 97 for 8-bit data Message-ID: <26227@teknowledge-vaxc.ARPA> Date: 21 Dec 88 18:27:37 GMT Reply-To: mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) Organization: Teknowledge, Inc., Palo Alto CA Lines: 31 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