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

Diff for /src/usr.bin/printf/printf.c between version 1.22 and 1.23

version 1.22, 2014/05/25 07:36:36 version 1.23, 2015/10/06 23:01:43
Line 32 
Line 32 
 #include <ctype.h>  #include <ctype.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
   #include <unistd.h>
 #include <string.h>  #include <string.h>
 #include <limits.h>  #include <limits.h>
 #include <locale.h>  #include <locale.h>
Line 80 
Line 81 
         char *format;          char *format;
   
         setlocale (LC_ALL, "");          setlocale (LC_ALL, "");
   
           if (tame("stdio", NULL) == -1)
                   err(1, "tame");
   
         /* Need to accept/ignore "--" option. */          /* Need to accept/ignore "--" option. */
         if (argc > 1 && strcmp(argv[1], "--") == 0) {          if (argc > 1 && strcmp(argv[1], "--") == 0) {

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23