From 86cab299b01081c8c89587fd72d81460318e4ec1 Mon Sep 17 00:00:00 2001
From: Monroe Linden <monroe@lindenlab.com>
Date: Tue, 26 Jan 2010 17:33:23 -0800
Subject: [PATCH] Fix for EXT-4708 (ressing cursor or modifier keys while MoaP
 has input focus gives an error in the log "WARNING: ll_apr_warn_status: APR:
 File exists")

The attempt to create a directory should no longer be necessary with webkit.  This code has been removed.
---
 indra/newview/llviewermedia.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 98d8780b343..9ced0194a27 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -1811,11 +1811,6 @@ void LLViewerMediaImpl::navigateStop()
 bool LLViewerMediaImpl::handleKeyHere(KEY key, MASK mask)
 {
 	bool result = false;
-	// *NOTE:Mani - if this doesn't exist llmozlib goes crashy in the debug build.
-	// LLMozlib::init wants to write some files to <exe_dir>/components
-	std::string debug_init_component_dir( gDirUtilp->getExecutableDir() );
-	debug_init_component_dir += "/components";
-	LLAPRFile::makeDir(debug_init_component_dir.c_str()); 
 	
 	if (mMediaSource)
 	{
-- 
GitLab