Project

General

Profile

« Previous | Next » 

Revision 4126aaa3

Added by David Sorber almost 8 years ago

Additional minor output formatting fixes.

View differences:

software/photo_compress_archiver/PhotoCompressArchiver.cc
<< " files:\n" << ENDC << std::endl;
WorkUnit* work_unit = nullptr;
for (uint32_t idx = 0; idx < m_errors.size(); ++idx)
uint32_t size = m_errors.size();
for (uint32_t idx = 0; idx < size; ++idx)
{
work_unit = m_errors.pop_front();
std::cout << " " << work_unit->m_path << std::endl;
std::cout << " " << work_unit->m_path.string() << std::endl;
delete work_unit;
}
std::cout << std::endl;
......
WRKR_OUT_ERR("the input file \"" << work_unit->m_path
<< "\" does not appear to be a valid "
"packjpg (.pjg) file even though its filename "
"suggests it is!\n")
"suggests it is!")
m_errors.push_back(work_unit);
continue;
}
......
WRKR_OUT_ERR("the input file \"" << work_unit->m_path
<< "\" does not appear to be a valid "
"JPEG (.jpg) file even though its filename "
"suggests it is!\n")
"suggests it is!")
m_errors.push_back(work_unit);
continue;
}
......
WRKR_OUT_ERR("An error occurred during the "
<< (m_decompress ? "decompression" : "compression")
<< " operation on " << work_unit->m_path
<< ": " << message << "\n")
<< ": " << message)
m_errors.push_back(work_unit);
continue;
}

Also available in: Unified diff