Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ulimit differences between zsh and bash on Linux



Daniel Qarras wrote:
> on a Linux system I have set following limits (only) on
> /etc/security/limits.conf:
> 
> *               soft    core            0
> *               hard    core            32768
> 
> When I use bash I get this:
> 
> $ ulimit -Hc
> 32768
> 
> But with zsh CVS I get this:
> 
> $ ulimit -Hc
> 65536
> 
> Both shells should measure core limit as blocks so is there a bug in
> zsh or am I missing something?

I get the same results.  zsh is definitely using 512, the traditional
block size, which as far as I know is correct.  Is bash?  If it were
using 1024 that would explain the difference.

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



Messages sorted by: Reverse Date, Date, Thread, Author