Re: [PATCH weston v2] terminal.c: Check if fdopen() fails

2013-08-08 Thread Kristian Høgsberg
On Thu, Aug 08, 2013 at 04:12:55PM -0700, Brian Lovin wrote: > If fdopen() fails we just close the fd and return, failing > the copy-and-paste. That's nice, thanks. Kristian > Signed-off-by: Brian Lovin > --- > clients/terminal.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/cl

[PATCH weston v2] terminal.c: Check if fdopen() fails

2013-08-08 Thread Brian Lovin
If fdopen() fails we just close the fd and return, failing the copy-and-paste. Signed-off-by: Brian Lovin --- clients/terminal.c | 4 1 file changed, 4 insertions(+) diff --git a/clients/terminal.c b/clients/terminal.c index 1cc26d0..acf7b85 100644 --- a/clients/terminal.c +++ b/clients/te