summaryrefslogtreecommitdiff
path: root/package/gpsd/patches/patch-hex_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/gpsd/patches/patch-hex_c')
-rw-r--r--package/gpsd/patches/patch-hex_c11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/gpsd/patches/patch-hex_c b/package/gpsd/patches/patch-hex_c
deleted file mode 100644
index ad6b2e981..000000000
--- a/package/gpsd/patches/patch-hex_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- gpsd-2.39.orig/hex.c Wed Mar 18 18:37:56 2009
-+++ gpsd-2.39/hex.c Tue Feb 16 21:33:16 2010
-@@ -61,7 +61,7 @@ int gpsd_hexpack(char *src, char *dst, size_t len){
- if ((l < 1) || ((size_t)l > len))
- return -2;
-
-- bzero(dst, (int)len);
-+ memset(dst, 0, (int)len);
- for (i = 0; i < l; i++)
- if ((k = hex2bin(src+i*2)) != -1)
- dst[i] = (char)(k & 0xff);