[Pkg-pulseaudio-devel] [SCM] pulseaudio packaging branch, patches, updated. upstream/0.9.10-6-g78c5522

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Sun Aug 3 13:53:28 UTC 2008


The branch, patches has been updated
       via  78c55228a18940134a4e811ed8249fc365587cb4 (commit)
      from  44a4f2b01915544994bdff805d4b0a163f3454d0 (commit)


- Shortlog ------------------------------------------------------------
78c5522 fix iteration over random devices

Summary of changes:
 src/pulsecore/random.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit 78c55228a18940134a4e811ed8249fc365587cb4
Author: Sjoerd Simons <sjoerd at luon.net>
Date:   Sun Aug 3 12:29:18 2008 +0100

    fix iteration over random devices
    
    Actually iterate over the various random devices. Fixes a infinite loop on
    startup when /dev/urandom isn't readable. Patch by Matt Kraai on Debian bug
    491270, closes #333

diff --git a/src/pulsecore/random.c b/src/pulsecore/random.c
index c72876e..ff73532 100644
--- a/src/pulsecore/random.c
+++ b/src/pulsecore/random.c
@@ -75,6 +75,8 @@ static int random_proper(void *ret_data, size_t length) {
 
         if (ret == 0)
             break;
+
+        device++;
     }
 
     return ret;

-- 
pulseaudio packaging



More information about the Pkg-pulseaudio-devel mailing list