You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by th...@apache.org on 2017/01/29 10:50:35 UTC

[1/2] avro git commit: Add FreeBSD way of byte-swapping uint32

Repository: avro
Updated Branches:
  refs/heads/master 630e6bc0e -> f5cbd7378


Add FreeBSD way of byte-swapping uint32


Project: http://git-wip-us.apache.org/repos/asf/avro/repo
Commit: http://git-wip-us.apache.org/repos/asf/avro/commit/f2c7b08c
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/f2c7b08c
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/f2c7b08c

Branch: refs/heads/master
Commit: f2c7b08c3395cd9065730c21bd1a6dc25a57dbf4
Parents: 0376544
Author: Dmitry Marakasov <am...@amdmi3.ru>
Authored: Tue Jul 19 18:50:24 2016 +0300
Committer: Dmitry Marakasov <am...@amdmi3.ru>
Committed: Tue Jul 19 18:50:24 2016 +0300

----------------------------------------------------------------------
 lang/c/src/codec.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/f2c7b08c/lang/c/src/codec.c
----------------------------------------------------------------------
diff --git a/lang/c/src/codec.c b/lang/c/src/codec.c
index 4a2502b..e0d35be 100644
--- a/lang/c/src/codec.c
+++ b/lang/c/src/codec.c
@@ -21,6 +21,9 @@
 #  if defined(__APPLE__)
 #    include <libkern/OSByteOrder.h>
 #    define __bswap_32 OSSwapInt32
+#  elif defined(__FreeBSD__)
+#    include <sys/endian.h>
+#    define __bswap_32 bswap32
 #  else
 #    include <byteswap.h>
 #  endif


[2/2] avro git commit: fix for AVRO-1993

Posted by th...@apache.org.
fix for AVRO-1993


Project: http://git-wip-us.apache.org/repos/asf/avro/repo
Commit: http://git-wip-us.apache.org/repos/asf/avro/commit/f5cbd737
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/f5cbd737
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/f5cbd737

Branch: refs/heads/master
Commit: f5cbd7378142dc4d730a234059543b2b1e083c0b
Parents: 630e6bc f2c7b08
Author: Thiruvalluvan M G <th...@startsmartlabs.com>
Authored: Sun Jan 29 16:20:08 2017 +0530
Committer: Thiruvalluvan M G <th...@startsmartlabs.com>
Committed: Sun Jan 29 16:20:08 2017 +0530

----------------------------------------------------------------------
 lang/c/src/codec.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------