git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 506a989) | patch
Call srandom() instead of srand().
2006年12月26日 01:02:05 +0000 (01:02 +0000)
2006年12月26日 01:02:05 +0000 (01:02 +0000)
commit 39def593c5b9b2c694efada0a1d9ba358c888ed5
Call srandom() instead of srand().
pgbench calls random() later, so it should have called srandom().
On most platforms except Windows srandom() is actually identical
to srand(), so the bug only bites Windows users.
per bug report from Akio Ishida.
contrib/pgbench/pgbench.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /