summaryrefslogtreecommitdiff
path: root/package/kismet/patches/110-uclibc++_fixes.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-01 14:54:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-01 14:54:14 +0000
commit1a251dbadca86ccf9e7cd8bf95bccd36a1bc3c44 (patch)
tree9fc1e6a1fb18e6c8adce734a665feedc2fd673c2 /package/kismet/patches/110-uclibc++_fixes.patch
parentd2e1864c77698f255ce7b725b204db513f79b688 (diff)
fix kismet client (uclibc++ bug)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1300 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kismet/patches/110-uclibc++_fixes.patch')
-rw-r--r--package/kismet/patches/110-uclibc++_fixes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kismet/patches/110-uclibc++_fixes.patch b/package/kismet/patches/110-uclibc++_fixes.patch
index 66fc77e077..d27bca07b3 100644
--- a/package/kismet/patches/110-uclibc++_fixes.patch
+++ b/package/kismet/patches/110-uclibc++_fixes.patch
@@ -39,3 +39,15 @@ diff -urN kismet-2005-04-R1.old/tcpserver.cc kismet-2005-04-R1.dev/tcpserver.cc
}
}
+diff -urN kismet-2005-04-R1.old/tcpclient.cc kismet-2005-04-R1.dev/tcpclient.cc
+--- kismet-2005-04-R1.old/tcpclient.cc 2005-04-03 07:33:42.000000000 +0200
++++ kismet-2005-04-R1.dev/tcpclient.cc 2005-07-01 16:42:33.000000000 +0200
+@@ -214,7 +214,7 @@
+ return(-1);
+ }
+ } else {
+- writebuf.erase(0, res);
++ writebuf = "";
+ }
+ }
+