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

Diff for /src/usr.bin/nice/nice.c between version 1.11 and 1.12

version 1.11, 2009/10/27 23:59:41 version 1.12, 2013/11/20 20:52:12
Line 54 
Line 54 
         setlocale(LC_ALL, "");          setlocale(LC_ALL, "");
   
         /* handle obsolete -number syntax */          /* handle obsolete -number syntax */
         if (argc > 1 && argv[1][0] == '-' && isdigit(argv[1][1])) {          if (argc > 1 && argv[1][0] == '-' && isdigit((unsigned char)argv[1][1])) {
                 niceness = atoi(argv[1] + 1);                  niceness = atoi(argv[1] + 1);
                 argc--;                  argc--;
                 argv++;                  argv++;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12