|
Boost-Commit : |
From: widman_at_[hidden]
Date: 2008-07-14 22:26:42
Author: james.widman
Date: 2008-07-14 22:26:41 EDT (Mon, 14 Jul 2008)
New Revision: 47429
URL: http://svn.boost.org/trac/boost/changeset/47429
Log:
[generator] Ignore Vim backup files (filenames containing ".xml~").
Text files modified:
sandbox/committee/concepts/issues/main.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: sandbox/committee/concepts/issues/main.cpp
==============================================================================
--- sandbox/committee/concepts/issues/main.cpp (original)
+++ sandbox/committee/concepts/issues/main.cpp 2008-07-14 22:26:41 EDT (Mon, 14 Jul 2008)
@@ -1330,6 +1330,9 @@
std::string issue_file = entry->d_name;
if (issue_file.find("issue") != 0)
continue;
+ if (issue_file.npos != issue_file.find(".xml~" ))
+ // Ignore back-up files generated by Vim.
+ continue;
std::ifstream infile((issues_path + issue_file).c_str());
if (!infile.is_open())
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk