{
std::stringstream arg_buffer;
- for (size_t x= 0; x < argc; x++)
+ for (size_t x= 0; x < argc; ++x)
{
arg_buffer << built_argv[x] << " ";
}
{
std::stringstream arg_buffer;
- for (char** ptr= argv; *ptr; ptr++)
+ for (char** ptr= argv; *ptr; ++ptr)
{
arg_buffer << *ptr << " ";
}
data_was_read= true;
arg.reserve(read_length +1);
- for (size_t x= 0; x < read_length; x++)
+ for (size_t x= 0; x < read_length; ++x)
{
arg.push_back(buffer[x]);
}
if (_open[type])
{
- int ret;
if (::close(_pipe_fd[type]) == -1)
{
Error << "close(" << strerror(errno) << ")";
_argc+= 1;
}
- for (Options::const_iterator iter= _options.begin(); iter != _options.end(); iter++)
+ for (Options::const_iterator iter= _options.begin(); iter != _options.end(); ++iter)
{
_argc++;
if ((*iter).second.empty() == false)
{
std::stringstream arg_buffer;
- for (size_t x= 1 + _use_libtool ? 2 : 0;
+ for (size_t x= (1 +_use_libtool) ? 2 : 0;
x < _argc and built_argv[x];
- x++)
+ ++x)
{
arg_buffer << built_argv[x] << " ";
}
{
if (built_argv)
{
- for (size_t x= 0; x < _argc; x++)
+ for (size_t x= 0; x < _argc; ++x)
{
if (built_argv[x])
{