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

Diff for /src/usr.bin/window/Attic/error.c between version 1.3 and 1.4

version 1.3, 1997/02/25 00:04:04 version 1.4, 1998/03/17 04:11:53
Line 75 
Line 75 
         if ((w = x->x_errwin) == 0) {          if ((w = x->x_errwin) == 0) {
                 char buf[512];                  char buf[512];
   
                 (void) sprintf(buf, "Errors from %s", x->x_filename);                  (void) snprintf(buf, sizeof buf, "Errors from %s", x->x_filename);
                 if ((w = x->x_errwin = openiwin(ERRLINES, buf)) == 0) {                  if ((w = x->x_errwin = openiwin(ERRLINES, buf)) == 0) {
                         wwputs("Can't open error window.  ", cmdwin);                          wwputs("Can't open error window.  ", cmdwin);
                         x->x_noerr = 1;                          x->x_noerr = 1;

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