Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcvax!ukc!pyrltd!jimmy From: jimmy@pyrltd.UUCP (Jimmy Aitken) Newsgroups: comp.sources.bugs Subject: bug in cbw zeecode.c on some machines Message-ID: <867@pyrltd.UUCP> Date: Thu, 25-Jun-87 08:38:25 EDT Article-I.D.: pyrltd.867 Posted: Thu Jun 25 08:38:25 1987 Date-Received: Sat, 4-Jul-87 17:33:48 EDT Reply-To: jimmy@pyrltd.UUCP (Jimmy Aitken) Organization: Pyramid Technology Ltd, Camberley, Surrey, UK. +44 276 63474 Lines: 29 References: A problem with zeecode.c on machines which care about compring a char to EOF. Zeecode may occasionally stop before printing the complete file. Here are the context diffs (hardly worth it really...) *** zeecode.c Thu Oct 9 02:32:52 1986 --- ../zeecode.c Tue May 26 00:26:37 1987 *************** *** 86,92 { int pos; int sc; ! char c; for (pos = 0 ; pos < BLOCKSIZE ; pos++) { if ((c=getchar()) == EOF) return(FALSE); --- 86,92 ----- { int pos; int sc; ! int c; for (pos = 0 ; pos < BLOCKSIZE ; pos++) { if ((c=getchar()) == EOF) return(FALSE); -- -m------- Jimmy Aitken Phone : +44 276 63474 ---mmm----- Pyramid Technology Ltd PSS : jimmy@234275300179 (ug) -----mmmmm--- Telex : 859056 PYRUK G -------mmmmmmm- ...!mcvax!ukc!pyrltd!jimmy