aboutsummaryrefslogtreecommitdiff
path: root/libltdl/ltdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libltdl/ltdl.c')
-rw-r--r--libltdl/ltdl.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 5801e878..50c76b25 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -1761,7 +1761,8 @@ lt_int_dyld_NSlookupSymbolInLinkedLibs (symbol, mh)
1761 ltdl_NSAddImage ((char *) (((struct dylib_command *) lc)-> 1761 ltdl_NSAddImage ((char *) (((struct dylib_command *) lc)->
1762 dylib.name.offset + 1762 dylib.name.offset +
1763 (unsigned long) lc), 1763 (unsigned long) lc),
1764 NSADDIMAGNUNET_GEOPTION_RETURN_ONLY_IF_LOADED + 1764 NSADDIMAGNUNET_GEOPTION_RETURN_ONLY_IF_LOADED
1765 +
1765 NSADDIMAGNUNET_GEOPTION_WITH_SEARCHING + 1766 NSADDIMAGNUNET_GEOPTION_WITH_SEARCHING +
1766 NSADDIMAGNUNET_GEOPTION_RETURN_ON_ERROR); 1767 NSADDIMAGNUNET_GEOPTION_RETURN_ON_ERROR);
1767 } 1768 }
@@ -2957,7 +2958,8 @@ load_deplibs (handle, deplibs)
2957 { 2958 {
2958 int j = 0; 2959 int j = 0;
2959 2960
2960 handle->deplibs = (lt_dlhandle *) LT_EGNUNET_malloc (lt_dlhandle *, depcount); 2961 handle->deplibs =
2962 (lt_dlhandle *) LT_EGNUNET_malloc (lt_dlhandle *, depcount);
2961 if (!handle->deplibs) 2963 if (!handle->deplibs)
2962 goto cleanup; 2964 goto cleanup;
2963 2965
@@ -3076,7 +3078,8 @@ try_dlopen (phandle, filename)
3076 /* dlopen self? */ 3078 /* dlopen self? */
3077 if (!filename) 3079 if (!filename)
3078 { 3080 {
3079 *phandle = (lt_dlhandle) LT_EGNUNET_malloc (struct lt_dlhandle_struct, 1); 3081 *phandle =
3082 (lt_dlhandle) LT_EGNUNET_malloc (struct lt_dlhandle_struct, 1);
3080 if (*phandle == 0) 3083 if (*phandle == 0)
3081 return 1; 3084 return 1;
3082 3085
@@ -3321,7 +3324,8 @@ try_dlopen (phandle, filename)
3321 LT_DLGNUNET_free (line); 3324 LT_DLGNUNET_free (line);
3322 3325
3323 /* allocate the handle */ 3326 /* allocate the handle */
3324 *phandle = (lt_dlhandle) LT_EGNUNET_malloc (struct lt_dlhandle_struct, 1); 3327 *phandle =
3328 (lt_dlhandle) LT_EGNUNET_malloc (struct lt_dlhandle_struct, 1);
3325 if (*phandle == 0) 3329 if (*phandle == 0)
3326 ++errors; 3330 ++errors;
3327 3331
@@ -3366,7 +3370,8 @@ try_dlopen (phandle, filename)
3366 else 3370 else
3367 { 3371 {
3368 /* not a libtool module */ 3372 /* not a libtool module */
3369 *phandle = (lt_dlhandle) LT_EGNUNET_malloc (struct lt_dlhandle_struct, 1); 3373 *phandle =
3374 (lt_dlhandle) LT_EGNUNET_malloc (struct lt_dlhandle_struct, 1);
3370 if (*phandle == 0) 3375 if (*phandle == 0)
3371 { 3376 {
3372 ++errors; 3377 ++errors;