[BACK]Return to mdoc_hash.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/mdoc_hash.c between version 1.3 and 1.5

version 1.3, 2009/04/12 19:45:26 version 1.5, 2009/06/16 19:55:28
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>   * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 46  mdoc_hash_alloc(void)
Line 46  mdoc_hash_alloc(void)
         if (NULL == htab)          if (NULL == htab)
                 return(NULL);                  return(NULL);
   
         for (i = 1; i < MDOC_MAX; i++) {          for (i = 0; i < MDOC_MAX; i++) {
                 major = mdoc_macronames[i][0];                  major = mdoc_macronames[i][0];
                 assert((major >= 65 && major <= 90) ||                  assert((major >= 65 && major <= 90) ||
                                 major == 37);                                  major == 37);

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

CVSweb