From 585495ba862675a248bafa914ae3dde2bc38bd22 Mon Sep 17 00:00:00 2001 From: pcg Date: Fri, 5 Dec 2003 04:27:20 +0000 Subject: [PATCH] *** empty log message *** --- src/command.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.34.1