more wpa/wificonf fixes
[openwrt.git] / openwrt / package / kismet / patches / 110-uclibc++_fixes.patch
1 diff -urN kismet-2005-04-R1.old/configfile.cc kismet-2005-04-R1.dev/configfile.cc
2 --- kismet-2005-04-R1.old/configfile.cc 2005-04-03 07:33:42.000000000 +0200
3 +++ kismet-2005-04-R1.dev/configfile.cc 2005-04-26 01:37:32.000000000 +0200
4 @@ -24,6 +24,7 @@
5 #include <stdlib.h>
6 #include <stdio.h>
7 #include <errno.h>
8 +#include <time.h>
9 #include "configfile.h"
10 #include "util.h"
11
12 diff -urN kismet-2005-04-R1.old/macaddr.h kismet-2005-04-R1.dev/macaddr.h
13 --- kismet-2005-04-R1.old/macaddr.h 2005-04-03 07:33:42.000000000 +0200
14 +++ kismet-2005-04-R1.dev/macaddr.h 2005-04-26 01:42:38.000000000 +0200
15 @@ -321,12 +321,12 @@
16 }
17
18 // equal
19 - inline bool operator==(const iterator& op) const {
20 + inline bool operator==(const iterator& op) {
21 return (singleton_itr == op.singleton_itr) && (vector_itr == op.vector_itr);
22 }
23
24 // not
25 - inline bool operator!=(const iterator& op) const {
26 + inline bool operator!=(const iterator& op) {
27 return (singleton_itr != op.singleton_itr) || (vector_itr != op.vector_itr);
28 }
29
30 diff -urN kismet-2005-04-R1.old/tcpserver.cc kismet-2005-04-R1.dev/tcpserver.cc
31 --- kismet-2005-04-R1.old/tcpserver.cc 2005-04-03 07:33:42.000000000 +0200
32 +++ kismet-2005-04-R1.dev/tcpserver.cc 2005-06-08 23:17:34.000000000 +0200
33 @@ -373,7 +373,7 @@
34 return 0;
35 }
36 } else {
37 - copt->wrbuf.erase(0, res);
38 + copt->wrbuf = "";
39 }
40 }
41
42 diff -urN kismet-2005-04-R1.old/tcpclient.cc kismet-2005-04-R1.dev/tcpclient.cc
43 --- kismet-2005-04-R1.old/tcpclient.cc 2005-04-03 07:33:42.000000000 +0200
44 +++ kismet-2005-04-R1.dev/tcpclient.cc 2005-07-01 16:42:33.000000000 +0200
45 @@ -214,7 +214,7 @@
46 return(-1);
47 }
48 } else {
49 - writebuf.erase(0, res);
50 + writebuf = "";
51 }
52 }
53
This page took 0.045809 seconds and 5 git commands to generate.