httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: calling pstrdup() on value before table_set?
Date Sun, 21 Dec 1997 20:00:06 GMT
On Sun, 21 Dec 1997, Rodent of Unusual Size wrote:

> My feeling is that when I hand something to table_*(), I'm expecting
> it to squirrel a value away for me, not just point to it.  The pool
> is an attribute of the table, so copying values into the table's
> pool makes perfect sense and strikes me as elegant.

table_set(t, "blahblah", "boohiss").  pstrdup()ing those is a waste of
time, they're constants. 

Dean



Mime
View raw message