You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by cm...@apache.org on 2011/06/20 18:29:38 UTC
svn commit: r1137687 - /subversion/trunk/subversion/libsvn_wc/status.c
Author: cmpilato
Date: Mon Jun 20 16:29:38 2011
New Revision: 1137687
URL: http://svn.apache.org/viewvc?rev=1137687&view=rev
Log:
Like r1137686, another follow-up to r1136949 (for issue #3928), now
using a previously established sentinel value macro instead of that
macro's real value. (Translation: "Oops! Missed one!")
* subversion/libsvn_wc/status.c
(assemble_unversioned): Use SVN_INVALID_FILESIZE instead of an explicit
-1 as the sentinel value.
Found by: gstein
Modified:
subversion/trunk/subversion/libsvn_wc/status.c
Modified: subversion/trunk/subversion/libsvn_wc/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/status.c?rev=1137687&r1=1137686&r2=1137687&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/status.c (original)
+++ subversion/trunk/subversion/libsvn_wc/status.c Mon Jun 20 16:29:38 2011
@@ -733,7 +733,7 @@ assemble_unversioned(svn_wc_status3_t **
/*stat->versioned = FALSE;*/
stat->kind = svn_node_unknown; /* not versioned */
stat->depth = svn_depth_unknown;
- stat->filesize = -1;
+ stat->filesize = SVN_INVALID_FILESIZE;
stat->node_status = svn_wc_status_none;
stat->text_status = svn_wc_status_none;
stat->prop_status = svn_wc_status_none;