Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
beagle
>
xorg-x11-server-10-compat
> add-local-hosts.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File add-local-hosts.patch of Package xorg-x11-server-10-compat
diff --git a/os/access.c b/os/access.c index be9c0d5..962928b 100644 --- a/os/access.c +++ b/os/access.c @@ -270,6 +270,7 @@ EnableLocalHost (void) void DisableLocalHost (void) { + return; HOST *self; if (!LocalHostRequested) /* Fix for XFree86 bug #156 */ @@ -851,12 +852,14 @@ AddLocalHosts (void) { HOST *self; - for (self = selfhosts; self; self = self->next) + for (self = selfhosts; self; self = self->next) { /* Fix for XFree86 bug #156: pass addingLocal = TRUE to * NewHost to tell that we are adding the default local * host entries and not to flag the entries as being * explicitely requested */ - (void) NewHost (self->family, self->addr, self->len, TRUE); + self->requested = TRUE; + (void) NewHost (self->family, self->addr, self->len, TRUE); + } } /* Reset access control list to initial hosts */