Re: fix memcpy() overlap

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: fix memcpy() overlap
Дата
Msg-id 87broh6uf0.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: fix memcpy() overlap  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane <tgl@sss.pgh.pa.us> writes:
> This isn't a bug

If that's the case I'm content with not changing the code, but I'd
rather not just take it on faith: can you point me to some authority
that says two objects with the same address do not "overlap"?

(I checked C99 (draft 843) and while it references overlapping objects
several times, it never precisely defines the term.)

> I see no reason to clutter the code just to shut up valgrind.

Sure -- it is either our bug, or a bug in valgrind.

-Neil


В списке pgsql-patches по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Win32 signals patch #2
Следующее
От: "Nicolai Tufar"
Дата:
Сообщение: Re: C locale sort in src/tools/make_ctags - solved