ALT Linux Bugzilla
– Attachment 2854 Details for
Bug 16900
apt: слишком много пакетов
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
patch by led@
apt-0.5.15lorg2-pkgcache.patch (text/plain), 1.01 KB, created by
Michael Shigorin
on 2008-08-27 18:07:22 MSD
(
hide
)
Description:
patch by led@
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2008-08-27 18:07:22 MSD
Size:
1.01 KB
patch
obsolete
>diff -urN apt-0.5.15lorg2.orig/apt-pkg/pkgcachegen.cc apt-0.5.15lorg2/apt-pkg/pkgcachegen.cc >--- apt-0.5.15lorg2.orig/apt-pkg/pkgcachegen.cc 2008-05-11 18:14:17 +0300 >+++ apt-0.5.15lorg2/apt-pkg/pkgcachegen.cc 2008-08-25 19:36:38 +0300 >@@ -228,7 +228,7 @@ > > FoundFileDeps |= List.HasFileDeps(); > >- if (Cache.HeaderP->PackageCount >= (1ULL<<sizeof(Cache.PkgP->ID)*8)-1) >+ if (Cache.HeaderP->PackageCount >= UINT_MAX) > return _error->Error(_("Wow, you exceeded the number of package " > "names this APT is capable of.")); > if (Cache.HeaderP->VersionCount >= (1ULL<<(sizeof(Cache.VerP->ID)*8))-1) >diff -urN apt-0.5.15lorg2.orig/apt-pkg/pkgcache.h apt-0.5.15lorg2/apt-pkg/pkgcache.h >--- apt-0.5.15lorg2.orig/apt-pkg/pkgcache.h 2008-05-11 18:14:17 +0300 >+++ apt-0.5.15lorg2/apt-pkg/pkgcache.h 2008-08-25 19:25:35 +0300 >@@ -227,7 +227,7 @@ > unsigned char InstState; // Flags > unsigned char CurrentState; // State > >- unsigned short ID; >+ unsigned int ID; > unsigned long Flags; > }; >
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 16900
: 2854