From: Chris B. <buc...@us...> - 2013-08-21 19:43:36
|
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 "sfcc- Small Footprint CIM Client". The branch, master has been updated via b732c86a2dc5083524ebc52593310771fe5c31c2 (commit) from 6007f3bf75a515e1f47cdbbab62fdc2f2ff981a3 (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 b732c86a2dc5083524ebc52593310771fe5c31c2 Author: buccella <buc...@li...> Date: Wed Aug 21 15:43:15 2013 -0400 [bugs:#2658] SFCC should dlopen the versioned .so ----------------------------------------------------------------------- Summary of changes: cimc/cimcclient.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cimc/cimcclient.c b/cimc/cimcclient.c index 73865dc..320afbd 100644 --- a/cimc/cimcclient.c +++ b/cimc/cimcclient.c @@ -41,6 +41,10 @@ id - the interface to use, either XML or SfcbLocal options - options passed to the given backend (ops in cimc.h) + todo: for the next interface revamp, passing in a version number + would be a good idea, so we could allow for dlopening different + versions of .so libs + */ CIMCEnv* NewCIMCEnv(const char *id, unsigned int options, int *rc, char **msg) { @@ -61,9 +65,9 @@ CIMCEnv* NewCIMCEnv(const char *id, unsigned int options, int *rc, char **msg) } else { if ((strcmp(id, "SfcbLocal") == 0) && (stat(SFCB_LIBDIR, &sbuf) == 0)) { - snprintf(libName, LIBLEN, "%s/libcimcClient%s.so",SFCB_LIBDIR,id); + snprintf(libName, LIBLEN, "%s/libcimcClient%s.so.0",SFCB_LIBDIR,id); } else { - snprintf(libName, LIBLEN, "libcimcClient%s.so",id); + snprintf(libName, LIBLEN, "libcimcClient%s.so.0",id); } library = dlopen(libName, RTLD_NOW); if (library==NULL) { hooks/post-receive -- sfcc- Small Footprint CIM Client |