Add RLIMIT_POSIXLOCKS support to csh/tcsh.
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 1 Jun 2004 20:34:01 +0000 (20:34 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 1 Jun 2004 20:34:01 +0000 (20:34 +0000)
contrib/tcsh/sh.func.c

index bd253e7..b74b42b 100644 (file)
@@ -1854,6 +1854,10 @@ struct limits limits[] =
     { RLIMIT_SBSIZE,   "sbsize",       1,      ""              },
 # endif /* RLIMIT_SBSIZE */
 
+#ifdef RLIMIT_POSIXLOCKS
+    { RLIMIT_POSIXLOCKS, "posixlocks",   1,      ""            },
+#endif /* RLIMIT_POSIXLOCKS */
+
     { -1,              NULL,           0,      NULL            }
 };