[comp.sources.bugs] bug in cbw zeecode.c on some machines

jimmy@pyrltd.UUCP (Jimmy Aitken) (06/25/87)

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