Closed GoogleCodeExporter closed 8 years ago
thanks, fixed in [10718]. It introduced some extra indentation and is probably
best viewed with:
svn diff -c 10718 -x -b
Original comment by arvid.no...@gmail.com
on 13 Jan 2015 at 6:29
I think there is still a problem because the else case for exists() is still
there.
..
else if (ec.ec)
{
// if exists fails, report that error
ec.file = index;
ec.operation = storage_error::rename;
return;
}
Original comment by webmas...@massaroddel.de
on 14 Jan 2015 at 8:24
that's "else if (ec.ec)", so, only invoked if exists() fails. However, at a
second look, exists() is a bit unintuitive. If the file doesn't exist, instead
of just returning false, it returns false _and_ let's ec be set to
no_such_file_or_directory. I assumed that not to be the case and forgot to
verify.
Original comment by arvid.no...@gmail.com
on 15 Jan 2015 at 1:51
fixed in [10726].
Original comment by arvid.no...@gmail.com
on 15 Jan 2015 at 2:31
Original issue reported on code.google.com by
webmas...@massaroddel.de
on 11 Jan 2015 at 8:06