Dear maintainer,

I've prepared an NMU for bash (versioned as 4.2-4wheezy0.1, with
testing as the target distribution) and uploaded it to DELAYED/5.

Please feel free to tell me if I should delay it longer or cancel it.

Regards.
diff -u bash-4.2/debian/changelog bash-4.2/debian/changelog
--- bash-4.2/debian/changelog
+++ bash-4.2/debian/changelog
@@ -1,3 +1,12 @@
+bash (4.2-4wheezy0.1) testing; urgency=low
+
+  * Non-maintainer upload.
+  * debian/bash.preinst-lib.c: pass F_[GS]ETFD, not F_[GS]ETFL, to fcntl
+    to set FD_CLOEXEC flag, avoiding "Inappropriate ioctl for device"
+    errors installing using the upstream FreeBSD kernel (Closes: #679198)
+
+ -- Nicolas Boulenguez <nico...@debian.org>  Fri, 21 Dec 2012 23:47:40 +0100
+
 bash (4.2-4) unstable; urgency=high
 
   * Apply upstream patches 030 - 036, fixes for
diff -u bash-4.2/debian/bash.preinst-lib.c bash-4.2/debian/bash.preinst-lib.c
--- bash-4.2/debian/bash.preinst-lib.c
+++ bash-4.2/debian/bash.preinst-lib.c
@@ -60,8 +60,8 @@
 
 void set_cloexec(int fd)
 {
-	int flags = fcntl(fd, F_GETFL);
-	if (flags < 0 || fcntl(fd, F_SETFL, flags | FD_CLOEXEC))
+	int flags = fcntl(fd, F_GETFD);
+	if (flags < 0 || fcntl(fd, F_SETFD, flags | FD_CLOEXEC))
 		die_errno("cannot set close-on-exec flag");
 }
 

Reply via email to