Changeset 597 for trunk/lib/File.cc


Ignore:
Timestamp:
Apr 15, 2008, 12:26:00 AM (15 years ago)
Author:
Peter Johansson
Message:

fixes copyright update - ticket:312

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r589 r597  
    138138    using namespace std;
    139139    LineTypeParser parser(path());
     140    std::ifstream is(path().c_str());
     141    std::string line;
     142    while (std::getline(is, line))
     143      parser.parse(line);
    140144    if (!parser.copyright_found())
    141145      return false;
Note: See TracChangeset for help on using the changeset viewer.