diff options
author | Jeff Trawick <trawick@apache.org> | 2002-06-21 11:33:55 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-06-21 11:33:55 +0000 |
commit | 90db190c193930a33cb8258aba05a2b7d3f61887 (patch) | |
tree | 011af530e3175a353a277208f2fe51c55c8d37cd | |
parent | d9ed1f25fa929a9c539645f0d86baa59e464e063 (diff) | |
download | apr-90db190c193930a33cb8258aba05a2b7d3f61887.tar.gz |
Fix a compile error in the EGD support in rand.c on older Solaris
versions.
PR: 9976
Submitted by: Jim Morris <jmorris@sunflower.com>
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63509 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | misc/unix/rand.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ Changes with APR b1 + *) Fix a compile error in the EGD support in rand.c on older Solaris + versions. PR 9976 [Jim Morris <jmorris@sunflower.com>] + *) Fixed apr_file_seek() to unset the eof_hit flag. [Stas Bekman] *) Removed --disable-atomics flag and added --enable-nonportable-atomics, diff --git a/misc/unix/rand.c b/misc/unix/rand.c index 554ae8b3c..519d8f588 100644 --- a/misc/unix/rand.c +++ b/misc/unix/rand.c @@ -121,7 +121,7 @@ APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char *buf, */ int egd_socket, egd_path_len, rv; struct sockaddr_un addr; - socklen_t egd_addr_len; + apr_socklen_t egd_addr_len; size_t resp_expected; unsigned char req[2], resp[255]; char *curbuf = buf; |