kismet-2007-10-R1-memset.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. diff -urN kismet-2007-10-R1-0rig//kismet_wrapper.cc kismet-2007-10-R1/kismet_wrapper.cc
  2. --- kismet-2007-10-R1-0rig//kismet_wrapper.cc 2007-10-06 23:50:03.000000000 +0200
  3. +++ kismet-2007-10-R1/kismet_wrapper.cc 2009-01-21 01:12:42.000000000 +0100
  4. @@ -27,6 +27,7 @@
  5. #include <unistd.h>
  6. #include "config.h"
  7. +#include <string.h>
  8. /* Blob of globals since sighandler needs them */
  9. vector<string> postcli_err;
  10. diff -urN kismet-2007-10-R1-0rig//ringbuf.cc kismet-2007-10-R1/ringbuf.cc
  11. --- kismet-2007-10-R1-0rig//ringbuf.cc 2005-12-11 20:14:39.000000000 +0100
  12. +++ kismet-2007-10-R1/ringbuf.cc 2009-01-21 01:12:26.000000000 +0100
  13. @@ -17,6 +17,7 @@
  14. */
  15. #include "ringbuf.h"
  16. +#include <string.h>
  17. RingBuffer::RingBuffer(int in_size) {
  18. ring_len = in_size;
  19. diff -urN kismet-2007-10-R1-0rig//util.cc kismet-2007-10-R1/util.cc
  20. --- kismet-2007-10-R1-0rig//util.cc 2006-08-28 22:37:29.000000000 +0200
  21. +++ kismet-2007-10-R1/util.cc 2009-01-21 01:12:26.000000000 +0100
  22. @@ -22,6 +22,7 @@
  23. #include <sys/types.h>
  24. #include <sys/stat.h>
  25. #include <fcntl.h>
  26. +#include <string.h>
  27. // We need this to make uclibc happy since they don't even have rintf...
  28. #ifndef rintf
  29. diff -urN kismet-2007-10-R1-0rig//util.h kismet-2007-10-R1/util.h
  30. --- kismet-2007-10-R1-0rig//util.h 2006-08-28 22:37:29.000000000 +0200
  31. +++ kismet-2007-10-R1/util.h 2009-01-21 01:12:26.000000000 +0100
  32. @@ -65,7 +65,7 @@
  33. end = op.end;
  34. return *this;
  35. }
  36. -};
  37. +} swt;
  38. vector<smart_word_token> SmartStrTokenize(string in_str, string in_split, int return_partial = 1);
  39. vector<string> LineWrap(string in_txt, unsigned int in_hdr_len, unsigned int in_maxlen);