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

Diff for /src/usr.bin/rcs/ident.c between version 1.15 and 1.16

version 1.15, 2006/04/14 01:11:07 version 1.16, 2006/04/19 06:53:41
Line 32 
Line 32 
 #define VALDELIM        ':'     /* values delimiter */  #define VALDELIM        ':'     /* values delimiter */
   
 static int found = 0;  static int found = 0;
   static int flags = 0;
   
 static void     ident_file(const char *, FILE *);  static void     ident_file(const char *, FILE *);
 static void     ident_line(FILE *);  static void     ident_line(FILE *);
Line 45 
Line 46 
         while ((ch = rcs_getopt(argc, argv, "qV")) != -1) {          while ((ch = rcs_getopt(argc, argv, "qV")) != -1) {
                 switch(ch) {                  switch(ch) {
                 case 'q':                  case 'q':
                         verbose = 0;                          flags |= QUIET;
                         break;                          break;
                 case 'V':                  case 'V':
                         printf("%s\n", rcs_version);                          printf("%s\n", rcs_version);
Line 95 
Line 96 
                         ident_line(fp);                          ident_line(fp);
         }          }
   
         if (found == 0 && verbose == 1)          if (found == 0 && !(flags & QUIET))
                 fprintf(stderr, "ident warning: no id keywords in %s\n",                  fprintf(stderr, "ident warning: no id keywords in %s\n",
                     filename);                      filename);
   

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16