Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id 7E50A63E496 for ; Tue, 30 Apr 2013 21:50:06 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 3F93214A310; Tue, 30 Apr 2013 21:50:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B178F14A302 for ; Tue, 30 Apr 2013 21:50:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id DZrKvgKsT7aG for ; Tue, 30 Apr 2013 21:50:05 +0000 (UTC) Received: from nef.pbox.org (ns.pbox.org [IPv6:2001:41d0:1:e836::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.netbsd.org (Postfix) with ESMTPS id B72E514A2DF for ; Tue, 30 Apr 2013 21:50:04 +0000 (UTC) Received: from nef.pbox.org (localhost [127.0.0.1]) by nef.pbox.org (8.14.5/8.14.5/) with ESMTP id r3ULo097014285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 30 Apr 2013 23:50:01 +0200 (CEST) Received: (from agc@localhost) by nef.pbox.org (8.14.5/8.14.5/Submit) id r3ULo076018507 for pkgsrc-changes@netbsd.org; Tue, 30 Apr 2013 23:50:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1B49814A2E4 for ; Tue, 30 Apr 2013 17:58:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id d5RwCvHVaZdx for ; Tue, 30 Apr 2013 17:58:45 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 487EE14A2E1 for ; Tue, 30 Apr 2013 17:58:45 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 37BD0175DD; Tue, 30 Apr 2013 17:58:45 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 30 Apr 2013 17:58:45 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/shells/mksh To: pkgsrc-changes@netbsd.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20130430175845.37BD0175DD@cvs.netbsd.org> X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (nef.pbox.org [0.0.0.0]); Tue, 30 Apr 2013 23:50:01 +0200 (CEST) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: bsiegert Date: Tue Apr 30 17:58:45 UTC 2013 Modified Files: pkgsrc/shells/mksh: Makefile distinfo pkgsrc/shells/mksh/patches: patch-mksh.1 Log Message: Update to mksh-45. * [tg] Make “set -x” print the commands run in escaped form * [tg] PS4 in dot.mkshrc is now timestamped * [tg] The &> GNU bash I/O redir is no longer parsed in -o posix, -o sh modes, lksh (breaks valid scripts) * [tg] Implement ${ …;} more efficiently (deleted-open files) * [tg] For shf, %#s (if you can get it past GCC’s printf format attribute) calls print_value_quoted, ignoring field width and precision * [tg] Catch “typeset =” (regression) with better error message * [tg, Tonnerre Lombard] add “doch” alias to dot.mkshrc which just repeats the last input line with sudo(8) * [tg] Use unsigned integers for all calculations, to avoid ISO C “Undefined Behaviour” (and implementation-defined behaviour) throughout (most of) the code; emulate signed integer arithmetics using unsigned; not-lksh only * [tg] Emulate signed modulo naïvely, for correct sign of the result * [tg] Add <<< and >>> for ROL and ROR (rotate left and right, respectively) operations, <<<= and >>> assignments; bitwise AND the RHS of a shift/rotate op with 31 (not for lksh) * [tg] Remove a warning by working around a workaround found in dietlibc which works around a bug in broken software such as GNU tar (really!) * [tg] Correct and simplify list and categorisation of built-in commands as POSIX special and “everything else” plus a flag to keep assignments * [tg] Handle ((foo)) as “let]” internally to avoid a conflict with user-defined functions called let (LP#1156707) * [tg] Clean up the code To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 pkgsrc/shells/mksh/Makefile cvs rdiff -u -r1.21 -r1.22 pkgsrc/shells/mksh/distinfo cvs rdiff -u -r1.2 -r1.3 pkgsrc/shells/mksh/patches/patch-mksh.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.