Re: Patch 21 & Strings

From: George Greer (greerga@circlemud.org)
Date: 04/27/02


On Sat, 27 Apr 2002, Edward J Glamkowski wrote:

>George wrote:
>
>>Well, that too.  It might be nice to make page_string() a varargs
>>accumulator but that's a lot of work to change an infrequently-used
>>function.
>
>24 calls in stock circle 30bpl21.  Hmmmmm :/

Well, an inexact count:

greerga@cambot:~/e/circle/src$ fgrep page_string *.[ch] | wc -l
     30
greerga@cambot:~/e/circle/src$ fgrep send_to_char *.[ch] | wc -l
   1188

Infrequent is relative, but we were talking about sprintf for output so it
overlapped with the reason for the send_to_char changes.

>What if someone else were to make it use varargs and submit a patch to
>you?

Not for 3.1 but maybe later.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | 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