zsh-workers
 help / color / mirror / code / Atom feed
* WARNING: unknown limits
@ 2006-07-31 12:50 Matthias B.
  2006-07-31 13:14 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias B. @ 2006-07-31 12:50 UTC (permalink / raw)
  To: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

Hi, I've just compiled zsh-4.3.2 and I've got the following message

WARNING: unknown limits: mail rlimits.h to developers

Well, I've attached the rlimits.h in question. Looks like the new glibc
(I'm using 2.4) has 2 limits "NICE" and "RTPRIO" that rlimits.awk doesn't
know yet.

Here are the relevant parts from resource.h

  /* Maximum nice priority allowed to raise to.
     Nice levels 19 .. -20 correspond to 0 .. 39
     values of this resource limit.  */
  __RLIMIT_NICE = 13,
#define RLIMIT_NICE __RLIMIT_NICE

  /* Maximum realtime priority allowed for non-priviledged
     processes.  */
  __RLIMIT_RTPRIO = 14,
#define RLIMIT_RTPRIO __RLIMIT_RTPRIO


MSB

-- 
Ambition is a poor excuse for not having enough sense to be lazy.


[-- Attachment #2: rlimits.h --]
[-- Type: text/plain, Size: 683 bytes --]

/** rlimits.h                              **/
/** architecture-customized limits for zsh **/

#define ZSH_NLIMITS 15

static char const *recs[ZSH_NLIMITS] = {
	"cputime",
	"filesize",
	"datasize",
	"stacksize",
	"coredumpsize",
	"memoryuse",
	"maxproc",
	"descriptors",
	"memorylocked",
	"addressspace",
	"maxfilelocks",
	"sigpending",
	"msgqueue",
	"NICE",
	"RTPRIO",
};

static int limtype[ZSH_NLIMITS] = {
	ZLIMTYPE_TIME,
	ZLIMTYPE_MEMORY,
	ZLIMTYPE_MEMORY,
	ZLIMTYPE_MEMORY,
	ZLIMTYPE_MEMORY,
	ZLIMTYPE_MEMORY,
	ZLIMTYPE_NUMBER,
	ZLIMTYPE_NUMBER,
	ZLIMTYPE_MEMORY,
	ZLIMTYPE_MEMORY,
	ZLIMTYPE_NUMBER,
	ZLIMTYPE_NUMBER,
	ZLIMTYPE_NUMBER,
	ZLIMTYPE_UNKNOWN,
	ZLIMTYPE_UNKNOWN,
};

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: WARNING: unknown limits
  2006-07-31 12:50 WARNING: unknown limits Matthias B.
@ 2006-07-31 13:14 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2006-07-31 13:14 UTC (permalink / raw)
  To: Matthias B., Zsh hackers list

"Matthias B." wrote:
> Hi, I've just compiled zsh-4.3.2 and I've got the following message
> 
> WARNING: unknown limits: mail rlimits.h to developers

Thanks... they've already been added to they'll be in 4.3.3.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-31 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-31 12:50 WARNING: unknown limits Matthias B.
2006-07-31 13:14 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).