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

Diff for /src/usr.bin/dc/inout.c between version 1.8 and 1.9

version 1.8, 2003/11/14 20:18:47 version 1.9, 2005/03/15 10:28:38
Line 167 
Line 167 
         char    buf[12];          char    buf[12];
         char    *q = buf;          char    *q = buf;
   
         snprintf(buf, sizeof(buf), "%s", p);          strlcpy(buf, p, sizeof(buf));
         while (*q)          while (*q)
                 putcharwrap(f, *q++);                  putcharwrap(f, *q++);
 }  }

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