Просмотр исходного кода

undo the temporary progress reporting disabling which slipped into last commit

David Kalnischkies лет назад: 15
Родитель
Сommit
3d17b9ffc7
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      apt-pkg/edsp.cc

+ 4 - 4
apt-pkg/edsp.cc

@@ -450,10 +450,10 @@ bool EDSP::WriteSolution(pkgDepCache &Cache, FILE* output)
 									/*}}}*/
 // EDSP::WriteProgess - pulse to the given file descriptor		/*{{{*/
 bool EDSP::WriteProgress(unsigned short const percent, const char* const message, FILE* output) {
-// 	fprintf(output, "Progress: %s\n", TimeRFC1123(time(NULL)).c_str());
-// 	fprintf(output, "Percentage: %d\n", percent);
-// 	fprintf(output, "Message: %s\n\n", message);
-// 	fflush(output);
+	fprintf(output, "Progress: %s\n", TimeRFC1123(time(NULL)).c_str());
+	fprintf(output, "Percentage: %d\n", percent);
+	fprintf(output, "Message: %s\n\n", message);
+	fflush(output);
 	return true;
 }
 									/*}}}*/