ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.12 by pcg, Fri Dec 5 04:05:13 2003 UTC vs.
Revision 1.13 by pcg, Fri Dec 5 04:27:20 2003 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: command.c 2 * File: command.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: command.C,v 1.12 2003/12/05 04:05:13 pcg Exp $ 4 * $Id: command.C,v 1.13 2003/12/05 04:27:20 pcg Exp $
5 * 5 *
6 * All portions of code are copyright by their respective author/s. 6 * All portions of code are copyright by their respective author/s.
7 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> 7 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk>
8 * - original version 8 * - original version
9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> 9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com>
772 if (n > 0) 772 if (n > 0)
773 { 773 {
774 cmdbuf_endp += n; 774 cmdbuf_endp += n;
775 return true; 775 return true;
776 } 776 }
777 else if (n < 0 && errno == EAGAIN) 777 else if (n < 0 && errno != EAGAIN)
778 destroy ();
779
778 return false; 780 return false;
779
780 destroy ();
781} 781}
782 782
783void 783void
784rxvt_term::pty_cb (io_watcher &w, short revents) 784rxvt_term::pty_cb (io_watcher &w, short revents)
785{ 785{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines