From 260883c11f051853876d34bf1c9448d0063f9f5a Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Fri, 2 Mar 2012 10:40:15 -0500
Subject: [PATCH] Clarify LLProcess debug log message about reading from child
 pipe. Previous "read N of M bytes" wording implied that the child had M bytes
 to send, but we only read N of them. In reality we have no idea how many
 bytes the child is trying to send, only how many the OS is willing to deliver
 at this moment. To me, "filled N of M bytes" more clearly implies that M is
 the buffer size.

---
 indra/llcommon/llprocess.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/llcommon/llprocess.cpp b/indra/llcommon/llprocess.cpp
index 9c495175981..ad8e3a930e5 100644
--- a/indra/llcommon/llprocess.cpp
+++ b/indra/llcommon/llprocess.cpp
@@ -367,7 +367,7 @@ class ReadPipeImpl: public LLProcess::ReadPipe
 				// received. Make sure we commit those later. (Don't commit them
 				// now, that would invalidate the buffer iterator sequence!)
 				tocommit += gotten;
-				LL_DEBUGS("LLProcess") << "read " << gotten << " of " << toread
+				LL_DEBUGS("LLProcess") << "filled " << gotten << " of " << toread
 									   << " bytes from " << mDesc << LL_ENDL;
 
 				// The parent end of this pipe is nonblocking. If we weren't even
-- 
GitLab