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

Diff for /src/usr.bin/window/Attic/xx.c between version 1.7 and 1.8

version 1.7, 2003/07/18 23:11:43 version 1.8, 2007/09/02 15:19:36
Line 55 
Line 55 
         /* ccinit may choose to change xxbufsize */          /* ccinit may choose to change xxbufsize */
         if (tt.tt_ntoken > 0 && ccinit() < 0)          if (tt.tt_ntoken > 0 && ccinit() < 0)
                 return -1;                  return -1;
         xxbuf = malloc(xxbufsize * sizeof *xxbuf);          xxbuf = calloc(xxbufsize, sizeof *xxbuf);
         if (xxbuf == 0) {          if (xxbuf == 0) {
                 wwerrno = WWE_NOMEM;                  wwerrno = WWE_NOMEM;
                 return -1;                  return -1;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8