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

Diff for /src/usr.bin/man/Attic/man.c between version 1.8 and 1.9

version 1.8, 1998/04/25 00:25:37 version 1.9, 1998/07/01 11:23:40
Line 67 
Line 67 
 #include "pathnames.h"  #include "pathnames.h"
   
 int f_all, f_where;  int f_all, f_where;
   static TAG *section;    /* could be passed to cleanup() instead */
   
 extern char *__progname;  extern char *__progname;
   
Line 87 
Line 88 
 {  {
         extern char *optarg;          extern char *optarg;
         extern int optind;          extern int optind;
         TAG *defp, *defnewp, *section, *sectnewp, *subp;          TAG *defp, *defnewp, *sectnewp, *subp;
         ENTRY *e_defp, *e_sectp, *e_subp, *ep;          ENTRY *e_defp, *e_sectp, *e_subp, *ep;
         glob_t pg;          glob_t pg;
         size_t len;          size_t len;
Line 741 
Line 742 
             NULL : missp->list.tqh_first;              NULL : missp->list.tqh_first;
         if (ep != NULL)          if (ep != NULL)
                 for (; ep != NULL; ep = ep->q.tqe_next) {                  for (; ep != NULL; ep = ep->q.tqe_next) {
                         warnx("no entry for %s in the manual.", ep->s);                          if (section)
                                   warnx("no entry for %s in section %s of the manual.",
                                           ep->s, section->s);
                           else
                                   warnx("no entry for %s in the manual.", ep->s);
                         rval = 1;                          rval = 1;
                 }                  }
   

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9