From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2686 invoked by alias); 6 Oct 2014 12:36:59 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33363 Received: (qmail 21673 invoked from network); 6 Oct 2014 12:36:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Mon, 6 Oct 2014 14:30:46 +0200 From: Michael Prokop To: zsh-workers@zsh.org Subject: ulimit behaviour of bash vs. zsh Message-ID: <2014-10-06T14-23-03@devnull.michael-prokop.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline X-URL: http://michael-prokop.at/ X-GPG-Key-ID: 0x37E272E8 X-GPG-Key: http://www.michael-prokop.at/gpg X-GPG-Fingerprint: 04AE E62C 9502 CD34 A7DA 857B D8DF 53FB 37E2 72E8 Jabber-ID: mika@jabber.grml.org User-Agent: Mutt/1.5.20 (2009-06-14) --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, this is what Bash does: $ ulimit -l 64 $ ulimit -l unlimited bash: ulimit: max locked memory: cannot modify limit: Operation not permitted $ echo $? 1 While that's the behaviour of Zsh: % ulimit -l 64 % ulimit -l unlimited % echo $? 0 % ulimit -l 64 I find this quite irritating. Is that behaviour by intention? :) regards, -mika- --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlQyi3YACgkQ2N9T+zficujGjgCfcCKSIQS4l5lrF4QtP0LyjD7b T5wAn3B/Rx8JT4fW2UmQy3YQcWfMxzAg =awx5 -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--