Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
6285c390
Commit
6285c390
authored
Apr 05, 2018
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
umem: suncc happyness, set fptrs NULL in mgmt
parent
a65c99a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
storage_umem.c
bin/varnishd/storage/storage_umem.c
+6
-4
No files found.
bin/varnishd/storage/storage_umem.c
View file @
6285c390
...
...
@@ -329,9 +329,11 @@ smu_init(struct stevedore *parent, int ac, char * const *av)
#define DLSYM_UMEM(fptr,sym) \
do { \
(void) dlerror(); \
if ((fptr = dlsym(libumem_hndl, #sym)) == NULL) \
ARGV_ERR("(-sumem) cannot find symbol " #sym ": %s", \
dlerror()); \
if (dlsym(libumem_hndl, #sym) == NULL) \
ARGV_ERR("(-sumem) cannot find symbol " \
#sym ": %s", \
dlerror()); \
fptr = NULL; \
} while(0)
DLSYM_UMEM
(
umem_allocf
,
umem_alloc
);
...
...
@@ -372,7 +374,7 @@ smu_open_init(void)
#define DLSYM_UMEM(fptr,sym) \
do { \
fptr =
dlsym(libumem_hndl, #sym);
\
fptr =
(sym ## _f) dlsym(libumem_hndl, #sym);
\
AN(fptr); \
} while(0)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment