Re: Rename StrNCpy to avoid conflictions on win32 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Rename StrNCpy to avoid conflictions on win32
Date
Msg-id 1252319296.29289.24.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to Re: Rename StrNCpy to avoid conflictions on win32  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Rename StrNCpy to avoid conflictions on win32
List pgsql-hackers
On Mon, 2009-09-07 at 11:36 +0200, Magnus Hagander wrote:
> On Mon, Sep 7, 2009 at 04:40, Itagaki
> Takahiro<itagaki.takahiro@oss.ntt.co.jp> wrote:
> > There might be some places to replace it to strlcpy() instead.
> 
> Can't comment on that without looking at the code, but it wouldn't surprise me.

There are some performance tradeoffs between these variants, and we
already did change all (most?) of the not performance-critical calls to
strlcpy a while ago.



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Rename StrNCpy to avoid conflictions on win32
Next
From: Itagaki Takahiro
Date:
Subject: Re: Triggers on columns