@@ -1,3 +1,8 @@
+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.
@@ -1,5 +1,8 @@
dpkg (1.10.9) unstable; urgency=low
+ * Fix dereference in main/help.c:cu_closefd(), which was the cause of
-- Adam Heath <doogie@debian.org> UNRELEASED
dpkg (1.10.8) unstable; urgency=low
@@ -135,7 +135,7 @@ void cu_closedir(int argc, void **argv) {
}
void cu_closefd(int argc, void **argv) {
- int ip= *(int*)argv;
+ int ip= *(int*)argv[0];
close(ip);