On Wed, 1 Jun 2011 00:25:00 -0500 Andrew Deason <adea...@sinenomine.net> wrote:
> On Tue, 31 May 2011 18:44:24 -0400 > Derrick Brashear <sha...@gmail.com> wrote: > > > or, for now, just replace that with > > memset(dirHeader->hashTable, 0, NHASHENT*(unsigned short)); > > > > and move along? > > Yeah but, I'd like to get a better solution for when this happens again. > Prohibiting loops like that would be a bizarre requirement :) loops like that should not be written. memset() can do a better job of zero'ing memory than iterating each member. _______________________________________________ OpenAFS-info mailing list OpenAFS-info@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-info