Commit Graph

27 Commits

Author SHA1 Message Date
Steven Dake
cb154572a2 Patch from Renaud to report some broken Solaris porting from past.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1353 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-03-06 16:18:44 +00:00
Fabien Thomas
b07e2dee27 remove invalid code / warnings detected by Intel compiler
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1308 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-11-16 17:34:44 +00:00
Steven Dake
90ccff6bbc Solaris port for openais
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1175 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-08-05 02:22:12 +00:00
Steven Dake
e6d3f3b1da Cleanup comparisons in lcr_ifact and use strtok_r instead of junky parser.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1160 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 06:57:52 +00:00
Steven Dake
503d46f021 Fix error where pathlist buffer is overrun resulting in segfault
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1072 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 21:10:05 +00:00
Steven Dake
7805cb474d This patch checks the result of read operations on a socket which can
return errors or 0.  Now if those cases happen, the operation is
ignored.  This part of the code needs more attention later to handle
short reads.  This removes a warning when fortify source is defined to
the compiler.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1053 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-27 02:18:11 +00:00
Steven Dake
4a478b17ab This patch does the following things:
* changes the default search path for lcrso files to /usr/libexec/lcrso
* checks the result of getcwd which can fail and return an error - in
that case handle the error appropriately
* changes a comment that was incorrectly stating only the cwd was being
searched for lcrso files


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1052 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-27 02:17:33 +00:00
Steven Dake
2eafd51e3d Remove scandir error=%s printf since it spews a bunch of errors when the
aisexec is run after a make install


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1049 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 06:46:24 +00:00
Steven Dake
72d0145e03 Properly process the ld.so.conf file if it has includes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1044 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-26 02:31:49 +00:00
Steven Dake
953a21eab8 commit for redundant ring take 4 was only done from exec directory missing all
of the commits for the rest of the directories.  This commit will now allow the
tree to compile.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1035 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-21 23:11:42 +00:00
Steven Dake
835f16ba53 Patch to allow system to work if no ld.so.conf is present. ld.so.conf is
optional and may not be present on a system.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1031 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-19 19:40:40 +00:00
Patrick Caulfield
c7090b5047 Close ld.so.conf file descriptor when finished with it.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1027 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-05-17 07:34:09 +00:00
Fabien Thomas
f9ce4bea58 Remove warnings under Darwin
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1008 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:28:20 +00:00
Steven Dake
61922deab5 Fix scanning of LCRSOs not working on various systems
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1007 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:11:25 +00:00
Steven Dake
e5aa601df1 Allow running with BUILD_DYNAMIC set to zero.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1005 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-25 07:03:09 +00:00
Steven Dake
721c9459ab Patch from Hans to fix segfault in loading of LCR components
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@999 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-24 18:56:02 +00:00
Steven Dake
ced99237d9 More make install work to install all necessary files
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@998 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-20 23:17:16 +00:00
Steven Dake
3bab5bffb4 Make install now works along with different search paths for openais's
lcrsos.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@996 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-19 20:39:25 +00:00
Steven Dake
758719ea87 fix fc5 segfault correctly by removing code that violates strict aliasing
rules.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@983 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-13 23:20:03 +00:00
Steven Dake
fc6d32494a Workaround possible optimizer bug in gcc 4.1 by forcing a function not to
inline.  This would cause segfaults on fc4.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@980 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-13 02:51:39 +00:00
Fabien Thomas
064ffb17a1 Bug 1130: add totempg log; remove warnings; add DPRINT macro
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@954 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-24 08:28:12 +00:00
Steven Dake
b855d18145 Patch from Hans Feldt
This small patch (against r948) adds variable CPPFLAGS to all make rules 
that compiles `.c' files into `.o' files.

This makes it possible to set CPPFLAGS on the command line as in:

$ make CPPFLAGS=-DAMFDEBUG

Editing the makefile when prototyping is then not needed.

Another reason is that some of the openais C files are built using the 
implicit rule for C files (which uses CPPFLAGS). The change makes rules 
consistent with the implicit rule.

It also adds a few missing files to the clean make target.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@950 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-16 05:41:28 +00:00
Steven Dake
cf160dd9cd Fabien's patch for the BSD/Darwin port.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@926 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-21 07:32:00 +00:00
Steven Dake
96deb78110 Some versions of GCC were optimizing out the static ctor section. This patch
makes the ctor non-static so it is not optimized out.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@917 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-10 21:05:57 +00:00
Steven Dake
166609be38 Cleanup of dynamic loading to allow using the same interface factory code for
statically linked components.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@916 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-10 00:30:29 +00:00
Steven Dake
43a36162b3 1049
make all service handlers dynamically loadable or compilable statically
use the BUILD_DYNAMIC flag in the makefile to set dynamic loading or static
compile.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@914 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-01 21:17:47 +00:00
Steven Dake
f6cfe4e86e This is a major rework of the service handling code. Now service handlers
can be dynamically loaded via the live component replacement service.  Sync
handlers are also dynamically contributed.

It is possible to build using either dynamic loading via LCR or static
linking of the entire executive.  This is controlled by the BUILD_DYNAMIC 
configuration option in the Makefile.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@892 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-20 20:40:21 +00:00