From owner-svn-src-head@freebsd.org Thu Mar 9 06:41:02 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D150D04DBD; Thu, 9 Mar 2017 06:41:02 +0000 (UTC) (envelope-from oshogbo@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 mx1.freebsd.org (Postfix) with ESMTPS id F0CE0C2A; Thu, 9 Mar 2017 06:41:01 +0000 (UTC) (envelope-from oshogbo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v296f1me097406; Thu, 9 Mar 2017 06:41:01 GMT (envelope-from oshogbo@FreeBSD.org) Received: (from oshogbo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v296f1Zv097405; Thu, 9 Mar 2017 06:41:01 GMT (envelope-from oshogbo@FreeBSD.org) Message-Id: <201703090641.v296f1Zv097405@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: oshogbo set sender to oshogbo@FreeBSD.org using -f From: Mariusz Zaborski Date: Thu, 9 Mar 2017 06:41:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r314949 - head/contrib/traceroute X-SVN-Group: head 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.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2017 06:41:02 -0000 Author: oshogbo Date: Thu Mar 9 06:41:00 2017 New Revision: 314949 URL: https://svnweb.freebsd.org/changeset/base/314949 Log: Cache NLS data for strerror(3). Modified: head/contrib/traceroute/traceroute.c Modified: head/contrib/traceroute/traceroute.c ============================================================================== --- head/contrib/traceroute/traceroute.c Thu Mar 9 06:01:24 2017 (r314948) +++ head/contrib/traceroute/traceroute.c Thu Mar 9 06:41:00 2017 (r314949) @@ -238,6 +238,7 @@ static const char rcsid[] = #endif /* IPSEC */ #include +#include #include #include #include @@ -1014,6 +1015,8 @@ main(int argc, char **argv) cansandbox = false; #endif + caph_cache_catpages(); + /* * Here we enter capability mode. Further down access to global * namespaces (e.g filesystem) is restricted (see capsicum(4)).