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

Diff for /src/usr.bin/mandoc/chars.c between version 1.32 and 1.33

version 1.32, 2014/10/27 13:29:30 version 1.33, 2014/10/28 13:22:57
Line 121 
Line 121 
 {  {
         int      i;          int      i;
   
         if ((i = mandoc_strntoi(p, sz, 16)) < 0)          i = mandoc_strntoi(p, sz, 16);
                 return(0xFFFD);          assert(i >= 0 && i <= 0x10FFFF);
           return(i);
         /*  
          * XXX Code is missing here to exclude bogus ranges.  
          */  
   
         return(i <= 0x10FFFF ? i : 0xFFFD);  
 }  }
   
 const char *  const char *

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33