[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.2 and 1.3

version 1.2, 2005/10/06 16:02:42 version 1.3, 2005/10/06 19:13:43
Line 40 
Line 40 
 #define VALDELIM        ':'     /* values delimitor */  #define VALDELIM        ':'     /* values delimitor */
   
 extern char *__progname;  extern char *__progname;
   static int found = 0;
   
 static int      ident_file(const char *, FILE *);  static int      ident_file(const char *, FILE *);
 static int      ident_line(FILE *);  static int      ident_line(FILE *);
Line 78 
Line 79 
   
                         ident_file(argv[i], fp);                          ident_file(argv[i], fp);
                         fclose(fp);                          fclose(fp);
   
                           if (found == 0)
                                   cvs_log(LP_WARN, "no id keywords in %s", argv[i]);
                           found = 0;
                 }                  }
         }          }
   
Line 140 
Line 145 
         *(p++) = c;          *(p++) = c;
         *p = '\0';          *p = '\0';
   
           found++;
         printf("     %c%s\n", KEYDELIM, linebuf);          printf("     %c%s\n", KEYDELIM, linebuf);
   
         return (0);          return (0);

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