[Pkg-fedora-ds-maintainers] [libapache2-mod-nss] 104/156: Fix another place we should set PR_WOULD_BLOCK_ERROR during a read.

Timo Aaltonen tjaalton-guest at moszumanska.debian.org
Wed Jul 2 13:55:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

tjaalton-guest pushed a commit to branch master
in repository libapache2-mod-nss.

commit 118abee73a2d332d9ee55dcba3205557e0fe1ea7
Author: rcritten <>
Date:   Wed Nov 11 18:20:39 2009 +0000

    Fix another place we should set PR_WOULD_BLOCK_ERROR during a read.
---
 nss_engine_io.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nss_engine_io.c b/nss_engine_io.c
index 4780aed..78d3827 100644
--- a/nss_engine_io.c
+++ b/nss_engine_io.c
@@ -278,6 +278,7 @@ nspr_filter_in_read(PRFileDesc *fd, void *in, PRInt32 inlen)
 
     if (APR_STATUS_IS_EAGAIN(inctx->rc)
             || APR_STATUS_IS_EINTR(inctx->rc)) {
+        PR_SetError(PR_WOULD_BLOCK_ERROR, 0);
         return (int)inl;
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-fedora-ds/libapache2-mod-nss.git



More information about the Pkg-fedora-ds-maintainers mailing list