From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 10 Dec 2019 02:54:06 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20191209235406.GA15810@altlinux.org> References: <20191206131606.83061-1-darktemplar@altlinux.org> <20191206131606.83061-2-darktemplar@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191206131606.83061-2-darktemplar@altlinux.org> Subject: [devel] [PATCH apt 0/3] Fix 0.5.15lorg2-alt70~9 fallout X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2019 23:54:07 -0000 Archived-At: List-Archive: List-Post: Commit 6d5e6a689d07de8feef2cbecb24bc42d5994861b aka 0.5.15lorg2-alt70~9 ("apt-pkg/pkgcachegen.{cc,h} changes") among many useful changes introduced a few problematic ones, too. This series hopefully cleans up the fallout. Dmitry V. Levin (3): apt-pkg/cacheiterators.h: revert #include apt-pkg/contrib/mmap.cc: revert confusing change of Flags to this->Flags Fix UB in pointer arithmetic apt/apt-pkg/Makefile.am | 1 + apt/apt-pkg/cacheiterators.h | 14 +++++++------- apt/apt-pkg/contrib/mmap.cc | 28 ++++++++++++++-------------- apt/apt-pkg/pkgcachegen.cc | 27 +++++++++++---------------- apt/apt-pkg/rebase_pointer.h | 25 +++++++++++++++++++++++++ apt/apt-pkg/rpm/rpmlistparser.cc | 3 ++- 6 files changed, 60 insertions(+), 38 deletions(-) create mode 100644 apt/apt-pkg/rebase_pointer.h -- ldv