Re: [PATCH xserver] config/dbus: Initialize dbus fd to -1 so teardown doesn't use fd 0

2016-09-15 Thread Keith Packard
Peter Hutterer writes: >> Signed-off-by: Keith Packard > > Reviewed-by: Peter Hutterer Merged. 52d6a1e..3caf671 master -> master -- -keith signature.asc Description: PGP signature

Re: [PATCH xserver] config/dbus: Initialize dbus fd to -1 so teardown doesn't use fd 0

2016-09-15 Thread Peter Hutterer
On Wed, Sep 14, 2016 at 10:44:15PM -0700, Keith Packard wrote: > The dbus teardown code is called when the server fatal errors even if > that is before dbus has ever been initialized. By statically > initializing the value of bus_info.fd, we avoid calling RemoveNotifyFd > on stdin. > >

Re: [PATCH xserver] config/dbus: Initialize dbus fd to -1 so teardown doesn't use fd 0

2016-09-15 Thread Julien Cristau
On Wed, Sep 14, 2016 at 22:44:15 -0700, Keith Packard wrote: > The dbus teardown code is called when the server fatal errors even if > that is before dbus has ever been initialized. By statically > initializing the value of bus_info.fd, we avoid calling RemoveNotifyFd > on stdin. > >

[PATCH xserver] config/dbus: Initialize dbus fd to -1 so teardown doesn't use fd 0

2016-09-14 Thread Keith Packard
The dbus teardown code is called when the server fatal errors even if that is before dbus has ever been initialized. By statically initializing the value of bus_info.fd, we avoid calling RemoveNotifyFd on stdin. Signed-off-by: Keith Packard --- config/dbus-core.c | 2 +- 1