...
> > And then to something else, whats wrong with this:
> >
> > nstr = palloc(len = strlen(string) + 1);
> > memcpy(nstr, string, len);
>
> The first code you wrote doesn't do the the same thing as the second.
Well thats the point. Why do I need to allocate one extra space for the
string (the first one allready allocate space for the NULL). While the
second example allocates one char too much. Am I right or am I wrong. Or am
I going blind and stupid, at the same time.
// Jarmo