[Circle][Code][Bug] % formatting

From: Ronald Evers (dlanor@xs4all.nl)
Date: 11/01/02

Hey folks,

        I found another little '%' bug. I think it's the same "format
error" problem as this:


In lib/text/news it says: "..at 25% greater than..". This gets messed
up if you type news on the mud: "at 25 1.87673e-152reater".
The problem is in db.c:file_to_string() I think, I just don't know how
to fix this one.

I tried feeding the compiler with "-Wformat -Wformat-nonliteral" but
this doesn't show up as an error.

Anyone have a briliant idea on how to fix this?
Oh almost forgot: patchlevel21.

Thanks in advance,


   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |

This archive was generated by hypermail 2b30 : 06/25/03 PDT