subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: svn commit: r1818578 - /subversion/trunk/subversion/libsvn_repos/list.c
Date Mon, 18 Dec 2017 18:03:41 GMT
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

Mime
View raw message