[BACK]Return to subr_pool.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/subr_pool.c between version 1.21.2.2.2.1 and 1.21.2.2.2.2

version 1.21.2.2.2.1, 1999/06/21 01:24:03 version 1.21.2.2.2.2, 1999/07/04 01:37:45
Line 841  _pool_put(pp, v, file, line)
Line 841  _pool_put(pp, v, file, line)
          * Return to item list.           * Return to item list.
          */           */
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
         /* XXX Should fill the item. */  
         pi->pi_magic = PI_MAGIC;          pi->pi_magic = PI_MAGIC;
 #endif  #endif
   #ifdef DEBUG
           {
                   int i, *ip = v;
   
                   for (i = 0; i < pp->pr_size / 4; i++) {
                           *ip++ = PI_MAGIC;
                   }
           }
   #endif
         TAILQ_INSERT_HEAD(&ph->ph_itemlist, pi, pi_list);          TAILQ_INSERT_HEAD(&ph->ph_itemlist, pi, pi_list);
         ph->ph_nmissing--;          ph->ph_nmissing--;
         pp->pr_nput++;          pp->pr_nput++;

Legend:
Removed from v.1.21.2.2.2.1  
changed lines
  Added in v.1.21.2.2.2.2

CVSweb <webmaster@jp.NetBSD.org>