Skip to content
Snippets Groups Projects
Commit 10e4c496 authored by Vivek Das Mohapatra's avatar Vivek Das Mohapatra
Browse files

Formatting cleanups in generated stub library code.

parent 88a06cf4
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
......@@ -60,7 +60,8 @@ static char *prefix;
static void *dso;
// should we exclude libpthread here?
// in any case, these are DSOs we do _not_ want to isolate
static const char *exclude[] = { // MUST NOT be pulled from the capsule prefixed filesystem tree:
static const char *exclude[] = { // MUST NOT be pulled from the capsule
// prefixed filesystem tree:
"libc.so.6",
"libpthread.so.0",
"libpthread-2.19.so",
......@@ -78,8 +79,9 @@ static void *_dlopen (const char *filename, int flag)
{
if( flag & RTLD_GLOBAL )
{
fprintf (stderr, "Warning: libcapsule dlopen wrapper cannot pass "
"RTLD_GLOBAL to underlying dlmopen(%s...) call\\n", filename );
fprintf( stderr, "Warning: libcapsule dlopen wrapper cannot pass "
"RTLD_GLOBAL to underlying dlmopen(%s...) call\\n",
filename );
flag = (flag & ~RTLD_GLOBAL) & 0xfffff;
}
return capsule_shim_dlopen( symbol_ns, prefix, exclude, filename, flag );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment