path.c and span.c

Oscar M. Nierstrasz oscar at utcsrgv.UUCP
Thu Jan 5 08:53:39 AEST 1984


Apparently the lines:

	if ((c = fgetc()) != EOF) ...

may not work on some machines unless c is declared int.

Change:
	char	c;
to:
	int	c;

in both programs.  (Thanx to druky!ddc)
-- 

# UUCP:	{ allegra cornell decvax decwrl floyd ihnp4 linus
# 	  sask ubc-vision utzoo uw-beaver watmath } !utcsrgv!oscar



More information about the Comp.sources.unix mailing list