From 484aa963af598a96eca6d9a1715ff1d8ed7ef7b4 Mon Sep 17 00:00:00 2001 From: Callum Prentice Date: Wed, 21 Jul 2021 09:09:02 -0700 Subject: Additional speculative fix for SL-15547: Viewer hung while looking for a file in the cache. I am still unable to reproduce this problem, although others have so I am trying a more aggressive approach for them to test. I tried this as part of last speculative fix but saw what I thought were scary side effects in the log/console. Turns out, those are there in the release viewer so probably unrelated to this change. --- indra/llfilesystem/llfilesystem.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra') diff --git a/indra/llfilesystem/llfilesystem.cpp b/indra/llfilesystem/llfilesystem.cpp index b029723e11..af5e8bf8b7 100644 --- a/indra/llfilesystem/llfilesystem.cpp +++ b/indra/llfilesystem/llfilesystem.cpp @@ -164,6 +164,10 @@ BOOL LLFileSystem::read(U8* buffer, S32 bytes) success = FALSE; } } + else + { + success = FALSE; + } if (success == TRUE) { -- cgit v1.2.3