RE: svn commit: r1444956 - in /subversion/branches/fsfs-format7/subversion: libsvn_client/patch.c libsvn_fs_fs/fs.c libsvn_fs_fs/fs_fs.c libsvn_fs_fs/hotcopy.c libsvn_fs_fs/transaction.c libsvn_repos/repos.c libsvn_wc/adm_files.c
From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 11 Feb 2013 22:03:24 +0100
> -----Original Message-----
Why did you deprecate this function instead of adding a separate optimized variant for your use case.
I don't think providing an explicit size makes sense for the average caller?
Bert
<snip>
> Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/fs.c
Not new in this patch, but can you please try to avoid clearing *any* error when possible. Please check for the sensible errors to clear and return the rest. (There are standard macros to check for file exists, etc.)
That makes it much easier to resolve problems in the future and with the simple svn_error_compose_create() there is no good reason to drop errors.
Bert
|
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.