1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +02:00

* dynl-dl.c (sysdep_dynl_link): Added parenthesis around the

trinary conditional in order for the flag computation to be
correct.
This commit is contained in:
Mikael Djurfeldt 1999-06-23 16:00:15 +00:00
parent e02c763c29
commit af1f9aa293

View file

@ -60,7 +60,7 @@ sysdep_dynl_link (fname, flags, subr)
const char *subr;
{
void *handle = dlopen (fname, (DLOPEN_MODE
| (flags & DYNL_GLOBAL)? RTLD_GLOBAL : 0));
| ((flags & DYNL_GLOBAL)? RTLD_GLOBAL : 0)));
if (NULL == handle)
{
SCM_ALLOW_INTS;