[BACK]Return to sendbug.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / sendbug

Diff for /src/usr.bin/sendbug/sendbug.c between version 1.3 and 1.4

version 1.3, 2007/03/23 02:28:14 version 1.4, 2007/03/23 02:41:02
Line 279 
Line 279 
                         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;
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4