]> git.proxmox.com Git - mirror_corosync.git/log
mirror_corosync.git
15 years agoavoid 9 warnings
Jim Meyering [Tue, 24 Mar 2009 10:38:39 +0000 (10:38 +0000)]
avoid 9 warnings

* test/logsysbench.c (bm_finish): Make parameter "const".

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1903 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoavoid 13 warnings
Jim Meyering [Tue, 24 Mar 2009 10:38:26 +0000 (10:38 +0000)]
avoid 13 warnings

* exec/mainconfig.c (objdb_get_string): Make "key" const.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1902 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoavoid 22 warnings
Jim Meyering [Tue, 24 Mar 2009 10:38:13 +0000 (10:38 +0000)]
avoid 22 warnings

* exec/totemconfig.c (objdb_get_int): Make "key" const.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1901 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoavoid compiler warnings
Jim Meyering [Tue, 24 Mar 2009 10:38:00 +0000 (10:38 +0000)]
avoid compiler warnings

* lcr/lcr_ifact.c (lcr_component_register): Remove decl of unused var.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1900 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoavoid infloop upon out-of-memory or out-of-semaphores
Jim Meyering [Tue, 24 Mar 2009 10:05:43 +0000 (10:05 +0000)]
avoid infloop upon out-of-memory or out-of-semaphores

* coroipc.c (cslib_service_connect): Upon shmget failure
loop only when errno == EEXIST.  Any other error now translates
to res_setup.error.
Likewise for semget.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1899 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoMake confdb log level consistent with the other services
Fabio M. Di Nitto [Tue, 24 Mar 2009 08:14:58 +0000 (08:14 +0000)]
Make confdb log level consistent with the other services

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1898 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix expansion order within the Makefile.am with the pleasent
Fabio M. Di Nitto [Mon, 23 Mar 2009 21:58:58 +0000 (21:58 +0000)]
Fix expansion order within the Makefile.am with the pleasent
effect to avoid to include .lcrso files in make dist target

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1895 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoautogen.sh: prefer "automake" over automake-1.9
Jim Meyering [Mon, 23 Mar 2009 17:04:37 +0000 (17:04 +0000)]
autogen.sh: prefer "automake" over automake-1.9

* autogen.sh: ...and don't accept ancient versions of automake.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1893 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoChange dist to build corosync-trunk.tar.gz.
Steven Dake [Mon, 23 Mar 2009 14:42:38 +0000 (14:42 +0000)]
Change dist to build corosync-trunk.tar.gz.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1891 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix pkgconfig list of libraries we provide after ipc rework
Fabio M. Di Nitto [Sun, 22 Mar 2009 18:44:33 +0000 (18:44 +0000)]
Fix pkgconfig list of libraries we provide after ipc rework

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1890 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix 64bit alignment issue in totempg
Fabio M. Di Nitto [Sun, 22 Mar 2009 18:35:06 +0000 (18:35 +0000)]
Fix 64bit alignment issue in totempg

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1889 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoChange OPENAIS to COROSYNC in libversions definitions.
Steven Dake [Sun, 22 Mar 2009 15:38:05 +0000 (15:38 +0000)]
Change OPENAIS to COROSYNC in libversions definitions.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1888 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoChange OPENAIS to COROSYNC in ipc ifdefs.
Steven Dake [Sun, 22 Mar 2009 15:37:48 +0000 (15:37 +0000)]
Change OPENAIS to COROSYNC in ipc ifdefs.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1887 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAllow ipcc library to work on some arches which have different parameter
Steven Dake [Sun, 22 Mar 2009 15:31:40 +0000 (15:31 +0000)]
Allow ipcc library to work on some arches which have different parameter
passing requirements for enums.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1886 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAbstracted Shared Memory IPC library
Steven Dake [Sun, 22 Mar 2009 15:28:54 +0000 (15:28 +0000)]
Abstracted Shared Memory IPC library

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1885 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoThis patch fixes a crash in cpg.c where a group is left befopre
Steven Dake [Sat, 21 Mar 2009 11:25:48 +0000 (11:25 +0000)]
This patch fixes a crash in cpg.c where a group is left befopre
cpg_finalise is called. It can cause the process_info structure to be
removed twice from the group list.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1884 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoavoid buffer overrun when there are more than 128 path entries
Jim Meyering [Fri, 20 Mar 2009 15:48:35 +0000 (15:48 +0000)]
avoid buffer overrun when there are more than 128 path entries

* lcr_ifact.c (PATH_LIST_SIZE): Define.
(path_list): Use it.
(ld_library_path_build): Don't store into path_list[path_list_entries]
if the counter is too large.
(ldso_path_build): Likewise.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1883 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agodon't store (and later deref) NULL upon strdup failure
Jim Meyering [Fri, 20 Mar 2009 15:48:27 +0000 (15:48 +0000)]
don't store (and later deref) NULL upon strdup failure

* lcr_ifact.c (ld_library_path_build, ldso_path_build):
Handle strdup failure.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1882 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agodon't segfault upon failed strdup
Jim Meyering [Fri, 20 Mar 2009 15:48:19 +0000 (15:48 +0000)]
don't segfault upon failed strdup

* sa-confdb.c (load_config): Handle out-of-memory.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1881 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRevert last change which broke corosync.
Steven Dake [Fri, 20 Mar 2009 06:55:49 +0000 (06:55 +0000)]
Revert last change which broke corosync.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1880 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoReworked not to require stmt-after-decl support, plus another to fix a
Steven Dake [Fri, 20 Mar 2009 00:01:18 +0000 (00:01 +0000)]
Reworked not to require stmt-after-decl support, plus another to fix a
bug that would arise when parsing more than 128 paths.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1879 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoWhile looking at used of LCRSODIR, I saw an unchecked strdup.
Steven Dake [Thu, 19 Mar 2009 23:50:35 +0000 (23:50 +0000)]
While looking at used of LCRSODIR, I saw an unchecked strdup.
That could lead to a NULL dereference.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1878 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years ago- Every .c file should include "config.h" to get the right defines...
Fabio M. Di Nitto [Thu, 19 Mar 2009 12:58:53 +0000 (12:58 +0000)]
- Every .c file should include "config.h" to get the right defines...

- services/Makefile.am: add include search paths for config.h

- include/corosync/cs_config.h.in exports LCRSODIR and SOCKETDIR

- tools/Makefile.am: drop -D defines for dirs that are now in
cs_config.h or config.h

- configure.ac: sanitize prefix and exec_prefix paths. Export DIRS in
*config.h

- lib/Makefile.am: : drop -D defines for dirs that are now in
cs_config.h or config.h. Add rule to build lcr_ifact.o or building from
lib/ fails miserably

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1877 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove some unnecessary serializer functions.
Steven Dake [Thu, 19 Mar 2009 10:27:17 +0000 (10:27 +0000)]
Remove some unnecessary serializer functions.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1876 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoDont clobber stck on strings with length of zero.
Steven Dake [Thu, 19 Mar 2009 10:20:37 +0000 (10:20 +0000)]
Dont clobber stck on strings with length of zero.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1875 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoDon't clobber stack on strings with length of zero.
Steven Dake [Thu, 19 Mar 2009 10:20:19 +0000 (10:20 +0000)]
Don't clobber stack on strings with length of zero.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1874 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoUpdated TODO for corosync.
Steven Dake [Thu, 19 Mar 2009 09:56:39 +0000 (09:56 +0000)]
Updated TODO for corosync.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1873 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix corosync.pc installation
Fabio M. Di Nitto [Thu, 19 Mar 2009 07:54:55 +0000 (07:54 +0000)]
Fix corosync.pc installation

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1872 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd missing libs from pkgconfig generation
Fabio M. Di Nitto [Thu, 19 Mar 2009 05:41:23 +0000 (05:41 +0000)]
Add missing libs from pkgconfig generation

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1871 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix logsys SONAME
Fabio M. Di Nitto [Thu, 19 Mar 2009 05:21:17 +0000 (05:21 +0000)]
Fix logsys SONAME

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1870 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoDon't use EXTRA_DIST in install/uninstall
Fabio M. Di Nitto [Thu, 19 Mar 2009 04:52:44 +0000 (04:52 +0000)]
Don't use EXTRA_DIST in install/uninstall

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1869 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoSerialize access to service engines.
Steven Dake [Wed, 18 Mar 2009 21:51:07 +0000 (21:51 +0000)]
Serialize access to service engines.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1868 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix coroapi.h header errors.
Steven Dake [Wed, 18 Mar 2009 21:28:50 +0000 (21:28 +0000)]
Fix coroapi.h header errors.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1867 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd missing uninstall-local targets and fix configuration intall target
Fabio M. Di Nitto [Wed, 18 Mar 2009 10:17:50 +0000 (10:17 +0000)]
Add missing uninstall-local targets and fix configuration intall target

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1866 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoMore cleanup for distcheck to work
Fabio M. Di Nitto [Wed, 18 Mar 2009 09:17:40 +0000 (09:17 +0000)]
More cleanup for distcheck to work

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1865 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd a dummy parameter to totemip_iface check so that it compiles on Darwin.
Christine Caulfield [Wed, 18 Mar 2009 08:37:10 +0000 (08:37 +0000)]
Add a dummy parameter to totemip_iface check so that it compiles on Darwin.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1864 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix DARWIN_OPTS expansion
Fabio M. Di Nitto [Wed, 18 Mar 2009 08:30:25 +0000 (08:30 +0000)]
Fix DARWIN_OPTS expansion

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1863 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix more soname= at linking
Fabio M. Di Nitto [Wed, 18 Mar 2009 07:52:48 +0000 (07:52 +0000)]
Fix more soname= at linking

Start fixing distcheck

White space cleanups

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1862 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years ago- tidy up whitespaces
Fabio M. Di Nitto [Tue, 17 Mar 2009 18:37:03 +0000 (18:37 +0000)]
- tidy up whitespaces

- try to keep everything < 80 cols

- stop installing testing lcrso

- fix soname= invokation

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1861 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix doc stuff
Fabio M. Di Nitto [Tue, 17 Mar 2009 13:25:12 +0000 (13:25 +0000)]
Fix doc stuff

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1860 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoUpdate index.html to reflect new changes in man/Makefile.am
Fabio M. Di Nitto [Tue, 17 Mar 2009 13:06:56 +0000 (13:06 +0000)]
Update index.html to reflect new changes in man/Makefile.am

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1859 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoDrop tarball name from AC_INIT as it confuses the hell out of what we need
Fabio M. Di Nitto [Tue, 17 Mar 2009 12:44:47 +0000 (12:44 +0000)]
Drop tarball name from AC_INIT as it confuses the hell out of what we need

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1858 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix the whole manpage stuff
Fabio M. Di Nitto [Tue, 17 Mar 2009 12:43:41 +0000 (12:43 +0000)]
Fix the whole manpage stuff

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1857 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd support for SOCKETDIR
Fabio M. Di Nitto [Tue, 17 Mar 2009 10:46:19 +0000 (10:46 +0000)]
Add support for SOCKETDIR

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1856 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd corosync.pc support
Fabio M. Di Nitto [Tue, 17 Mar 2009 10:03:18 +0000 (10:03 +0000)]
Add corosync.pc support

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1855 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoremove hardcoded /var and use localstatedir
Fabio M. Di Nitto [Tue, 17 Mar 2009 09:53:39 +0000 (09:53 +0000)]
remove hardcoded /var and use localstatedir
instead.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1854 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoconfigure.ac:
Fabio M. Di Nitto [Mon, 16 Mar 2009 13:54:40 +0000 (13:54 +0000)]
configure.ac:
 - Fix white space for --help.
 - Drop LCRSODIR as global and move it to local directory.

all */Makefile.am:
 - export -DDIRECTORY_NAME as required (for now only LCRSO and
SYSCONFDIR)

top level Makefile.am:
- drop hardcoded ETCDIR that is just wrong and use the configured one

*.c files around:
- drop hardcoded ETCDIR and use configured one.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1853 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix LCRSO handling
Fabio M. Di Nitto [Mon, 16 Mar 2009 13:15:25 +0000 (13:15 +0000)]
Fix LCRSO handling

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1852 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoMake everything < 80 cols
Fabio M. Di Nitto [Mon, 16 Mar 2009 11:50:19 +0000 (11:50 +0000)]
Make everything < 80 cols

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1851 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoremove comment
Fabio M. Di Nitto [Mon, 16 Mar 2009 11:36:49 +0000 (11:36 +0000)]
remove comment

fix quoting

make GCC test portable

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1850 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoMajor configure.in/ac cleanup
Fabio M. Di Nitto [Mon, 16 Mar 2009 11:01:50 +0000 (11:01 +0000)]
Major configure.in/ac cleanup

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1849 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years ago- Fix macro typo for PROG_CC_C_O.
Fabio M. Di Nitto [Fri, 13 Mar 2009 10:02:09 +0000 (10:02 +0000)]
- Fix macro typo for PROG_CC_C_O.

- add --enable-debug configure option to #define DEBUG 1 and set
compiler options to default to -O0.

- restore default -O3.

- Drop some random leftovers (CC_IN_CONFIGURE, AISPREFIX, SSH path check
and ppc64 -m64).

- Remove yet another GCC test as -g is automatically detected by
autoconf macros.

- Cleanup a bit deprecated ARCH section.

- Tidy up RESULT section.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1848 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years ago- remove --enable-static option as it is not required. This was a
Fabio M. Di Nitto [Fri, 13 Mar 2009 08:26:56 +0000 (08:26 +0000)]
- remove --enable-static option as it is not required. This was a
leftover from gcc-2.x something time. corosync binary should always be
built dynamic.

- fix quorum_* target as it was missing the list of objects to be linked
in.. doh!

- fix object dependencies between TARGET, TARGET_OBJS and TARGET_SRC.
This also fixes the build/relink issues at install times that have been
noted before.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1847 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAll integers received from objdb_get_int had invalid handle type.
Steven Dake [Thu, 12 Mar 2009 17:13:42 +0000 (17:13 +0000)]
All integers received from objdb_get_int had invalid handle type.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1846 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoUse nocheck flagging on confchg iteration of handle ids.
Steven Dake [Thu, 12 Mar 2009 16:15:34 +0000 (16:15 +0000)]
Use nocheck flagging on confchg iteration of handle ids.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1845 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix testconfdb use of object handles.
Christine Caulfield [Thu, 12 Mar 2009 14:30:58 +0000 (14:30 +0000)]
Fix testconfdb use of object handles.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1844 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoSet correct OBJECT_PARENT_HANDLE define in coroapi.h
Steven Dake [Wed, 11 Mar 2009 23:48:05 +0000 (23:48 +0000)]
Set correct OBJECT_PARENT_HANDLE define in coroapi.h

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1843 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd handle checking to the hdb system.
Steven Dake [Wed, 11 Mar 2009 23:28:01 +0000 (23:28 +0000)]
Add handle checking to the hdb system.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1842 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix several errors in objdb notification handling, hdb_handle_t type
Steven Dake [Wed, 11 Mar 2009 23:09:04 +0000 (23:09 +0000)]
Fix several errors in objdb notification handling, hdb_handle_t type
conversion errors, indentation, and do hdb_handle_put after instance
data is used instead of before.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1841 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoUse hdb_handle_t for handle type in service.c.
Steven Dake [Wed, 11 Mar 2009 23:06:18 +0000 (23:06 +0000)]
Use hdb_handle_t for handle type in service.c.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1840 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoUse hdb_handle_t for handle type in lcr_ifact.
Steven Dake [Wed, 11 Mar 2009 23:05:41 +0000 (23:05 +0000)]
Use hdb_handle_t for handle type in lcr_ifact.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1839 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix library linking
Fabio M. Di Nitto [Wed, 11 Mar 2009 12:30:52 +0000 (12:30 +0000)]
Fix library linking

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1838 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix more build/install glitches
Fabio M. Di Nitto [Wed, 11 Mar 2009 11:33:19 +0000 (11:33 +0000)]
Fix more build/install glitches

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1837 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix broken error check in commit 1818.
Steven Dake [Wed, 11 Mar 2009 11:27:20 +0000 (11:27 +0000)]
Fix broken error check in commit 1818.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1836 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years ago1) kill all those "for" shell loops. They are dangerous (as they don't
Fabio M. Di Nitto [Wed, 11 Mar 2009 09:06:35 +0000 (09:06 +0000)]
1) kill all those "for" shell loops. They are dangerous (as they don't
report install failures) and it's just overhead since $(INSTALL) can do
the same.

2) make sure to create our directories with $(INSTALL). Not sure I did
catch them all yet, but at least a good bunch. This also fix the
corosync.conf install error I introduced in the previous commit.

3) Handle SONAME automatically. This is the most intrusive change across
the board:

 * configure.in now defines the system wide SOMAJOR, SOMINOR, SOMICRO
and SONAME and exports them to the Makefile.
 * exec/Makefile.am, lib/Makefile.am are now updated to use those vars
rather than hardcoded version.

4) Bump the SOMAJOR to 3 as agreed since we did change both API and ABI.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1835 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoDear pacemaker.. you will not take over this project! MUAHAH
Fabio M. Di Nitto [Wed, 11 Mar 2009 08:03:55 +0000 (08:03 +0000)]
Dear pacemaker.. you will not take over this project! MUAHAH

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1834 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoDrop ld.conf file that is now unrequired
Fabio M. Di Nitto [Wed, 11 Mar 2009 07:54:30 +0000 (07:54 +0000)]
Drop ld.conf file that is now unrequired

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1833 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoReadd pkgconfig subdir to the build system and port it
Fabio M. Di Nitto [Wed, 11 Mar 2009 07:28:12 +0000 (07:28 +0000)]
Readd pkgconfig subdir to the build system and port it
to autoconf

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1832 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd entries to maintainer-clean target
Fabio M. Di Nitto [Wed, 11 Mar 2009 05:52:48 +0000 (05:52 +0000)]
Add entries to maintainer-clean target

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1831 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove warnings from coroipc.c.
Steven Dake [Wed, 11 Mar 2009 04:47:08 +0000 (04:47 +0000)]
Remove warnings from coroipc.c.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1830 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove warnings from ipc.c
Steven Dake [Wed, 11 Mar 2009 04:41:23 +0000 (04:41 +0000)]
Remove warnings from ipc.c

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1829 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix some const warnings
Christine Caulfield [Tue, 10 Mar 2009 17:13:37 +0000 (17:13 +0000)]
Fix some const warnings

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1828 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd dynamic timestamp on/off
Fabio M. Di Nitto [Tue, 10 Mar 2009 13:18:11 +0000 (13:18 +0000)]
Add dynamic timestamp on/off

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1827 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove const warnings in crypto.c.
Steven Dake [Tue, 10 Mar 2009 12:22:55 +0000 (12:22 +0000)]
Remove const warnings in crypto.c.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1826 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove qualifier errors in main.c
Steven Dake [Tue, 10 Mar 2009 12:22:38 +0000 (12:22 +0000)]
Remove qualifier errors in main.c

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1825 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove const warnings from uic system.
Steven Dake [Tue, 10 Mar 2009 12:08:32 +0000 (12:08 +0000)]
Remove const warnings from uic system.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1824 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agochange some char * to const char * to match usage in system in lcr.
Steven Dake [Tue, 10 Mar 2009 11:57:21 +0000 (11:57 +0000)]
change some char * to const char * to match usage in system in lcr.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1823 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix const qualifiers in lcr_ifact.c.
Steven Dake [Tue, 10 Mar 2009 11:53:43 +0000 (11:53 +0000)]
Fix const qualifiers in lcr_ifact.c.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1822 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix missing prototypes in totempg.c.
Steven Dake [Tue, 10 Mar 2009 11:45:00 +0000 (11:45 +0000)]
Fix missing prototypes in totempg.c.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1821 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix missing prototypes in totemmrp.
Steven Dake [Tue, 10 Mar 2009 11:42:10 +0000 (11:42 +0000)]
Fix missing prototypes in totemmrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1820 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoFix missing prototypes and mismatched prototypes in totemmrp.
Steven Dake [Tue, 10 Mar 2009 11:40:12 +0000 (11:40 +0000)]
Fix missing prototypes and mismatched prototypes in totemmrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1819 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd missing hdb_handle_put in totemsrp and handle errors in mkdir and
Steven Dake [Tue, 10 Mar 2009 11:30:34 +0000 (11:30 +0000)]
Add missing hdb_handle_put in totemsrp and handle errors in mkdir and
chdir properly.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1818 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove string literal warnings from totemsrp.
Steven Dake [Tue, 10 Mar 2009 11:23:57 +0000 (11:23 +0000)]
Remove string literal warnings from totemsrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1817 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoAdd missing prototypes in totemsrp.
Steven Dake [Tue, 10 Mar 2009 11:21:23 +0000 (11:21 +0000)]
Add missing prototypes in totemsrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1816 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove pointer math warnings from totemsrp.
Steven Dake [Tue, 10 Mar 2009 11:14:28 +0000 (11:14 +0000)]
Remove pointer math warnings from totemsrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1815 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoDefine undefined prototypes
Steven Dake [Tue, 10 Mar 2009 11:08:49 +0000 (11:08 +0000)]
Define undefined prototypes

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1814 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove string literal warnings from totemrrp.
Steven Dake [Tue, 10 Mar 2009 11:04:12 +0000 (11:04 +0000)]
Remove string literal warnings from totemrrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1813 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove const warnings from main.c.
Steven Dake [Tue, 10 Mar 2009 10:35:14 +0000 (10:35 +0000)]
Remove const warnings from main.c.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1812 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove type casting to (char *) in logsys.h.
Steven Dake [Tue, 10 Mar 2009 10:32:09 +0000 (10:32 +0000)]
Remove type casting to (char *) in logsys.h.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1811 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove pointer math from totempg.
Steven Dake [Tue, 10 Mar 2009 10:12:52 +0000 (10:12 +0000)]
Remove pointer math from totempg.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1810 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove pointer math warnings from totemnet.
Steven Dake [Tue, 10 Mar 2009 10:09:43 +0000 (10:09 +0000)]
Remove pointer math warnings from totemnet.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1809 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove const warnings in totemip code.
Steven Dake [Tue, 10 Mar 2009 10:05:40 +0000 (10:05 +0000)]
Remove const warnings in totemip code.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1808 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoQuorum checks the ring ID is new before initiating a sync. Unfortunately
Christine Caulfield [Tue, 10 Mar 2009 09:58:07 +0000 (09:58 +0000)]
Quorum checks the ring ID is new before initiating a sync. Unfortunately
it copies the ring ID BEFORE checking it so there is always a match.

Sigh

This patch fixes it.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1807 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove const warnings relating to logsys global definitions.
Steven Dake [Tue, 10 Mar 2009 09:48:34 +0000 (09:48 +0000)]
Remove const warnings relating to logsys global definitions.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1806 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove logsys warnings.
Steven Dake [Tue, 10 Mar 2009 09:40:54 +0000 (09:40 +0000)]
Remove logsys warnings.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1805 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove const warnings in totempg.
Steven Dake [Tue, 10 Mar 2009 09:34:20 +0000 (09:34 +0000)]
Remove const warnings in totempg.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1804 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove const warnings from totemsrp.
Steven Dake [Tue, 10 Mar 2009 09:30:29 +0000 (09:30 +0000)]
Remove const warnings from totemsrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1803 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove qualifier warnings regarding totemrrp.
Steven Dake [Tue, 10 Mar 2009 09:25:43 +0000 (09:25 +0000)]
Remove qualifier warnings regarding totemrrp.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1802 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove const/nonconst assignment warnings in totemnet.
Steven Dake [Tue, 10 Mar 2009 09:22:08 +0000 (09:22 +0000)]
Remove const/nonconst assignment warnings in totemnet.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1801 fd59a12c-fef9-0310-b244-a6a79926bd2f

15 years agoRemove leftover from automake merge.
Steven Dake [Tue, 10 Mar 2009 09:00:15 +0000 (09:00 +0000)]
Remove leftover from automake merge.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1800 fd59a12c-fef9-0310-b244-a6a79926bd2f