number) on most arches, but close(0) on s390x.
+Sun Sep 15 12:48:36 CDT 2002 Adam Heath <doogie@debian.org>
+
+ * main/help.c: Fix dereference in cu_closefd(), which was the cause of
+ close(random number) on most arches, but close(0) on s390x.
+
Sun Sep 15 12:43:00 CDT 2002 Adam Heath <doogie@debian.org>
* version-nr, debian/changelog: Set 1.10.9 version.
dpkg (1.10.9) unstable; urgency=low
+ * Fix dereference in main/help.c:cu_closefd(), which was the cause of
+ close(random number) on most arches, but close(0) on s390x.
+
-- Adam Heath <doogie@debian.org> UNRELEASED
dpkg (1.10.8) unstable; urgency=low
}
void cu_closefd(int argc, void **argv) {
- int ip= *(int*)argv;
+ int ip= *(int*)argv[0];
close(ip);
}