projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fca6f1b
)
add SIGCHILD
author
minima
<minima>
Fri, 30 Mar 2001 21:38:18 +0000
(21:38 +0000)
committer
minima
<minima>
Fri, 30 Mar 2001 21:38:18 +0000
(21:38 +0000)
perl/DXDebug.pm
patch
|
blob
|
history
src/client.c
patch
|
blob
|
history
diff --git
a/perl/DXDebug.pm
b/perl/DXDebug.pm
index 0e96362674a3a8b3efadb4b98aa5a421ef3e2c95..7640a2a1cd5d594607d77932a370379d23902128 100644
(file)
--- a/
perl/DXDebug.pm
+++ b/
perl/DXDebug.pm
@@
-57,10
+57,9
@@
sub dbgstore
chomp $r;
my @l = split /\n/, $r;
for (@l) {
chomp $r;
my @l = split /\n/, $r;
for (@l) {
- my $l = $_;
- $l =~ s/([\x00\x08\x0B-\x1f\x7f-\xff])/uc sprintf("%%%02x",ord($1))/eg;
- print "$l\n" if defined \*STDOUT;
- $fp->writeunix($t, "$t^$l");
+ s/([\x00\x08\x0B-\x1f\x7f-\xff])/uc sprintf("%%%02x",ord($1))/eg;
+ print "$_\n" if defined \*STDOUT;
+ $fp->writeunix($t, "$t^$_");
}
}
}
}
}
}
diff --git
a/src/client.c
b/src/client.c
index a3147d551dd4a91bd74dec75519e7131e2740193..29c8bf5cd0f5b654cf6411e776449339d55e08ac 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-901,7
+901,13
@@
main(int argc, char *argv[])
#ifdef SIGPWR
signal(SIGPWR, terminate);
#endif
#ifdef SIGPWR
signal(SIGPWR, terminate);
#endif
+#ifdef SIGCLD
signal(SIGCLD, reaper);
signal(SIGCLD, reaper);
+#else
+ #ifdef SIGCHILD
+ signal(SIGCHILD, reaper);
+ #endif
+#endif
/* init a few things */
chain_init(&echobase);
/* init a few things */
chain_init(&echobase);