Revision: 72318
          http://sourceforge.net/p/brlcad/code/72318
Author:   starseeker
Date:     2019-02-02 17:14:45 +0000 (Sat, 02 Feb 2019)
Log Message:
-----------
whoops - ended up skipping rev1 line

Revision Links:
--------------
    http://sourceforge.net/p/brlcad/code/1

Modified Paths:
--------------
    brlcad/trunk/misc/repoconv/dercs/svn_de-rcs.cxx

Modified: brlcad/trunk/misc/repoconv/dercs/svn_de-rcs.cxx
===================================================================
--- brlcad/trunk/misc/repoconv/dercs/svn_de-rcs.cxx     2019-02-02 14:59:56 UTC 
(rev 72317)
+++ brlcad/trunk/misc/repoconv/dercs/svn_de-rcs.cxx     2019-02-02 17:14:45 UTC 
(rev 72318)
@@ -177,8 +177,10 @@
     std::vector<std::string>::iterator nl_it;
 
     // Find node path, or bail if we hit a new revision first
+    size_t line_start = infile.tellg();
     while (!npath.length() && std::getline(infile, line)) {
        if (!sfcmp(line, rkey)) {
+           infile.seekg(line_start);
            return -1;  // Done with revision
        }
        node_lines.push_back(line);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to