projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[packages] tor-alpha: update to 0.2.2.22-alpha, add archive mirror
[openwrt/svn-archive/archive.git]
/
net
/
djbdns
/
patches
/
270-dnscache-sigpipe-fix.patch
1
--- a/dnscache.c
2
+++ b/dnscache.c
3
@@ -1,4 +1,5 @@
4
#include <unistd.h>
5
+#include <signal.h>
6
#include "env.h"
7
#include "exit.h"
8
#include "scan.h"
9
@@ -391,6 +392,7 @@ int main()
10
char *x;
11
unsigned long cachesize;
12
13
+ signal(SIGPIPE, SIG_IGN);
14
x = env_get("IP");
15
if (!x)
16
strerr_die2x(111,FATAL,"$IP not set");