SOURCES: util-vserver-size_t.patch (NEW) - fix rpm-fake-resolver o...
baggins
baggins at pld-linux.org
Thu Jul 7 14:02:49 CEST 2005
Author: baggins Date: Thu Jul 7 12:02:49 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix rpm-fake-resolver on not-32bit archs
---- Files affected:
SOURCES:
util-vserver-size_t.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/util-vserver-size_t.patch
diff -u /dev/null SOURCES/util-vserver-size_t.patch:1.1
--- /dev/null Thu Jul 7 14:02:50 2005
+++ SOURCES/util-vserver-size_t.patch Thu Jul 7 14:02:44 2005
@@ -0,0 +1,22 @@
+Writer (rpm-fake.so) sends size_t sized data, we must read it as size_t
+
+--- util-vserver-0.30.207/src/rpm-fake-resolver.c~ 2005-04-28 20:08:01.000000000 +0200
++++ util-vserver-0.30.207/src/rpm-fake-resolver.c 2005-07-07 13:59:56.343332673 +0200
+@@ -150,7 +150,7 @@
+ static void
+ do_getpwnam()
+ {
+- uint32_t len;
++ size_t len;
+ Eread(0, &len, sizeof len);
+
+ if (len<MAX_RQSIZE) {
+@@ -169,7 +169,7 @@
+ static void
+ do_getgrnam()
+ {
+- uint32_t len;
++ size_t len;
+ Eread(0, &len, sizeof len);
+
+ if (len<MAX_RQSIZE) {
================================================================
More information about the pld-cvs-commit
mailing list