Re: svn commit: r1818578 - /subversion/trunk/subversion/libsvn_repos/list.c

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1818578 - /subversion/trunk/subversion/libsvn_repos/list.c

Daniel Shahaf-2
Good morning Stefan,

[hidden email] wrote on Mon, 18 Dec 2017 14:41 +0000:

> Fix svn_repos_stat() implemention for directories to match the svn_dirent_t
> docstring.
>
> * subversion/libsvn_repos/list.c
>   (fill_dirent): Make sure SIZE is 0 for directories.
>
> +++ subversion/trunk/subversion/libsvn_repos/list.c Mon Dec 18 14:41:31 2017
> @@ -50,6 +50,8 @@ fill_dirent(svn_dirent_t *dirent,
>    if (dirent->kind == svn_node_file)
>      SVN_ERR(svn_fs_file_length(&(dirent->size), root, path, scratch_pool));
> +  else
> +    dirent->size = 0;

Should this be backported?

Daniel