about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-03-17 23:35:01 +0000
committerClint Adams <clint@users.sourceforge.net>2006-03-17 23:35:01 +0000
commit717c7c553276dc7a34bfba012d35abf0a88d1ec3 (patch)
tree3de342df74f11665921549e8928df27fb87453a4
parentfecd3bbbc9a583c80df5325369282feba1f5e8bd (diff)
downloadzsh-717c7c553276dc7a34bfba012d35abf0a88d1ec3.tar.gz
zsh-717c7c553276dc7a34bfba012d35abf0a88d1ec3.tar.xz
zsh-717c7c553276dc7a34bfba012d35abf0a88d1ec3.zip
22364: add 'nice' and 'rt_priority' rlimits (NICE and RTPRIO).
-rw-r--r--ChangeLog5
-rw-r--r--Src/Builtins/rlimits.awk2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 060f2bd83..dde7c5e8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-17  Clint Adams  <clint@zsh.org>
+
+	* 22364: Src/Builtins/rlimits.awk: add 'nice' and
+	'rt_priority' rlimits (NICE and RTPRIO).
+
 2006-03-16  Clint Adams  <clint@zsh.org>
 
 	* 22349: Completion/X/Command/_nautilus: completion for
diff --git a/Src/Builtins/rlimits.awk b/Src/Builtins/rlimits.awk
index 3258e077b..b96941125 100644
--- a/Src/Builtins/rlimits.awk
+++ b/Src/Builtins/rlimits.awk
@@ -51,6 +51,8 @@ BEGIN {limidx = 0}
 	    if (limnam == "VMEM")    { msg[limnum] = "Mvmemorysize" }
 	    if (limnam == "SIGPENDING") { msg[limnum] = "Nsigpending" }
 	    if (limnam == "MSGQUEUE") { msg[limnum] = "Nmsgqueue" }
+	    if (limnam == "NICE") { msg[limnum] = "Nnice" }
+	    if (limnam == "RTPRIO") { msg[limnum] = "Nrt_priority" }
         }
     }
 }