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

Diff for /src/usr.bin/uname/uname.c between version 1.13 and 1.14

version 1.13, 2015/01/16 06:40:13 version 1.14, 2015/07/21 16:22:59
Line 15 
Line 15 
  * 3. All advertising materials mentioning features or use of this software   * 3. All advertising materials mentioning features or use of this software
  *    must display the following acknowledgement:   *    must display the following acknowledgement:
  *      This product includes software developed by Winning Strategies, Inc.   *      This product includes software developed by Winning Strategies, Inc.
  * 4. The name of Winning Strategies, Inc. may not be used to endorse or   * 4. The name of Winning Strategies, Inc. may not be used to endorse or
  *    promote products derived from this software without specific prior   *    promote products derived from this software without specific prior
  *    written permission.   *    written permission.
  *   *
Line 70 
Line 70 
                 case 'n':                  case 'n':
                         print_mask |= PRINT_NODENAME;                          print_mask |= PRINT_NODENAME;
                         break;                          break;
                 case 'r':                  case 'r':
                         print_mask |= PRINT_RELEASE;                          print_mask |= PRINT_RELEASE;
                         break;                          break;
                 case 's':                  case 's':
                         print_mask |= PRINT_SYSNAME;                          print_mask |= PRINT_SYSNAME;
                         break;                          break;
                 case 'v':                  case 'v':
Line 87 
Line 87 
                         /* NOTREACHED */                          /* NOTREACHED */
                 }                  }
         }          }
   
         if (optind != argc) {          if (optind != argc) {
                 usage();                  usage();
                 /* NOTREACHED */                  /* NOTREACHED */
Line 125 
Line 125 
         if (print_mask & PRINT_MACHINE_ARCH) {          if (print_mask & PRINT_MACHINE_ARCH) {
                 if (space++) putchar(' ');                  if (space++) putchar(' ');
                 fputs(MACHINE_ARCH, stdout);                  fputs(MACHINE_ARCH, stdout);
         }          }
         putchar('\n');          putchar('\n');
   
         exit(0);          exit(0);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14