Bug fix for src/backend/ports/snprintf.c sent to the patches list

Поиск
Список
Период
Сортировка
От Pedro J. Lobo
Тема Bug fix for src/backend/ports/snprintf.c sent to the patches list
Дата
Msg-id Pine.OSF.4.05.9812171704080.19842-100000@haddock.euitt.upm.es
обсуждение исходный текст
Список pgsql-hackers
Hi, all.

I've just sent a patch to the pgsql-patches list that (among other fixes
specific for Digital Unix) contains a patch for
src/backent/ports/snprintf.c. That file contained two bugs: it incorrectly
used HAVE_LONG_INT_64 to check if it could use the "long long int" type
(changed to HAVE_LONG_LONG_INT_64), and it misused the variable argument
mechanism defined in stdarg.h (vsnprintf was incorrectly defined, for
example).

The patch fixes the type int8 under Digital Unix, and it should fix it
also for systems that don't have native snprintf/vsnprintf.

Please take a look at it, and let me know if you see something wrong.

-- 
-------------------------------------------------------------------
Pedro José Lobo Perea                   Tel:    +34 91 336 78 19
Centro de Cálculo                       Fax:    +34 91 331 92 29
EUIT Telecomunicación - UPM             e-mail: pjlobo@euitt.upm.es



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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [PATCHES] Cobalt/Linux porting patch
Следующее
От: Oleg Broytmann
Дата:
Сообщение: Re: [HACKERS] Date/time on glibc2 linux