Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
8951483ebf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/downloader/downloader.cxx

+ 1 - 0
panda/src/downloader/downloader.cxx

@@ -301,6 +301,7 @@ initiate(const string &file_name, Filename file_dest,
 
 
   // Attempt to open the destination file
   // Attempt to open the destination file
   file_dest.set_binary();
   file_dest.set_binary();
+  _dest_stream.setf(ios::unitbuf, 0);
   bool result;
   bool result;
   if (partial_content == true && first_byte > 0)
   if (partial_content == true && first_byte > 0)
     result = file_dest.open_append(_dest_stream);
     result = file_dest.open_append(_dest_stream);