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

Diff for /src/usr.bin/apropos/Attic/apropos.c between version 1.3 and 1.5

version 1.3, 1996/10/25 06:27:42 version 1.5, 1997/09/11 11:24:53
Line 81 
Line 81 
   
         conffile = NULL;          conffile = NULL;
         p_augment = p_path = NULL;          p_augment = p_path = NULL;
         while ((ch = getopt(argc, argv, "C:M:m:P:")) != EOF)          while ((ch = getopt(argc, argv, "C:M:m:P:")) != -1)
                 switch (ch) {                  switch (ch) {
                 case 'C':                  case 'C':
                         conffile = optarg;                          conffile = optarg;
Line 143 
Line 143 
         char buf[LINE_MAX + 1], wbuf[LINE_MAX + 1];          char buf[LINE_MAX + 1], wbuf[LINE_MAX + 1];
   
         for (name = path; name; name = end) {   /* through name list */          for (name = path; name; name = end) {   /* through name list */
                 if (end = strchr(name, ':'))                  if ((end = strchr(name, ':')))
                         *end++ = '\0';                          *end++ = '\0';
   
                 if (buildpath) {                  if (buildpath) {

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