[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdelibs/kate/part
From:       "Christoph Cullmann" <cullmann () babylon2k ! de>
Date:       2005-04-08 7:44:06
Message-ID: 169842.65048.212.82.36.134.1112946246.squirrel () webmailer ! hosteurope ! de
[Download RAW message or body]


<zitiere wer="Dominik Haumann">
>> +    // first del existing file if any, than copy over the file we have
>> +    // failure if a: the existing file could not be deleted, b: the
>> file
>> +       could not be copied
>> +    if ( (!KIO::NetAccess::exists( u, false, kapp->mainWidget() ) ||
>> +          KIO::NetAccess::del( u, kapp->mainWidget() ))
>> +      && KIO::NetAccess::file_copy( url(), u, perms, true, false,
>> +      kapp->mainWidget() ) )
> This is a *file copy*, where src and dst are the *same*. My only
> explanation
> is that KIO tries to authenticate two times, which always fails.
? src and dst are the same? url() and u are not the same, url() is the
concrete url of the file, u is the url with the backup prefix/suffix


-- 
Christoph Cullmann
KDE Developer, kde.org Maintainance Team
http://www.babylon2k.de, cullmann@kde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic