[packages/poldek] - rel 8; fix tndb bug
cactus
cactus at pld-linux.org
Fri Mar 8 19:33:05 CET 2013
commit 419a5818dce37dc850e51021343be8f74e98b98a
Author: Bartlomiej Zimon <uzi18 at o2.pl>
Date: Fri Mar 8 19:32:54 2013 +0100
- rel 8; fix tndb bug
Signed-off-by: Bartlomiej Zimon <uzi18 at o2.pl>
poldek-git.patch | 32 ++++++++++++++++++++++++++++++++
poldek.spec | 2 +-
2 files changed, 33 insertions(+), 1 deletion(-)
---
diff --git a/poldek.spec b/poldek.spec
index ad2c98b..955c87b 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -15,7 +15,7 @@
%define ver_rpm 5.4.10
%define snap rc6
-%define rel 7%{?with_snap:.%{SNAP}}
+%define rel 8%{?with_snap:.%{SNAP}}
Summary: RPM packages management helper tool
Summary(hu.UTF-8): RPM csomagkezelést segítő eszköz
Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
diff --git a/poldek-git.patch b/poldek-git.patch
index a674183..3f91ffe 100644
--- a/poldek-git.patch
+++ b/poldek-git.patch
@@ -487,3 +487,35 @@ index c1b94fa..c0d98c8 100644
+<a href="http://gitorious.org/poldek/">Gitorious interface</a>
<p>
+commit 4ae50361fe21302e22e50b0f8df4284cd0ec930b
+Author: Bartlomiej Zimon <uzi18 at o2.pl>
+Date: Fri Mar 8 19:21:21 2013 +0100
+
+ - proper type for size of read()
+
+ http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2013-March/156262.html
+
+ Signed-off-by: Bartlomiej Zimon <uzi18 at o2.pl>
+
+diff --git a/tndb/write.c b/tndb/write.c
+index 7b992b1..e1edfb6 100644
+--- a/tndb/write.c
++++ b/tndb/write.c
+@@ -178,7 +178,7 @@ static uint32_t htt_store_size(struct tndb *db)
+
+ static int htt_write(struct tndb *db)
+ {
+- int i, j;
++ unsigned int i, j;
+ uint32_t data_offs, htt_size, ht_offs;
+
+ n_assert((db->hdr.flags & TNDB_NOHASH) == 0);
+@@ -263,7 +263,7 @@ static int htt_compute_digest(struct tndb *db)
+
+ static int tndbw_close(struct tndb *db)
+ {
+- unsigned int nread, ntotal;
++ ssize_t nread, ntotal;
+ char buf[1024 * 16];
+ int fdin = -1, fdout = -1, type, rc;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/419a5818dce37dc850e51021343be8f74e98b98a
More information about the pld-cvs-commit
mailing list