Re: patch contrib/pgcrypto for win32 (2)

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: patch contrib/pgcrypto for win32 (2)
Дата
Msg-id 20041205232727.GA10439@l-t.ee
обсуждение исходный текст
Ответ на patch contrib/pgcrypto for win32 (2)  ("Korea PostgreSQL Users' Group" <pgsql-kr@postgresql.or.kr>)
Ответы Re: patch contrib/pgcrypto for win32 (2)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Mon, Dec 06, 2004 at 12:51:28AM +0900, Korea PostgreSQL Users' Group wrote:
> I found that function gen_salt() in contrib/pgcrypto had bug on win32.
>
> I patched contrib/pgcrypto/random.c file.

Could you describe the bug bit more?

As for srandom, src/backend/postmaster/postmaster.c does it
already, and doing it more will make matters only worse.

I would not object to just sticking '& 255' there, but if
current code has problems then I imagine lot more code could be
affected.  Or are you just silencing some warning?

--
marko


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] utf-8 flag always off in plperl function arguments
Следующее
От: Tom Lane
Дата:
Сообщение: Re: patch contrib/pgcrypto for win32 (2)