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

Diff for /src/usr.bin/window/Attic/string.c between version 1.5 and 1.6

version 1.5, 2001/11/19 19:02:18 version 1.6, 2003/04/05 01:39:50
Line 90 
Line 90 
 {  {
         char buf[30];          char buf[30];
   
         (void) sprintf(buf, "%d", i);          (void) snprintf(buf, sizeof(buf), "%d", i);
         return str_cpy(buf);          return str_cpy(buf);
 }  }
   

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6