From: <sv...@va...> - 2010-04-07 23:20:22
|
Author: sewardj Date: 2010-04-08 00:20:12 +0100 (Thu, 08 Apr 2010) New Revision: 499 Log: Don't decline to show me the source text just because the source file happens to be reachable through a symlink -- that's actually very] common. Hmm, what if the symlink is dangling? Need a better check here. Modified: branches/valkyrie_qt4port/toolview/vglogview.cpp Modified: branches/valkyrie_qt4port/toolview/vglogview.cpp =================================================================== --- branches/valkyrie_qt4port/toolview/vglogview.cpp 2010-03-27 21:29:52 UTC (rev 498) +++ branches/valkyrie_qt4port/toolview/vglogview.cpp 2010-04-07 23:20:12 UTC (rev 499) @@ -723,7 +723,7 @@ QFileInfo fi( path ); - if ( fi.exists() && fi.isFile() && !fi.isSymLink() ) { + if ( fi.exists() && fi.isFile() /* && !fi.isSymLink() */) { isReadable = fi.isReadable(); isWriteable = fi.isWritable(); } |