<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40225 >

2008/5/2 Marko Lindqvist:
>   When server is built without readline, reading input from pipe does not 
> work:
>   (
>     echo rulesetdir $RULESET
>     echo set aifill 10
>   ) | ./ser
>   Problem is that server will receive all input at once and not line by
>  line. Attached patch fixes this for systems having getline()
>  available.

 Committed to S2_2 and TRUNK.

 Not committed to S2_1 as that would be first use of GNU_SOURCE in
S2_1 potentially causing compilation problems on some platforms.

 - ML

Freeciv-dev mailing list

Reply via email to