httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@leland.Stanford.EDU>
Subject Re: calling pstrdup() on value before table_set?
Date Sun, 21 Dec 1997 08:27:15 GMT
On Sat, 20 Dec 1997, Dean Gaudet wrote:

> Oh interesting... I wasn't aware that table_set() duplicated the value
> behind the scenes as well.  Damn, these should all be cleaned up then.
> 
> Either that or the table_*() functions should be changed to not
> duplicate... I wonder which wastes less memory.  Not duplicating is likely
> to be a source of bugs though, because you have to allocate into the right
> pool. 

Agreed. I think the real problem is just documentation, which we don't
have. Once we get the API completely documented (this is part of my goal
for 2.0), this sort of problem should hopefully go away.

-- Alexei Kosut <akosut@stanford.edu> <http://www.stanford.edu/~akosut/>
   Stanford University, Class of 2001 * Apache <http://www.apache.org> *



Mime
View raw message