made rmount/rmount_remote binary-clean (oops)
MANIFEST
README
test.pl
-example.pl
connect_remote;
sub netlink {
- my ($str) = join("\n",map {" $_"} (split("\n",Dumper(\@_))))."\n";
+ my ($str) = Dumper(\@_)."\n";
$str = sprintf("%08i\n%s",length($str),$str);
while(1) { # retry as necessary
my ($sig) = $SIG{ALRM};
exit 0 if $cmd eq "bye";
die "cannot find command $cmd\n" unless exists($main::{"x_$cmd"});
@args = $main::{"x_$cmd"}(@args);
- $cmd = join("\n",map {" $_"} (split("\n",Dumper(\@args))))."\n";
+ $cmd = Dumper(\@args)."\n";
$cmd = sprintf("%08i\n%s",length($cmd),$cmd);
print $cmd;
}