Date: Thu, 12 Mar 2020 23:28:23 -0400 From: Ryan Moeller <freqlabs@FreeBSD.org> To: Kyle Evans <self@kyle-evans.net> Cc: src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org> Subject: Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat Message-ID: <957959A8-7D87-4858-8768-EB132BB97A64@FreeBSD.org> In-Reply-To: <CACNAnaGdt=QB0NHXnRo2QbdWy%2BVL4-cXnuXsj5B393qzKQXRdw@mail.gmail.com> References: <202003122304.02CN4fXO062077@repo.freebsd.org> <CACNAnaGdt=QB0NHXnRo2QbdWy%2BVL4-cXnuXsj5B393qzKQXRdw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> It's unclear from the context- is there any particular reason this > can't instead using sysctl kern.module_path and accept a semicolon > delimited list of directories for -k (maybe calling it -k kernelpath > instead)? No, that looks technically possible. -Ryan From owner-svn-src-head@freebsd.org Fri Mar 13 11:07:49 2020 Return-Path: <owner-svn-src-head@freebsd.org> Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 50C6825B8B2; Fri, 13 Mar 2020 11:07:49 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48f2wj0m5nz43fn; Fri, 13 Mar 2020 11:07:49 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF2E552A2; Fri, 13 Mar 2020 11:07:48 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02DB7muj016368; Fri, 13 Mar 2020 11:07:48 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02DB7m60016367; Fri, 13 Mar 2020 11:07:48 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202003131107.02DB7m60016367@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Fri, 13 Mar 2020 11:07:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358954 - head/share/man/man3 X-SVN-Group: head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: head/share/man/man3 X-SVN-Commit-Revision: 358954 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current <svn-src-head.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-head>, <mailto:svn-src-head-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/svn-src-head/> List-Post: <mailto:svn-src-head@freebsd.org> List-Help: <mailto:svn-src-head-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-head>, <mailto:svn-src-head-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 13 Mar 2020 11:07:49 -0000 Author: 0mp (doc,ports committer) Date: Fri Mar 13 11:07:48 2020 New Revision: 358954 URL: https://svnweb.freebsd.org/changeset/base/358954 Log: CMSG_DATA.3: Fix formatting of printf escape sequences Escape sequences like "\n" have to be escaped twice in examples in our mdoc(7)-based manual pages in order to be displayed properly. The problem is that otherwise they are interpreted by mdoc(7), which results in: printf("parent: received '%s'0, buf); being shown to the user instead of: printf("parent: received '%s'\n", buf); Approved by: bcr (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24056 Modified: head/share/man/man3/CMSG_DATA.3 Modified: head/share/man/man3/CMSG_DATA.3 ============================================================================== --- head/share/man/man3/CMSG_DATA.3 Fri Mar 13 10:29:31 2020 (r358953) +++ head/share/man/man3/CMSG_DATA.3 Fri Mar 13 11:07:48 2020 (r358954) @@ -2,7 +2,7 @@ .\" Public domain, July 3, 2005 .\" .\" $FreeBSD$ -.Dd November 1, 2018 +.Dd March 13, 2020 .Dt CMSG_DATA 3 .Os .Sh NAME @@ -142,7 +142,7 @@ main() cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { hellofd[1] = *(int *)CMSG_DATA(cmsg); - printf("child: sending '%s'\n", buf); + printf("child: sending '%s'\\n", buf); if (write(hellofd[1], buf, HELLOLEN) == -1) err(EX_IOERR, "failed to send 'hello'"); } @@ -166,7 +166,7 @@ main() if (read(hellofd[0], buf, HELLOLEN) == -1) err(EX_IOERR, "faild to receive 'hello'"); - printf("parent: received '%s'\n", buf); + printf("parent: received '%s'\\n", buf); break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?957959A8-7D87-4858-8768-EB132BB97A64>