[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 18 Dec 2017 18:03:41 +0000

Good morning Stefan,

stefan2_at_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
Received on 2017-12-18 19:03:45 CET

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.