diff -ru contrib/tcsh.orig/sh.func.c contrib/tcsh/sh.func.c --- contrib/tcsh.orig/sh.func.c 2004-06-01 17:34:01.000000000 -0300 +++ contrib/tcsh/sh.func.c 2004-09-12 16:43:39.000000000 -0300 @@ -1858,6 +1858,10 @@ { RLIMIT_POSIXLOCKS, "posixlocks", 1, "" }, #endif /* RLIMIT_POSIXLOCKS */ +#ifdef RLIMIT_FORK + { RLIMIT_FORK, "forkdepth", 1, "" }, +#endif /* RLIMIT_FORK */ + { -1, NULL, 0, NULL } }; diff -ru contrib/tcsh.orig/tcsh.man contrib/tcsh/tcsh.man --- contrib/tcsh.orig/tcsh.man 2003-06-16 23:47:07.000000000 -0300 +++ contrib/tcsh/tcsh.man 2004-09-12 16:44:38.000000000 -0300 @@ -2922,6 +2922,9 @@ .TP \fIsbsize\fR the maximum size of socket buffer usage for this user +.TP +\fIforkdepth\fR +the maximum depth of the process tree having the current process as its root .PP \fImaximum-use\fR may be given as a (floating point or integer) number followed by a scale factor. For all limits