subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1631240 - /subversion/trunk/subversion/libsvn_fs_fs/util.c
Date Sun, 12 Oct 2014 18:47:52 GMT
Author: stefan2
Date: Sun Oct 12 18:47:52 2014
New Revision: 1631240

URL: http://svn.apache.org/r1631240
Log:
* subversion/libsvn_fs_fs/util.c
  (svn_fs_fs__read_min_unpacked_rev): Use a verifying rev num parser.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/util.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/util.c?rev=1631240&r1=1631239&r2=1631240&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/util.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/util.c Sun Oct 12 18:47:52 2014
@@ -412,7 +412,7 @@ svn_fs_fs__read_min_unpacked_rev(svn_rev
   SVN_ERR(svn_io_read_length_line(file, buf, &len, pool));
   SVN_ERR(svn_io_file_close(file, pool));
 
-  *min_unpacked_rev = SVN_STR_TO_REV(buf);
+  SVN_ERR(svn_revnum_parse(min_unpacked_rev, buf, NULL));
   return SVN_NO_ERROR;
 }
 



Mime
View raw message