Cluster Project branch, master, updated. gfs-kernel_0_1_22-175-g2bc77b7
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, master has been updated
via 2bc77b7c45e9d74eb245a10f454e3041f61a1e7f (commit)
from f1879119019bea3029f852a7248101c397777dbd (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 2bc77b7c45e9d74eb245a10f454e3041f61a1e7f
Author: Christine Caulfield <[email protected]> Date: Wed Apr 16 12:54:36 2008 +0100
[MISC] Make it build with gcc 4.3
A few files now need to include <limits.h> and cman was using an illegal access into the sockaddr_in6 structure.
-----------------------------------------------------------------------
Summary of changes:
ccs/daemon/cnx_mgr.c | 1 + cman/daemon/cman-preconfig.c | 2 +- cman/lib/libcman.c | 1 + dlm/tool/main.c | 1 + gnbd/tools/gnbd_export/gnbd_export.c | 1 + gnbd/tools/gnbd_import/gnbd_import.c | 1 + group/gfs_controld/lock_dlm.h | 1 + 7 files changed, 7 insertions(+), 1 deletions(-)
ccs/daemon/cnx_mgr.c +1 -0
@@ -23,6 +23,7 @@#include <arpa/inet.h> #include <netdb.h> #include <time.h> +#include <limits.h> #include <libxml/parser.h> #include <libxml/tree.h> #include <libxml/xpath.h>
cman/daemon/cman-preconfig.c +1 -1
@@ -753,7 +753,7 @@ static int set_noccs_defaults(struct objdb_iface_ver0 *objdb) }if (ainfo->ai_family ==AF_INET6 ) {struct sockaddr_in6 *addr = (struct sockaddr_in6 *)ainfo->ai_addr; -memcpy (&nodeid, &addr->sin6_addr.in6_u.u6_addr32[3 ],sizeof (int )); +memcpy (&nodeid, &addr->sin6_addr.s6_addr32[3 ],sizeof (int )); }log_printf (LOG_INFO ,"Our Node ID is %d\n" , nodeid);freeaddrinfo (ainfo);
cman/lib/libcman.c +1 -0
@@ -30,6 +30,7 @@#include <netinet/in.h> #include <string.h> #include <errno.h> +#include <limits.h> #include "cnxman-socket.h" #include "libcman.h"
dlm/tool/main.c +1 -0
@@ -21,6 +21,7 @@#include <fcntl.h> #include <string.h> #include <errno.h> +#include <limits.h> #include <netinet/in.h> #include "libdlm.h"
gnbd/tools/gnbd_export/gnbd_export.c +1 -0
@@ -24,6 +24,7 @@#include <sys/wait.h> #include <arpa/inet.h> #include <dirent.h> +#include <limits.h> #include <ctype.h> #define _GNU_SOURCE#include <getopt.h>
gnbd/tools/gnbd_import/gnbd_import.c +1 -0
@@ -22,6 +22,7 @@#include <fcntl.h> #include <string.h> #include <errno.h> +#include <limits.h> #include <dirent.h> #include <netdb.h> #include <arpa/inet.h>
group/gfs_controld/lock_dlm.h +1 -0
@@ -24,6 +24,7 @@#include <time.h> #include <syslog.h> #include <sched.h> +#include <limits.h> #include <asm/types.h> #include <sys/socket.h> #include <sys/poll.h>
hooks/post-receive
--
Cluster Project