From owner-svn-src-all@FreeBSD.ORG Wed Jun 3 21:51:49 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53CEA5A1; Wed, 3 Jun 2015 21:51:49 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 009A5170D; Wed, 3 Jun 2015 21:51:49 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by wgv5 with SMTP id 5so19905330wgv.1; Wed, 03 Jun 2015 14:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jAtQrqvwxQDkA0D+Pn/tvu2Qm2w/OVf+pouHCS71vrI=; b=f0nQhC7J68soF26ym3vt0CqI50MKPDAhIN4CDl18UaFtQzf+IirSRn7NVw89JSeC0v XMiKucx5wsPvF1L0gymBEp5Q/xIVadOZ2thgdA+RcMqjL26NjbRlOWov5Ny6C2aR1lnp Dy+0sTaI+NenW2WGBf2C9ar7rDhA+OO7tfvofyvmbZwGYUb4ZKLKWCg/Ik1lNVmicYRP TjqrCqeoJPdzNyNBZKCl+ICj0pVf7vxX0Vnk31LzLzCe4alofNN36xP8G0nu44hOCiZw MX6TWb/BWJ5h4WIh8PSmB2wg0mu6jrRb8TYjjFP7ReYZurHQLkjDls2ybQgIU21XWGg9 v9tA== MIME-Version: 1.0 X-Received: by 10.180.82.6 with SMTP id e6mr46194313wiy.84.1433368306549; Wed, 03 Jun 2015 14:51:46 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.27.100.214 with HTTP; Wed, 3 Jun 2015 14:51:46 -0700 (PDT) In-Reply-To: <201506032048.t53KmSCf074619@svn.freebsd.org> References: <201506032048.t53KmSCf074619@svn.freebsd.org> Date: Thu, 4 Jun 2015 00:51:46 +0300 X-Google-Sender-Auth: ylTLYRuPXJ-O0hQ7jnqNbv8gy50 Message-ID: Subject: Re: svn commit: r283969 - head/lib/libutil From: Sergey Kandaurov To: Baptiste Daroussin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 21:51:49 -0000 On 3 June 2015 at 23:48, Baptiste Daroussin wrote: > Author: bapt > Date: Wed Jun 3 20:48:28 2015 > New Revision: 283969 > URL: https://svnweb.freebsd.org/changeset/base/283969 > > Log: > Add a pw_mkdb2(3) function which does the same thing as pw_mkdb(3) except > it takes a new argument allowing to specify the endianness of the database > to generate > Why not change pw_mkdb()? Is it used outside of the project? > Modified: head/lib/libutil/pw_util.3 > ============================================================================== > --- head/lib/libutil/pw_util.3 Wed Jun 3 20:48:00 2015 (r283968) > +++ head/lib/libutil/pw_util.3 Wed Jun 3 20:48:28 2015 (r283969) > @@ -37,6 +37,7 @@ > .Nm pw_make , > .Nm pw_make_v7 , > .Nm pw_mkdb , > +.Nm pw_mkdb2 , > .Nm pw_lock , > .Nm pw_scan , > .Nm pw_tempname , > @@ -66,6 +67,8 @@ > .Ft int > .Fn pw_mkdb "const char *user" > .Ft int > +.Fn pw_mkdb "const char *user" "int endian" typo there -- wbr, pluknet