"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "apt-private/acqprogress.cc" between
apt-2.2.3.tar.gz and apt-2.2.4.tar.gz

About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.

acqprogress.cc  (apt-2.2.3):acqprogress.cc  (apt-2.2.4)
skipping to change at line 325 skipping to change at line 325
ioprintf(out,_("Media change: please insert the disc labeled\n" ioprintf(out,_("Media change: please insert the disc labeled\n"
" '%s'\n" " '%s'\n"
"in the drive '%s' and press [Enter]\n"), "in the drive '%s' and press [Enter]\n"),
Media.c_str(),Drive.c_str()); Media.c_str(),Drive.c_str());
char C = 0; char C = 0;
bool bStatus = true; bool bStatus = true;
while (C != '\n' && C != '\r') while (C != '\n' && C != '\r')
{ {
int len = read(STDIN_FILENO,&C,1); int len = read(STDIN_FILENO,&C,1);
if(C == 'c' || len <= 0) if(C == 'c' || len <= 0) {
bStatus = false; bStatus = false;
break;
}
} }
if(bStatus) if(bStatus)
Update = true; Update = true;
return bStatus; return bStatus;
} }
/*}}}*/ /*}}}*/
bool AcqTextStatus::ReleaseInfoChanges(metaIndex const * const L, metaIndex cons t * const N, std::vector<ReleaseInfoChange> &&Changes)/*{{{*/ bool AcqTextStatus::ReleaseInfoChanges(metaIndex const * const L, metaIndex cons t * const N, std::vector<ReleaseInfoChange> &&Changes)/*{{{*/
{ {
if (Quiet >= 2 || isatty(STDOUT_FILENO) != 1 || isatty(STDIN_FILENO) != 1 || if (Quiet >= 2 || isatty(STDOUT_FILENO) != 1 || isatty(STDIN_FILENO) != 1 ||
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)