зеркало из https://github.com/mozilla/gecko-dev.git
Create the socket pair in AF_UNIX domain because that's
the common usage.
This commit is contained in:
Родитель
20a52a4fa4
Коммит
1061cba3a0
|
@ -642,7 +642,7 @@ _pl_SetupNativeNotifier(PLEventQueue* self)
|
||||||
int flags;
|
int flags;
|
||||||
|
|
||||||
#if defined(VMS_EVENTS_USE_SOCKETS)
|
#if defined(VMS_EVENTS_USE_SOCKETS)
|
||||||
err = socketpair(AF_INET,SOCK_STREAM,0,self->eventPipe);
|
err = socketpair(AF_UNIX,SOCK_STREAM,0,self->eventPipe);
|
||||||
#else
|
#else
|
||||||
err = pipe(self->eventPipe);
|
err = pipe(self->eventPipe);
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче