diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-10-24 15:03:03 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-10-24 15:03:03 +0200 |
commit | 60f70593b491c1b7629cc748a8cb632ba2736b0e (patch) | |
tree | 007492c9a470f4cc1447993ed3a81fc0e6d73c26 | |
parent | 093e95ddd368963495e2229f20a56cf4e2ea5c1d (diff) | |
download | packages-60f70593b491c1b7629cc748a8cb632ba2736b0e.tar.xz |
core/gdbm: test 31 is fixed upstream (FS32#204), removed local patching
-rw-r--r-- | core/gdbm/8952f7fd7cebffbe4ecf8c232e4435c5de72678a.patch | 31 | ||||
-rw-r--r-- | core/gdbm/PKGBUILD | 15 |
2 files changed, 0 insertions, 46 deletions
diff --git a/core/gdbm/8952f7fd7cebffbe4ecf8c232e4435c5de72678a.patch b/core/gdbm/8952f7fd7cebffbe4ecf8c232e4435c5de72678a.patch deleted file mode 100644 index c98f721e..00000000 --- a/core/gdbm/8952f7fd7cebffbe4ecf8c232e4435c5de72678a.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 8952f7fd7cebffbe4ecf8c232e4435c5de72678a Mon Sep 17 00:00:00 2001 -From: Sergey Poznyakoff <gray@gnu.org> -Date: Thu, 16 Sep 2021 08:45:29 +0300 -Subject: Fix computation of dbf->avail->count after pushing new avail block. - -This is a very long-standing bug that caused a loss of an avail -entry if the original avail table had odd number of entries. - -* src/falloc.c (push_avail_block): Fix computation of dbf->avail->count. ---- - src/falloc.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/falloc.c b/src/falloc.c -index 979d77a..890ed7b 100644 ---- a/src/falloc.c -+++ b/src/falloc.c -@@ -314,8 +314,8 @@ push_avail_block (GDBM_FILE dbf) - else - dbf->avail->av_table[index>>1] = dbf->avail->av_table[index]; - -- /* Update the header avail count to previous size divided by 2. */ -- dbf->avail->count >>= 1; -+ /* Update the header avail count. */ -+ dbf->avail->count -= temp->count; - - rc = 0; - do --- -cgit v1.2.1 - diff --git a/core/gdbm/PKGBUILD b/core/gdbm/PKGBUILD deleted file mode 100644 index a8c7ed45..00000000 --- a/core/gdbm/PKGBUILD +++ /dev/null @@ -1,15 +0,0 @@ -# see also FS32#204 -source+=('8952f7fd7cebffbe4ecf8c232e4435c5de72678a.patch') -sha512sums+=('bf9e554bdd66565ed7635184671cfdac3ab505c09dbf4df6d944dbb1b39b6e39c57ed49dc67984cffe025de6a5d7e941e4d2934a1f4071b192a28cd114835b90') -b2sums+=('725a0f6f61cd8dcbe77b73d44980bc966259ebdd9504ea50f4237273cfdda71904db89fbecb2ead67af86af1c8739b037c8d83dd37d19f81abeeb024d2781c38') -eval "$( - { - declare -f prepare || \ - printf 'prepare() {\n}\n' - } \ - | sed ' - /autoreconf/ a \ - patch -Np1 -i ../8952f7fd7cebffbe4ecf8c232e4435c5de72678a.patch - ' -)" - |