Follow-up Comment #8, bug #18254 (project freeciv):

> The problem is that it is overwriting the value returned by
> read() [0 means EOF, -1 error].
Actually, this is wrong. The problem is that when getline() gets empty string,
'didget' is set to 0. 0 is considered as EOF (because the code is also used
for read()) and then the input is ignored.

The patch remains good and still fixes the issue.


Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to