Re: svn commit: rev 7950 - in trunk/subversion: clients/cmdline include libsvn_client libsvn_diff libsvn_fs libsvn_ra libsvn_ra_dav libsvn_ra_svn libsvn_repos libsvn_subr mod_dav_svn svnadmin svndumpfilter svnlook
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-12-09 03:00:18 CET
Erik Huelsmann wrote:
Yes, in general. Certainly the parts that reduce code and reduce the repetition of error messages are good.
> Index: subversion/libsvn_subr/config_file.c
But some parts, like here, are pretty ugly. I don't know if anything better can be done. It's a shame macros can't take variable argument lists.
In this case, one could argue that the "%s" part is redundant since the lower-level error will already have reported the file name, so you could simplifiy it to a constant string "Can't write configuration file", and not use apr_psprintf. I don't know whether you think that is a good idea.
I think it's OK to commit it like this if you don't want to remove the "%s" part.
- Julian
---------------------------------------------------------------------
|
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.