Skip site navigation (1) Skip section navigation (2)

Re: fix memcpy() overlap

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix memcpy() overlap
Date: 2004-02-02 20:59:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Neil Conway <neilc(at)samurai(dot)com> writes:
> I don't know of a memcpy() implementation that would actually bail out
> if called with two equal pointers, but perhaps there is one in
> existence somewhere.

This isn't a bug, and I see no reason to clutter the code just to shut
up valgrind.

			regards, tom lane

In response to


pgsql-patches by date

Next:From: Stephan SzaboDate: 2004-02-02 21:23:15
Subject: Re: fix memcpy() overlap
Previous:From: Neil ConwayDate: 2004-02-02 20:15:43
Subject: fix memcpy() overlap

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group