Commit d727a4da authored by Sagaert Johan's avatar Sagaert Johan Committed by Peter Korsgaard
Browse files

libmbus : bump version to 0.8



This release contains many improvements bug fixes, and major new features and
support for float point numbers and support for multi-telegram communication...

[Peter: also drop autoreconf]
Signed-off-by: default avatarSagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 242541fa
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
Drop bcopy since it's deprecated.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura libmbus-0.7.0/mbus/mbus-tcp.c libmbus-0.7.0-bcopy/mbus/mbus-tcp.c
--- libmbus-0.7.0/mbus/mbus-tcp.c	2011-12-08 13:21:19.000000000 -0300
+++ libmbus-0.7.0-bcopy/mbus/mbus-tcp.c	2012-05-03 09:08:36.987106612 -0300
@@ -78,7 +78,7 @@
         return NULL;
     }
 
-    bcopy((void *)(host_addr->h_addr), (void *)(&s.sin_addr), host_addr->h_length);
+    memmove((void *)(&s.sin_addr), (void *)(host_addr->h_addr), host_addr->h_length);
 
     if (connect(handle->sock, (struct sockaddr *)&s, sizeof(s)) < 0)
     {
+1 −5
Original line number Diff line number Diff line
@@ -4,12 +4,8 @@
#
#############################################################

LIBMBUS_VERSION = 0.7.0
LIBMBUS_VERSION = 0.8.0
LIBMBUS_SITE = http://www.freescada.com/public-dist
LIBMBUS_INSTALL_STAGING = YES

# Without this the build yields an error:
#   cannot find input file: `test/Makefile.in'
LIBMBUS_AUTORECONF = YES

$(eval $(autotools-package))