dbus-launch --exit-with-session and stdin

Havoc Pennington hp at redhat.com
Thu Jul 13 19:37:18 PDT 2006


Artem Kachitchkine wrote:
> 
> I'm thinking if we #ifdef around that chunk of code on Solaris, would it 
> break anything. Unless we root cause the problem it'd be hard to say for 
> sure without testing, but also hard to test everything.
> 

I honestly don't know if stuff would break. Feel free to try and see ;-)

I thought the semantics of read() were that it would never return 0 
unless EOF was reached, though, so I do find it a bit odd that you get a 
return of 0 on a live terminal.

Maybe only sockets have this guarantee, or something.

Havoc



More information about the dbus mailing list