Mercurial > hg > xemacs-beta
comparison src/lstream.c @ 163:0132846995bd r20-3b8
Import from CVS: tag r20-3b8
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:43:35 +0200 |
parents | cf808b4c4290 |
children | 8eaf7971accc |
comparison
equal
deleted
inserted
replaced
162:4de2936b4e77 | 163:0132846995bd |
---|---|
985 if (str->pty_flushing) | 985 if (str->pty_flushing) |
986 { | 986 { |
987 /* To make life easy, only send out one line at the most. */ | 987 /* To make life easy, only send out one line at the most. */ |
988 CONST unsigned char *ptr; | 988 CONST unsigned char *ptr; |
989 | 989 |
990 ptr = memchr (data, '\n', size); | 990 ptr = (CONST unsigned char *) memchr (data, '\n', size); |
991 if (ptr) | 991 if (ptr) |
992 need_newline = 1; | 992 need_newline = 1; |
993 else | 993 else |
994 ptr = data + size; | 994 ptr = data + size; |
995 if (ptr - data >= str->pty_max_bytes - str->chars_sans_newline) | 995 if (ptr - data >= str->pty_max_bytes - str->chars_sans_newline) |