*/
#ifndef lint
-static char sccsid[] = "@(#)wwinit.c 3.31 (Berkeley) %G%";
+static char sccsid[] = "@(#)wwinit.c 3.32 (Berkeley) %G%";
#endif /* not lint */
#include "ww.h"
for (i = 0; i < wwnrow; i++)
wwtouched[i] = 0;
+ wwupd = (struct ww_update *) malloc((unsigned) wwnrow * sizeof *wwupd);
+ if (wwupd == 0) {
+ wwerrno = WWE_NOMEM;
+ goto bad;
+ }
+
wwindex[WWX_NOBODY] = &wwnobody;
wwnobody.ww_order = NWW;