pgsql: Minor ecpg tweak: the return value of calloc() is guaranteed to

Поиск
Список
Период
Сортировка
От neilc@svr1.postgresql.org (Neil Conway)
Тема pgsql: Minor ecpg tweak: the return value of calloc() is guaranteed to
Дата
Msg-id 20050630072732.59DC052A17@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Minor ecpg tweak: the return value of calloc() is guaranteed to be NULL
or zero-filled; therefore zero-filling it via memset() is pointless.
(I think setting `errno' is probably a waste of cycles as well, but I
haven't changed that.)

Modified Files:
--------------
    pgsql/src/interfaces/ecpg/pgtypeslib:
        common.c (r1.10 -> r1.11)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/ecpg/pgtypeslib/common.c.diff?r1=1.10&r2=1.11)

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

Предыдущее
От: neilc@svr1.postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Warning cleanups for ecpg tests.
Следующее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - be: Don't list_free_deep as it seems to be naughty here(?).