Re: strdup or str_dup?

From: George Greer (greerga@circlemud.org)
Date: 03/10/99


On Wed, 10 Mar 1999, Acido wrote:

>Why not throw the same check in str_dup() to avoid the extra function??

Because in OLC you need to have a value.  When you're using it elsewhere,
being called with a NULL value is a very bad thing you don't want to sweep
under the rug.

--
George Greer            | Mailing list archives
greerga@circlemud.org   | http://post.queensu.ca/~listserv/wwwarch/circle.html


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST