You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2008/05/02 19:17:14 UTC
svn commit: r652830 - /apr/apr/trunk/configure.in
Author: jorton
Date: Fri May 2 10:17:14 2008
New Revision: 652830
URL: http://svn.apache.org/viewvc?rev=652830&view=rev
Log:
* configure.in: Prefer /dev/urandom over /dev/random.
PR: 44881
Submitted by: bojan
Modified:
apr/apr/trunk/configure.in
Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=652830&r1=652829&r2=652830&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Fri May 2 10:17:14 2008
@@ -1955,7 +1955,7 @@
if test "$apr_devrandom" = "yes"; then
# /dev/random on OpenBSD doesn't provide random data, so
# prefer /dev/arandom, which does; see random(4).
- for f in /dev/arandom /dev/random /dev/urandom; do
+ for f in /dev/arandom /dev/urandom /dev/random; do
if test -r $f; then
apr_devrandom=$f
rand=1