Re: pstrndup() - Mailing list pgsql-patches

From Tom Lane
Subject Re: pstrndup()
Date
Msg-id 22073.1079930718@sss.pgh.pa.us
Whole thread Raw
In response to Re: pstrndup()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: pstrndup()
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Karel, do you plan to use pstrndup for some purpose?  I assume so.

I am not familiar with strndup.  If the spec is like strncpy, I would
vote against including it ... strncpy is so broken that we had to invent
our own variant ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pstrndup()
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] UnixWare/CVS Tip/initdb.c needs to use threads