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

Diff for /src/usr.bin/banner/banner.c between version 1.3 and 1.4

version 1.3, 1998/12/07 20:09:40 version 1.4, 2001/06/21 16:35:18
Line 173 
Line 173 
         char word[10+1];                        /* strings limited to 10 chars */          char word[10+1];                        /* strings limited to 10 chars */
   
         while (*++argv) {          while (*++argv) {
                 (void)strncpy(word, *argv, sizeof (word) - 1);                  (void)strlcpy(word, *argv, sizeof (word));
                 word[sizeof (word) - 1] = '\0';  
                 scan_out(1, word, '\0');                  scan_out(1, word, '\0');
         }          }
         exit(0);          exit(0);

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