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 6e09c884725e59c66e5b98bb602e94760ab4deb8 (commit)
from 627f38949536e3acb43063d9f8e321811e0683e2 (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 6e09c884725e59c66e5b98bb602e94760ab4deb8
Author: Narasimha Sharoff <nsh...@us...>
Date: Tue Mar 1 10:05:16 2011 -0800
[3101151] SfcbLocal failed to connect due to hardcoded library path
-----------------------------------------------------------------------
Summary of changes:
diff --git a/ChangeLog b/ChangeLog
index a2d477b..b5e441b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-01 Narasimha Sharoff <nsh...@us...>
+
+ * cimc/cimcclient.c
+ [ 3101151 ] SfcbLocal failed to connect due to hardcoded library path
+
2011-02-22 Narasimha Sharoff <nsh...@us...>
* cimc/cimcclient.c, TEST/show.c, TEST/test.c, TEST/test_gc.c
diff --git a/NEWS b/NEWS
index 6a6d221..68179e3 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Bugs:
- 3059060: 'struct _CIMCArgsFT' not defined in cimc/cimcft.h
- 2348900: Concurrency issue when parsing responses
- 2793377: Missing includes
+- 3101151: SfcbLocal failed to connect due to hardcoded library path
Changes in 2.2.1
================
diff --git a/cimc/cimcclient.c b/cimc/cimcclient.c
index 66cf3a2..d520fc4 100644
--- a/cimc/cimcclient.c
+++ b/cimc/cimcclient.c
@@ -51,7 +51,8 @@ CIMCEnv* NewCIMCEnv(const char *id, unsigned int options, int *rc, char **msg)
*rc=3;
snprintf(*msg,ERRLEN,"Invalid connection type '%s'. Must be 'XML' or 'SfcbLocal'.",id);
} else {
- if (strcmp(id, "SfcbLocal") == 0) {
+ if ((strcmp(id, "SfcbLocal") == 0) &&
+ ((SFCB_LIBDIR != NULL) && (strlen(SFCB_LIBDIR) > 0))) {
snprintf(libName, LIBLEN, "%s/libcimcClient%s.so",SFCB_LIBDIR,id);
} else {
snprintf(libName, LIBLEN, "libcimcClient%s.so",id);
hooks/post-receive
--
SFCC - Small Footprint CIM Client
|