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

Diff for /src/usr.bin/vim/Attic/unix.c between version 1.3 and 1.4

version 1.3, 1996/10/14 03:55:32 version 1.4, 1996/10/15 08:07:58
Line 413 
Line 413 
                 may_core_dump();                  may_core_dump();
                 exit(7);                  exit(7);
         }          }
         if (entered)          if (entered++)
         {          {
                 OUTSTR("Vim: Double signal, exiting\n");                  OUTSTR("Vim: Double signal, exiting\n");
                 flushbuf();                  flushbuf();
                 getout(1);                  getout(1);
         }          }
         ++entered;  
   
         sprintf((char *)IObuff, "Vim: Caught %s %s\n",          sprintf((char *)IObuff, "Vim: Caught %s %s\n",
 #ifdef SIGHASARG  #ifdef SIGHASARG
Line 2125 
Line 2124 
                                                          RealWaitForChar(fromshell_fd, 10); ++read_count)                                                           RealWaitForChar(fromshell_fd, 10); ++read_count)
                                         {                                          {
                                                 len = read(fromshell_fd, (char *)buffer,                                                  len = read(fromshell_fd, (char *)buffer,
                                                                                                                           (size_t)BUFLEN);                                                                                                                  (size_t)(BUFLEN - 1));
                                                 if (len == 0)                           /* end of file */                                                  if (len <= 0)                           /* end of file or error */
                                                         goto finished;                                                          goto finished;
                                                 buffer[len] = NUL;                                                  buffer[len] = NUL;
                                                 msg_outstr(buffer);                                                  msg_outstr(buffer);

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