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

Diff for /src/usr.bin/tic/dump_entry.c between version 1.2 and 1.3

version 1.2, 1998/11/03 21:59:53 version 1.3, 1999/01/24 19:33:51
Line 40 
Line 40 
 #include <termsort.c>           /* this C file is generated */  #include <termsort.c>           /* this C file is generated */
 #include <parametrized.h>       /* so is this */  #include <parametrized.h>       /* so is this */
   
 MODULE_ID("$From: dump_entry.c,v 1.29 1998/09/26 13:15:00 tom Exp $")  MODULE_ID("$From: dump_entry.c,v 1.30 1999/01/24 02:44:40 Jeffrey.C.Honig Exp $")
   
 #define INDENT                  8  #define INDENT                  8
   
Line 91 
Line 91 
 {  {
     const struct name_table_entry       *np;      const struct name_table_entry       *np;
   
     if ((np = _nc_find_entry(name, _nc_info_hash_table)) != 0)      if ((np = _nc_find_entry(name, _nc_get_hash_table(0))) != 0)
         switch(np->nte_type)          switch(np->nte_type)
         {          {
         case BOOLEAN:          case BOOLEAN:
Line 167 
Line 167 
   
     /* implement sort modes */      /* implement sort modes */
     switch(sortmode = sort)      switch(sortmode = sort)
     {      {
     case S_NOSORT:      case S_NOSORT:
         if (traceval)          if (traceval)
             (void) fprintf(stderr,              (void) fprintf(stderr,
Line 757 
Line 757 
              * is really just an optimization hack.               * is really just an optimization hack.
              */               */
             char *oldsgr = set_attributes;              char *oldsgr = set_attributes;
             set_attributes = ABSENT_STRING;              set_attributes = ABSENT_STRING;
             (void) printf("# (sgr removed to fit entry within %d bytes)\n",              (void) printf("# (sgr removed to fit entry within %d bytes)\n",
                           critlen);                            critlen);
             if ((len = fmt_entry(tterm, pred, TRUE, infodump, numbers)) > critlen)              if ((len = fmt_entry(tterm, pred, TRUE, infodump, numbers)) > critlen)

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