Ticket #2542: operations.patch

File operations.patch, 449 bytes (added by ai@…, 14 years ago)
  • operations.cpp

    old new  
    12051205      {
    12061206        const std::size_t buf_sz = 32768;
    12071207        boost::scoped_array<char> buf( new char [buf_sz] );
    1208         int infile=0, outfile=0;  // init quiets compiler warning
     1208        int infile=-1, outfile=-1;
    12091209        struct stat from_stat;
    12101210
    12111211        if ( ::stat( from_file_ph.c_str(), &from_stat ) != 0