Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to email@example.com.
> But I got an idea: Since the errors seems to happen only when > renaming a file to the same name Not true, unfortunately. I've just tested TortoiseCVS v1.8.2 "Update Special", "get clean copy" within one of my quite large sandbox and it was crashing with "Permission denied" error on attempt to copy _new_file.xxx to file.xxx During several attempts it crashed arbitrarily on different files. Once I replaced original TortoiseCVS 1.8.2 cvs client 2.0.58b with 2.0.58a one everything was fine. OS: Win2kProf, no AV. Something weird happened between 2.0.58a and 2.0.58b (and 58c keeps the problem) Jan > -----Original Message----- > From: Torsten Martinsen [mailto:torsten at tiscali.dk] > Sent: Thursday, October 28, 2004 4:09 PM > To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook > Subject: Re: [cvsnt] Re: cvs [server aborted]: cannot rename file > > > Bryan Kuhn wrote: > > >MoveFileExA returned 0, failing > >GetLastError returned 0, meaning no error > > > > > Quite strange. I just did a quick test, and MoveFileEx() > seems to work > fine even if arg 1 and arg 2 are the same. > > But I got an idea: Since the errors seems to happen only when > renaming a > file to the same name, and since this is a no-op anyway, could the > solution not be a simple "if (strcmp(src, dst))" before the > MoveFileEx() > call? > > -Torsten > _______________________________________________ > cvsnt mailing list > cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook > http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs >