[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/icecream/client
From: Stephan Kulow <coolo () kde ! org>
Date: 2006-05-28 16:11:22
Message-ID: 1148832682.783823.1570.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 545952 by coolo:
don't eat /.
M +4 -3 remote.cpp
--- branches/work/icecream/client/remote.cpp #545951:545952
@@ -157,10 +157,11 @@
file.replace( idx, 3, "/" );
idx = file.find( "/.." );
}
- idx = file.find( "/." );
+
+ idx = file.find( "/./" );
while ( idx != string::npos ) {
- file.replace( idx, 2, "/" );
- idx = file.find( "/." );
+ file.replace( idx, 3, "/" );
+ idx = file.find( "/./" );
}
idx = file.find( "//" );
while ( idx != string::npos ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic