--- /tmp/elks/fs/exec.c Mon Apr 29 03:02:28 2002 +++ fs/exec.c Fri May 17 15:14:34 2002 @@ -266,16 +266,8 @@ */ ptr = ((char *) mh.dseg) + stack_top; - count = mh.bseg; - while (count) { - pokeb(dseg, ptr++, 0); - count--; - } - /* fmemset should work, but doesn't */ -#if 0 - fmemset(ptr, dseg, 0, count); -#endif + fmemset((char *)mh.dseg + stack_top, dseg, 0, mh.bseg); /* * Copy the stack