RCS file: RCS/exec.c,v retrieving revision 1.1 diff -u -r1.1 exec.c --- exec.c 1996/07/24 17:16:34 1.1 +++ exec.c 1996/07/24 17:16:46 @@ -1686,8 +1686,10 @@ } if (type == SIMPLE) { closem(1); +#ifdef HAVE_GETRLIMIT if (!forked) setlimits(NULL); +#endif execute((Cmdnam) hn, cflags & BINF_DASH); } else { /* ( ... ) */ list_pipe = 0;