RE: svn commit: r1711582 - in /subversion/trunk/subversion: libsvn_fs_fs/tree.c tests/libsvn_fs/fs-test.c
From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 2 Nov 2015 13:22:17 +0100
> -----Original Message-----
> > I don't think you want to backport this, but returning
No, but as we go we can make our own implementations more strictly defined than before.
One of the reasons for not strictly documenting things before, might be that we want to improve things later. Not documenting things gives more freedom to change things for different reasons. (The whole C standard is based on explicitly keeping things undefined).
The old code might have relied on falling back to error handling on a different layer, which might have given a different (or more generic) error. But as we already documented these two functions to only apply to files, there are good reasons to test implementations on this... in fact you just added the test.
Once all implementations match a stricter standard we can improve the documentation and implementation by producing a more stable and guaranteed error.
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.