Re: SetVariable

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: SetVariable
Дата
Msg-id 001201c36ec0$0091fed0$10d4a8c0@mm.eutelsat.org
обсуждение исходный текст
Ответ на SetVariable  ("Mendola Gaetano" <mendola@bigfoot.com>)
Ответы Re: SetVariable  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
"Bruce Momjian" <pgman@candle.pha.pa.us> wrote:
> I see other strdup() calls that don't check on a return.  Should we deal
> with those too?

Well strdup obtain the memory for the new string using a malloc
and normally is a good habit check the return value of a malloc.

Regards
Gaetano Mendola



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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: SetVariable