From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16240 invoked from network); 1 Feb 2009 08:44:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Feb 2009 08:44:43 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 49408 invoked from network); 1 Feb 2009 08:44:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Feb 2009 08:44:36 -0000 Received: (qmail 14843 invoked by alias); 1 Feb 2009 08:44:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26504 Received: (qmail 14833 invoked from network); 1 Feb 2009 08:44:29 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 1 Feb 2009 08:44:29 -0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by bifrost.dotsrc.org (Postfix) with ESMTP id 8219F80271F0 for ; Sun, 1 Feb 2009 09:44:25 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id l26so321721fgb.37 for ; Sun, 01 Feb 2009 00:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=yOAza1x3rAlypf95W3ZVFpmE4Zcc8LkS1qsi3/BIY9w=; b=WRhp9KN6duwPGVauDx8CumQyEOI0zmxPZngIRN0Bb16dD682wm0pSwu8k2ogg2h+HM +6EW7He4r6wvMLN8q1bI+PUs6qQbBTwQGf4530p9SJcrGrasm9bemfbDLKp3AXB0vSGs pJhm8G4b0yTVUuR+qM2dir0uK42KmF7VFskio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=Oc+dnNVcvBf/tFYrm7cults3/fTBvHlxpHYgPTMOb0ri9iwEsgl+eCRU7XiGkzYYx6 eFfoTpGVYPHIfjPV874sZLwn6aBbn6meOeaHVb761ZV/hJ8mKTjCXJLx9m2XOG5QZpOo FdraCrN+VQgmBLyujjimHalrLx6mFkvzMvF3k= Received: by 10.86.94.11 with SMTP id r11mr1596651fgb.11.1233477865450; Sun, 01 Feb 2009 00:44:25 -0800 (PST) Received: from cooker.localnet (ppp91-77-249-206.pppoe.mtu-net.ru [91.77.249.206]) by mx.google.com with ESMTPS id e20sm881030fga.26.2009.02.01.00.44.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Feb 2009 00:44:24 -0800 (PST) From: Andrey Borzenkov To: zsh-workers@sunsite.dk Subject: [PATCH] document that PRIVILEGED and RESTRICTED are not restored by LOCALOPTIONS Date: Sun, 1 Feb 2009 11:44:17 +0300 User-Agent: KMail/1.11.0 (Linux/2.6.29-rc3-1avb; KDE/4.2.0; i686; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1539498.N8sofdKNQr"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200902011144.18987.arvidjaar@gmail.com> X-Virus-Scanned: ClamAV 0.92.1/8933/Sun Feb 1 06:27:00 2009 on bifrost X-Virus-Status: Clean --nextPart1539498.N8sofdKNQr Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Index: Doc/Zsh/options.yo =================================================================== RCS file: /cvsroot/zsh/zsh/Doc/Zsh/options.yo,v retrieving revision 1.69 diff -u -p -r1.69 options.yo --- Doc/Zsh/options.yo 18 Dec 2008 09:49:04 -0000 1.69 +++ Doc/Zsh/options.yo 1 Feb 2009 08:43:41 -0000 @@ -1109,8 +1109,9 @@ temporarily to the name of the function/ pindex(LOCAL_OPTIONS) item(tt(LOCAL_OPTIONS) )( If this option is set at the point of return from a shell function, -all the options (including this one) which were in force upon entry to -the function are restored. Otherwise, only this option and the +most options (including this one) which were in force upon entry to +the function are restored; options that are not restored are +tt(PRIVILEGED) and tt(RESTRICTED). Otherwise, only this option and the tt(XTRACE) and tt(PRINT_EXIT_VALUE) options are restored. Hence if this is explicitly unset by a shell function the other options in force at the point of return will remain so. --nextPart1539498.N8sofdKNQr Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkmFYOIACgkQR6LMutpd94zVUACgjbYakkvOscWQCgVAE+BvMNEK i8AAoM5Zj8Zv1dbfSQ1wiyKBTlV0KVzC =x3uv -----END PGP SIGNATURE----- --nextPart1539498.N8sofdKNQr--