B
Ben Bacarisse
spinoza1111 said:Yes, this code is buggy. If there is a nonzero value at *str and ferror
(fp) returns true it will loop.
However, this is as much the "fault", if "fault" there be, in McGraw
Hill's technical editors, since it's long been known that bug-free
software can only be obtained with group reviews (group reviews free
of the insane back-stabbing one sees here).
The book appears to have been published in several edition over a
period of 13 years (I can find ISBNs for editions or reprints in 1987,
1988, 1990, 1995 and 2000). If I were the author I would want to
correct as many errors as possible at some point in the 13 year
process.
With technical books, I don't think the publisher can be expected have
editors that know C better than the author of their C books.
Instead of his stupid and shameful vendetta against Schildt as a
person, Seebach should have accepted McGraw Hill's offer of a small
amount of money to tech review the book like a true professional.
That is such an odd remark. I have been asked on several occasions to
do technical reviews of books and articles. Some I've done, but i
don't feel any responsibility for errors in the books and articles
that I declined to review.
<snip>