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.238 by root, Fri Jan 6 02:58:02 2006 UTC vs.
Revision 1.239 by root, Fri Jan 6 03:02:22 2006 UTC

4454const unsigned int MAX_PTY_WRITE = 255; // minimum MAX_INPUT 4454const unsigned int MAX_PTY_WRITE = 255; // minimum MAX_INPUT
4455 4455
4456void 4456void
4457rxvt_term::tt_write (const char *data, unsigned int len) 4457rxvt_term::tt_write (const char *data, unsigned int len)
4458{ 4458{
4459 if (pty.pty < 0)
4460 return;
4461
4459 if (v_buflen == 0) 4462 if (v_buflen == 0)
4460 { 4463 {
4461 ssize_t written = write (pty.pty, data, min (len, MAX_PTY_WRITE)); 4464 ssize_t written = write (pty.pty, data, min (len, MAX_PTY_WRITE));
4462 4465
4463 if ((unsigned int)written == len) 4466 if ((unsigned int)written == len)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines