cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <cstddef> // broken bsds (is that redundant) need this
+#include <cstddef> // broken bsds (is that redundant?) need this
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>
[
AC_CACHE_CHECK(for unix-compliant filehandle passing ability, can_pass_fds,
[AC_TRY_LINK([
-#include <cstddef> // broken bsds (is that redundant) need this
+#include <cstddef> // broken bsds (is that redundant?) need this
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>
#include "../config.h"
-#include <cstddef> // needed by freebsd for NULL used in sys/uio.h
+#include <cstddef> // needed by broken bsds for NULL used in sys/uio.h
#include <sys/uio.h>
#include <sys/types.h>
$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");
}
});
}
()
}
-sub on_user_command {
- my ($self, $cmd) = @_;
-
- if ($cmd eq "selection-pastebin:remote-pastebin") {
- $self->upload_paste;
- }
-
- ()
-}