Ignore:
Timestamp:
Dec 23, 2016, 1:14:39 PM (2 years ago)
Author:
nmedfort
Message:

Reverted last change to support gcc 4.9 prior to changing UCD property table structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/icgrep.cpp

    r5230 r5236  
    303303    systemCall.append(grepArguments);
    304304
    305     system(systemCall.c_str());
     305    const auto rc = system(systemCall.c_str());
     306    if (LLVM_UNLIKELY(rc < 0)) {
     307        throw std::runtime_error("Error calling grep: " + std::string(strerror(errno)));
     308    }
    306309}
    307310
Note: See TracChangeset for help on using the changeset viewer.