version 1.3, 2007/03/23 02:28:14 |
version 1.4, 2007/03/23 02:41:02 |
|
|
if (blank && (sp = memchr(buf, '<', len)) != NULL) |
if (blank && (sp = memchr(buf, '<', len)) != NULL) |
ep = memchr(sp, '>', len - (sp - buf + 1)); |
ep = memchr(sp, '>', len - (sp - buf + 1)); |
/* Length of string before comment. */ |
/* Length of string before comment. */ |
copylen = ep ? sp - buf : len; |
if (ep) |
|
copylen = sp - buf; |
|
else |
|
copylen = len; |
if (atomicio(vwrite, dst, buf, copylen) != copylen) { |
if (atomicio(vwrite, dst, buf, copylen) != copylen) { |
int saved_errno = errno; |
int saved_errno = errno; |
|
|