From: pcg Date: Fri, 5 Dec 2003 04:27:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=585495ba862675a248bafa914ae3dde2bc38bd22;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/command.C b/src/command.C index d73d8e8f..7f1470ba 100644 --- a/src/command.C +++ b/src/command.C @@ -1,7 +1,7 @@ /*--------------------------------*-C-*---------------------------------* * File: command.c *----------------------------------------------------------------------* - * $Id: command.C,v 1.12 2003-12-05 04:05:13 pcg Exp $ + * $Id: command.C,v 1.13 2003-12-05 04:27:20 pcg Exp $ * * All portions of code are copyright by their respective author/s. * Copyright (c) 1992 John Bovey, University of Kent at Canterbury @@ -774,10 +774,10 @@ rxvt_term::pty_fill () cmdbuf_endp += n; return true; } - else if (n < 0 && errno == EAGAIN) - return false; + else if (n < 0 && errno != EAGAIN) + destroy (); - destroy (); + return false; } void