You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2017/12/18 18:03:41 UTC
Re: svn commit: r1818578 -
/subversion/trunk/subversion/libsvn_repos/list.c
Good morning Stefan,
stefan2@apache.org 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