ALT Linux Bugzilla
– Attachment 929 Details for
Bug 4707
apt-shell segfault после прерывания downloading
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
apt-0.5.15cnc6-alterator3.patch
apt-0.5.15cnc6-alterator3.patch (text/plain), 828 bytes, created by
Anton Farygin
on 2005-06-10 16:39:58 MSD
(
hide
)
Description:
apt-0.5.15cnc6-alterator3.patch
Filename:
MIME Type:
Creator:
Anton Farygin
Created:
2005-06-10 16:39:58 MSD
Size:
828 bytes
patch
obsolete
>diff -urN apt-0.5.15cnc6.orig/cmdline/apt-shell.cc apt-0.5.15cnc6/cmdline/apt-shell.cc >--- apt-0.5.15cnc6.orig/cmdline/apt-shell.cc 2005-06-10 16:20:42 +0400 >+++ apt-0.5.15cnc6/cmdline/apt-shell.cc 2005-06-10 16:25:44 +0400 >@@ -147,8 +147,10 @@ > { > if (Guarded) { > delete *Cache; >+ _error->PushState(); > *Cache = new CacheFile; > (*Cache)->Open(); >+ _error->PopState(); > if ((*Cache)->CheckDeps(true) == false) { > c1out << _("There are broken packages. ") > << _("Run `check' to see them.") << endl; >@@ -4058,7 +4060,9 @@ > _error->Error(_("You have no permissions for that")); > return false; > } >- return InstallPackages(*GCache,false); >+ int err = InstallPackages(*GCache,false); >+ _config->Set("APT::Get::Fix-Broken",false); >+ return err; > } > > bool DoStatus(CommandLine &CmdL)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4707
: 929