summaryrefslogtreecommitdiff
path: root/package/gpsd/patches/patch-contrib_binlog_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-13 17:17:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-13 17:17:14 +0200
commitb448bbcdab09b70b4d03ea0bc9167878e7f054da (patch)
tree40ea72e4979ce176f6280b25368713122bee1b9c /package/gpsd/patches/patch-contrib_binlog_c
parentd804be5baee6590ff6e91d267c8cb9933ed7ac60 (diff)
parentd2e5a673aa7637c990ca7307e831327eb67e3fe7 (diff)
Merge branch 'master' of ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gpsd/patches/patch-contrib_binlog_c')
-rw-r--r--package/gpsd/patches/patch-contrib_binlog_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-contrib_binlog_c b/package/gpsd/patches/patch-contrib_binlog_c
new file mode 100644
index 000000000..99b20bf47
--- /dev/null
+++ b/package/gpsd/patches/patch-contrib_binlog_c
@@ -0,0 +1,11 @@
+--- gpsd-2.39.orig/contrib/binlog.c 2009-01-28 21:53:46.000000000 +0100
++++ gpsd-2.39/contrib/binlog.c 2009-06-13 09:13:00.000000000 +0200
+@@ -58,7 +58,7 @@ int main(int argc, char **argv) {
+ if (l > 0)
+ write(ofd, buf, l);
+ usleep(1000);
+- bzero(buf, BUFSIZ);
++ memset(buf, 0, BUFSIZ);
+ spinner( n++ );
+ }
+ return 0;