about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2024-09-14 19:30:30 +0200
committerOliver Kiddle <opk@zsh.org>2024-09-14 19:30:30 +0200
commit55ff6f88649a592eb42e04e7434fd89349d4518a (patch)
treeca1a5d01f1e9056a52b377ab9d66f7813264cb97 /Src
parent33976537684eb5d1111a0aeb58cabeb3d3acf393 (diff)
downloadzsh-55ff6f88649a592eb42e04e7434fd89349d4518a.tar.gz
zsh-55ff6f88649a592eb42e04e7434fd89349d4518a.tar.xz
zsh-55ff6f88649a592eb42e04e7434fd89349d4518a.zip
53083: handle Haiku specific resource limit for open vnode monitors
Diffstat (limited to 'Src')
-rw-r--r--Src/Builtins/rlimits.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c
index 5f9c84b0f..f25dd2530 100644
--- a/Src/Builtins/rlimits.c
+++ b/Src/Builtins/rlimits.c
@@ -171,6 +171,10 @@ static const resinfo_T known_resources[] = {
     {RLIMIT_TCACHE, "cachedthreads", ZLIMTYPE_NUMBER, 1,
 		'N', "cached threads"},
 # endif
+# ifdef HAVE_RLIMIT_NOVMON  /* Haiku */
+    {RLIMIT_NOVMON, "vnodemonitors", ZLIMTYPE_NUMBER, 1,
+		'N', "open vnode monitors"},
+# endif
 };
 
 /* resinfo[RLIMIT_XXX] points to the corresponding entry