Re: Rename StrNCpy to avoid conflictions on win32

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Rename StrNCpy to avoid conflictions on win32
Date: 2009-09-07 10:28:16
Message-ID: 1252319296.29289.24.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)takahiro(at)oss(dot)ntt(dot)co(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2009-09-07 10:53:01 Re: Triggers on columns
Previous Message Magnus Hagander 2009-09-07 09:36:24 Re: Rename StrNCpy to avoid conflictions on win32