projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename setmode for freebsd
[spider.git]
/
perl
/
winclient.pl
diff --git
a/perl/winclient.pl
b/perl/winclient.pl
index f7f264b9b7f1dd6d1687fb74b40266b9092da429..58db0b8c95f4ce960f4adbddabac9cd618738335 100755
(executable)
--- a/
perl/winclient.pl
+++ b/
perl/winclient.pl
@@
-75,6
+75,8
@@
if ($childpid) {
STDOUT->autoflush(1);
while (defined (my $msg = <$handle>)) {
my ($sort, $call, $line) = $msg =~ /^(\w)([^\|]+)\|(.*)$/;
STDOUT->autoflush(1);
while (defined (my $msg = <$handle>)) {
my ($sort, $call, $line) = $msg =~ /^(\w)([^\|]+)\|(.*)$/;
+ next unless defined $sort;
+ $line =~ s/\%([0-9A-F][0-9A-F])/chr(hex($1))/eg;
if ($sort eq 'Z') {
kill 'TERM', $childpid;
exit(0);
if ($sort eq 'Z') {
kill 'TERM', $childpid;
exit(0);