Subject: Re: problems with using pine
To: None <andrew@wipux2.wifo.uni-mannheim.de, current-users@NetBSD.ORG>
From: Peter Seebach <seebs@solon.com>
List: current-users
Date: 05/03/1996 13:18:38
I haven't found a patch for it; I just kill pine occasionally.  I'm
assuming the morons didn't bother to check for EOF, because it looks like
it's busy-looping on "invalid input".  !@#*!@#.

Remember:  *ALWAYS CHECK INPUT CHARACTERS AGIANST EOF*.  Also remember
that getchar() returns int, and that read() returns 0 or a
negative value for failure to read anything.

And remember to check feof() or the equivalent on machines where unsigned
(rare, but legal.)

-s