From 69e40db5a24708f9df2bed38a224d4688226ace9 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Jan 2006 21:17:52 +0000 Subject: [PATCH] *** empty log message *** --- configure | 2 +- ptytty.m4 | 2 +- src/fdpass.C | 2 +- src/perl/remote-clipboard | 13 +------------ 4 files changed, 4 insertions(+), 15 deletions(-) diff --git a/configure b/configure index 804fb75f..9db31f2b 100755 --- a/configure +++ b/configure @@ -11939,7 +11939,7 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include // broken bsds (is that redundant) need this +#include // broken bsds (is that redundant?) need this #include #include #include diff --git a/ptytty.m4 b/ptytty.m4 index 1e574dfb..a687dea7 100644 --- a/ptytty.m4 +++ b/ptytty.m4 @@ -453,7 +453,7 @@ AC_DEFUN([SCM_RIGHTS_CHECK], [ AC_CACHE_CHECK(for unix-compliant filehandle passing ability, can_pass_fds, [AC_TRY_LINK([ -#include // broken bsds (is that redundant) need this +#include // broken bsds (is that redundant?) need this #include #include #include diff --git a/src/fdpass.C b/src/fdpass.C index 46f21fac..39d59cb6 100644 --- a/src/fdpass.C +++ b/src/fdpass.C @@ -25,7 +25,7 @@ #include "../config.h" -#include // needed by freebsd for NULL used in sys/uio.h +#include // needed by broken bsds for NULL used in sys/uio.h #include #include diff --git a/src/perl/remote-clipboard b/src/perl/remote-clipboard index 4b366041..e31f33a5 100644 --- a/src/perl/remote-clipboard +++ b/src/perl/remote-clipboard @@ -75,9 +75,7 @@ sub fetch { $self->selection_clear; $self->selection ($txt); $self->selection_grab (urxvt::CurrentTime); - close $fh; - my $status = $? >> 8; - $self->msg ("selection fetched (status $status)"); + $self->msg ("selection fetched"); } }); } @@ -102,13 +100,4 @@ sub on_start { () } -sub on_user_command { - my ($self, $cmd) = @_; - - if ($cmd eq "selection-pastebin:remote-pastebin") { - $self->upload_paste; - } - - () -} -- 2.34.1