error-handling problem in FSFS?
From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-10-19 05:06:49 CEST
There's the following function in fs_fs.c:
svn_error_t *
SVN_ERR(svn_fs_fs__dup_perms(old_filename, perms_reference, pool));
/* Move the file into place. */
/* Can't rename across devices; fall back to copying. */
/* Flush the target of the copy to disk. */
#ifdef __linux__
dirname = svn_path_dirname(new_filename, pool);
return err;
Let's say that there's an error returned from the rename at the top,
Now, the error gets returned. But before it gets returned, the
This seems wrong to me; I think after the first block there should be
Now, assuming that this change is a good idea, the question is, can
--dave
-- David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Fri Oct 19 05:07:00 2007 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.