[cvsnt] Re: cvs [server aborted]: cannot rename file
Tony Hoyle
tmh at nodomain.org
Thu Oct 28 22:30:18 BST 2004
Torsten Martinsen wrote:
> 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?
>
There's already such a check (using fncmp instead as you have to take
into account slashes etc.) so I know it's not renaming to the same
file... not sure why it says it is - I haven't tracked that down.
Tony
More information about the cvsnt
mailing list