[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg GIT repos does not build [patch]

Dear Dpkg developers,

There is a small typo in dpkg GIT repository that prevent it to build.
Please see the attached patch.

Bill. <ballombe@debian.org>

Imagine a large red swirl here. 
diff --git a/lib/dpkg/parse.c b/lib/dpkg/parse.c
index 325e9a1..c439a7f 100644
--- a/lib/dpkg/parse.c
+++ b/lib/dpkg/parse.c
@@ -387,7 +387,7 @@ int parsedb(const char *filename, enum parsedbflags flags,
   if (data != NULL) {
 #ifdef HAVE_MMAP
-    munmap(data, stat.st_size);
+    munmap(data, st.st_size);

Reply to: