Received: by mail.netbsd.org (Postfix, from userid 605) id 0F19384E7A; Thu, 4 May 2023 10:15:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4130884E6D for ; Thu, 4 May 2023 10:15:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id yJcWeoAKKR7H for ; Thu, 4 May 2023 10:15:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 890A784D09 for ; Thu, 4 May 2023 10:15:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 827FDFA87; Thu, 4 May 2023 10:15:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1683195353273270" MIME-Version: 1.0 Date: Thu, 4 May 2023 10:15:53 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/shells/mksh To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20230504101553.827FDFA87@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1683195353273270 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Thu May 4 10:15:53 UTC 2023 Modified Files: pkgsrc/shells/mksh: Makefile pkgsrc/shells/mksh/files: funcs.c Log Message: mksh: Remove defer-always flag from printf. Previously this deferred to a printf binary if one was found in $PATH, which completely defeats the point of using the builtin for performance reasons. We always create a printf wrapper so one was always found. A nasty side-effect of this was that with TOOLS_PLATFORM.printf=printf we would end up in a recursive loop. Now printf will always use the builtin. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 pkgsrc/shells/mksh/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/shells/mksh/files/funcs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1683195353273270 Content-Disposition: inline Content-Length: 1019 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/shells/mksh/Makefile diff -u pkgsrc/shells/mksh/Makefile:1.45 pkgsrc/shells/mksh/Makefile:1.46 --- pkgsrc/shells/mksh/Makefile:1.45 Mon Dec 19 13:42:34 2022 +++ pkgsrc/shells/mksh/Makefile Thu May 4 10:15:53 2023 @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.45 2022/12/19 13:42:34 jperkin Exp $ +# $NetBSD: Makefile,v 1.46 2023/05/04 10:15:53 jperkin Exp $ DISTNAME= mksh-R59b PKGNAME= ${DISTNAME:S/-R/-/} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= shells MASTER_SITES= # maintained locally DISTFILES= # empty Index: pkgsrc/shells/mksh/files/funcs.c diff -u pkgsrc/shells/mksh/files/funcs.c:1.1 pkgsrc/shells/mksh/files/funcs.c:1.2 --- pkgsrc/shells/mksh/files/funcs.c:1.1 Mon Jul 6 10:11:34 2020 +++ pkgsrc/shells/mksh/files/funcs.c Thu May 4 10:15:53 2023 @@ -156,7 +156,7 @@ const struct builtin mkshbuiltins[] = { {"mknod", c_mknod}, #endif #ifdef MKSH_PRINTF_BUILTIN - {"~printf", c_printf}, + {"printf", c_printf}, #endif #if HAVE_SELECT {"sleep", c_sleep}, --_----------=_1683195353273270--