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

 Opposite to the comments, my_vsnprintf() returns -1 in case of truncation.

 This means one cannot determine size of the buffer actually required
by using my_vsnprintf().

 Return value should be number of characters that should have been
produced. That requires investigating all the users in case some
depends on current behavior.


 - ML



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to