Re: DTrace probes broken in HEAD on Solaris?

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: DTrace probes broken in HEAD on Solaris?
Дата
Msg-id 4136ffa0903241518h9a2a442qfaaa7b8741a0fa65@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DTrace probes broken in HEAD on Solaris?  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: DTrace probes broken in HEAD on Solaris?
Список pgsql-hackers
On Tue, Mar 24, 2009 at 10:12 PM, Martijn van Oosterhout
<kleptog@svana.org> wrote:
> Not really a GCC extension, but you could have the macro check that it
> can take the address of the arguments, which amounts to almost the same
> thing. It only doesn't work on constants.

No, there are all kinds of complex expressions which are lvalues --
anything ending in a pointer dereference for example, which is
precisely the most likely kind of expression to introduce seg fault if
something is unexpectedly null
.

-- 
greg


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: DTrace probes broken in HEAD on Solaris?
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: small but useful patches for text search