Author: coolo Date: Fri Feb 8 09:52:53 2008 New Revision: 8556 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8556&view=rev Log: ------------------------------------------------------------------------ r8179 | jkupec | 2008-01-02 18:23:07 +0100 (Mi, 02 Jan 2008) | 3 lines - enabled usage of symlinks to iso files (#274651) - this will probably work only for file/dir and cd/dvd schemes ------------------------------------------------------------------------ Modified: branches/tmp/ma/jump_sat/libzypp/zypp/media/MediaISO.cc Modified: branches/tmp/ma/jump_sat/libzypp/zypp/media/MediaISO.cc URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/ma/jump_sat/libzypp/zypp/media/MediaISO.cc?rev=8556&r1=8555&r2=8556&view=diff ============================================================================== --- branches/tmp/ma/jump_sat/libzypp/zypp/media/MediaISO.cc (original) +++ branches/tmp/ma/jump_sat/libzypp/zypp/media/MediaISO.cc Fri Feb 8 09:52:53 2008 @@ -173,9 +173,8 @@ ZYPP_THROW(e3); } - Pathname isofile = manager.localPath(_parentId, _isofile); - PathInfo isoinfo( isofile, PathInfo::LSTAT); - if( !isoinfo.isFile()) + Pathname isofile = expandlink(manager.localPath(_parentId, _isofile)); + if( isofile.empty() || !PathInfo(isofile).isFile()) { ZYPP_THROW(MediaNotSupportedException(_url)); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org