Ticket #2542: operations.patch
File operations.patch, 449 bytes (added by , 14 years ago) |
---|
-
operations.cpp
old new 1205 1205 { 1206 1206 const std::size_t buf_sz = 32768; 1207 1207 boost::scoped_array<char> buf( new char [buf_sz] ); 1208 int infile= 0, outfile=0; // init quiets compiler warning1208 int infile=-1, outfile=-1; 1209 1209 struct stat from_stat; 1210 1210 1211 1211 if ( ::stat( from_file_ph.c_str(), &from_stat ) != 0