summaryrefslogtreecommitdiff
path: root/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-05-26 19:16:12 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-05-26 19:16:12 +0000
commitd630bf6330993ada782a1bd856da22c78516a1d5 (patch)
tree6dea640889dbe4946eb5987d7f7e777ebc1c5b07 /recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff
parent11af43ab7498f86026004daeca86fdde8f1ae0b6 (diff)
kismet: Update to version 2008-05-R1.
Diffstat (limited to 'recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff')
-rw-r--r--recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff
new file mode 100644
index 0000000000..4c1d3a2360
--- /dev/null
+++ b/recipes/kismet/kismet-2008-05-R1/kismet-2008-05-R1-crash.diff
@@ -0,0 +1,20 @@
+--- kismet_wrapper.cc
++++ kismet_wrapper.cc
+@@ -79,7 +79,7 @@ void reap(int sig) {
+ if (FD_ISSET(epipe[0], &rset)) {
+ if (fgets(ret, 2048, err) == NULL ||
+ feof(err)) {
+- if (feof(out))
++ if (!check_out || feof(out))
+ break;
+
+ fclose(err);
+@@ -98,7 +98,7 @@ void reap(int sig) {
+ if (FD_ISSET(rpipe[0], &rset)) {
+ if (fgets(ret, 2048, out) == NULL ||
+ feof(out)) {
+- if (feof(err))
++ if (!check_err || feof(err))
+ break;
+
+ fclose(out);