Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: RLIMITS macros
- X-seq: zsh-workers 18424
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: RLIMITS macros
- Date: Tue, 1 Apr 2003 16:08:33 +0000
- In-reply-to: <1030401154707.ZM17796@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <2067.1049190004@xxxxxxx> <1030401154707.ZM17796@xxxxxxxxxxxxxxxxxxxxxxx>
On Apr 1, 3:47pm, Bart Schaefer wrote:
}
} It means that both RLIMIT_AS and RLIMIT_RSS are defined, are different
} from one another, and that RLIMIT_VMEM is not defined at all.
Oh, but the important bit is that they're defined as members of an enum,
not as integer digits, so they can't be compared for equality using the
preprocessor.
With the 18419 patch, zsh compiles but still mishandles "ulimit -v":
schaefer[571] Src/zsh -f
zagzig% limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8MB
coredumpsize unlimited
memoryuse unlimited
maxproc 2040
descriptors 1024
memorylocked unlimited
addressspace unlimited
zagzig% ulimit -v 1024
zagzig% zsh: segmentation fault (core dumped) Src/zsh -f
Messages sorted by:
Reverse Date,
Date,
Thread,
Author