Re: join regression failure on cygwin
От | Andrew Dunstan |
---|---|
Тема | Re: join regression failure on cygwin |
Дата | |
Msg-id | 4A69B1AE.1030502@dunslane.net обсуждение исходный текст |
Ответ на | Re: join regression failure on cygwin (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: join regression failure on cygwin
|
Список | pgsql-hackers |
Tom Lane wrote: > I don't personally have a problem with just forcing use of our own > erand48 on Cygwin; it's not a lot of code and it would make the behavior > of that build more like the MSVC build. But it's curious that such a > simple library function is seemingly broken on Cygwin ... especially > when their random() and srandom() evidently work. > > It appears on Googling a bit that the erand48() is buggy in that it requires the seed to have been initialized with srand48() or it will constantly return 0.0. So I think just forcing use of ours is the safe way to go. It might have been fixed since I installed Cygwin, although I can't find a reference to that, and I don't feel like triangulating it anyway. cheers andrew
В списке pgsql-hackers по дате отправления: