projects
/
openitg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d8e5f
)
Don't consider explicitly read-only paths for file writing
author
Marc Cannon
<vyhdycokio@gmail.com>
Fri, 28 Dec 2012 23:57:11 +0000
(23:57 +0000)
committer
Marc Cannon
<vyhdycokio@gmail.com>
Sun, 30 Dec 2012 02:20:33 +0000
(
02:20
+0000)
src/RageFileManager.cpp
patch
|
blob
|
history
diff --git
a/src/RageFileManager.cpp
b/src/RageFileManager.cpp
index
3ea0434
..
213cc8c
100755
(executable)
--- a/
src/RageFileManager.cpp
+++ b/
src/RageFileManager.cpp
@@
-849,7
+849,11
@@
RageFileBasic *RageFileManager::OpenForWriting( const CString &sPath, int mode,
for( unsigned i = 0; i < apDriverList.size(); ++i )
{
LoadedDriver &ld = *apDriverList[i];
- const CString path = ld.GetPath( sPath );
+
+ if( ld.m_sType == "dirro" )
+ continue;
+
+ const CString &path = ld.GetPath( sPath );
if( path.empty() )
continue;