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

Diff for /src/usr.bin/ctags/ctags.c between version 1.14 and 1.15

version 1.14, 2014/12/10 19:44:21 version 1.15, 2015/02/08 23:40:34
Line 87 
Line 87 
                         searchar = '/';                          searchar = '/';
                         break;                          break;
                 case 'a':                  case 'a':
                         aflag++;                          aflag = 1;
                         break;                          break;
                 case 'd':                  case 'd':
                         dflag++;                          dflag = 1;
                         break;                          break;
                 case 'f':                  case 'f':
                         outfile = optarg;                          outfile = optarg;
Line 99 
Line 99 
                         /* backwards compatibility */                          /* backwards compatibility */
                         break;                          break;
                 case 'u':                  case 'u':
                         uflag++;                          uflag = 1;
                         break;                          break;
                 case 'w':                  case 'w':
                         wflag++;                          wflag = 1;
                         break;                          break;
                 case 'v':                  case 'v':
                         vflag++;                          vflag = 1;
                 case 'x':                  case 'x':
                         xflag++;                          xflag = 1;
                         break;                          break;
                 case '?':                  case '?':
                 default:                  default:
Line 148 
Line 148 
                                         free(cmd);                                          free(cmd);
                                         cmd = NULL;                                          cmd = NULL;
                                 }                                  }
                                 ++aflag;                                  aflag = 1;
                         }                          }
                         if (!(outf = fopen(outfile, aflag ? "a" : "w")))                          if (!(outf = fopen(outfile, aflag ? "a" : "w")))
                                 err(exit_val, "%s", outfile);                                  err(exit_val, "%s", outfile);

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