This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/4.0.1.x in repository x2goserver. commit 34e59ae01f81a8657045e90824cf62b0a4b35ed7 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Mar 5 08:34:07 2014 +0100 Fix broken file descriptor closures in x2gocleansessions. (Fixes: #441). --- debian/changelog | 2 ++ x2goserver/sbin/x2gocleansessions | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ca530ed..2a8a394 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,8 @@ x2goserver (4.0.1.14-0x2go1) UNRELEASED; urgency=low the connection gets interrupted. SSHFS will then get removed by the Linux kernel and we have to "guess" what desktop icons is actually to be removed. + - Fix broken file descriptor closures in x2gocleansessions. (Fixes: + #441). * x2goserver.spec: - Let builds for EPEL-7 behave like recent Fedora builds. diff --git a/x2goserver/sbin/x2gocleansessions b/x2goserver/sbin/x2gocleansessions index eeda1b8..d982191 100755 --- a/x2goserver/sbin/x2gocleansessions +++ b/x2goserver/sbin/x2gocleansessions @@ -123,7 +123,7 @@ elsif ($pid != 0) elsif ($pid == 0 ) { # close any open file descriptor left open by our parent before the fork - for (glob "/proc/$$/fd/*") { POSIX::close($1) if m{/(\d+)$}; } + for (glob "/proc/$$/fd/*") { POSIX::close($_) if m{/(\d+)$}; } $SIG{TERM}=\&catch_term; $SIG{CHLD} = sub { wait }; -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git