Skip to content
Prev 4838 / 63421 Next

(HP-UX) scan: last line gets duplicated (PR#790)

Peter Kleiweg skriver...

[about possible compiler error]
[snip faulty patch, see other mail for correct fix]
I've been thinking about this. The original code was apparently
based on the assumption that (at that point in the program) the
buffer could never be empty (apart from white space). Maybe the
assumption is correct, and this bug actually is an expression of
an error somewhere else. An error with handling EOF, or
something, or even a compiler error.

Should this be checked?