From owner-svn-src-all@freebsd.org Sun Nov 27 22:27:53 2016 Return-Path: Delivered-To: svn-src-all@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 93127C59F22; Sun, 27 Nov 2016 22:27:53 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wj0-x243.google.com (mail-wj0-x243.google.com [IPv6:2a00:1450:400c:c01::243]) (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 2A1AB1D2C; Sun, 27 Nov 2016 22:27:53 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wj0-x243.google.com with SMTP id xy5so11916137wjc.1; Sun, 27 Nov 2016 14:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=61Zp2QBfuQNmqsaUu/haQox0WDUxpONKZd5knKg9jCM=; b=o7By6ci/J3FCfOmFLCyPdOkTAzABeTjnyzNv/DuKk+tbDeeKR+9BYoSRDq8YcqcFEP ww2+847q71r5PxC7G332PMydN4iTt/IxegLsY0BKGBZDetToe1/JtNGg3Ax0EPcBbL6x m66Z7CbMR8xRRmpf0SRTp9niV81Vr5K3Zq0OL9acRf/8e+FX0+Uci+NN9yq4yn3O4ceF dNA+jPsRCzUkW830FFdrnx/t7xJqR8fm6hh82va3SAu5sEcBYJxULBJul6147w42jE8t uqS4Lo7LALd/fvD/6erI1hd/eeTFxa6KE4ALpPsXiGB/a0Uf+YxTFyI7SX+lmu0F2MDX UNFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=61Zp2QBfuQNmqsaUu/haQox0WDUxpONKZd5knKg9jCM=; b=H9QsjjEY6UkEbIbP6aYQ8WGjoiaOV33i5a6jGtP+vIJylYRhpbQspUcv83IIo+U72L VDKFmW1McXxHhqMQ8nuunD1fWbpLWpuljmiE+BSjl9b3DxFCudk5LExU/hYuWPkiTgrT vh+rdzCxAPdF0aeDp5MwG8/WC5gdPI6oXKBJN1MxlEfi5KTiy2fqRH1ExHBDLRjBM1kf IMMvww4Rkp/WsT32Sopr51UycMGyrNIQGnDa/OIb/9fE5ly5xKbjrwZivf6UBhBo01kx kaGFEVkN9h2d2isZFZEsZQc07BUaXiWwHI4izmZPQM0pPJTNB+iEyS5zzRlAx5IBVeLJ 5LEw== X-Gm-Message-State: AKaTC00Kw1pA0LF4RAbIlo/SOBT7dqKn4MBqY0Ez+q8phRN7XkWFiieOM5lm3WCIWfpNRA== X-Received: by 10.194.121.6 with SMTP id lg6mr18770904wjb.105.1480285670489; Sun, 27 Nov 2016 14:27:50 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id n5sm24557729wmf.0.2016.11.27.14.27.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Nov 2016 14:27:49 -0800 (PST) Sender: Baptiste Daroussin Date: Sun, 27 Nov 2016 23:27:48 +0100 From: Baptiste Daroussin To: Jilles Tjoelker Cc: Julian Elischer , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r309035 - in head/lib/libpathconv: . tests Message-ID: <20161127222748.uptaiumgvnyopzic@ivaldir.etoilebsd.net> References: <201611230757.uAN7vqmC008888@repo.freebsd.org> <20161127204305.GA58954@stack.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yrzfvtni7wfrptil" Content-Disposition: inline In-Reply-To: <20161127204305.GA58954@stack.nl> User-Agent: NeoMutt/20161104 (1.7.1) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 27 Nov 2016 22:27:53 -0000 --yrzfvtni7wfrptil Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 27, 2016 at 09:43:05PM +0100, Jilles Tjoelker wrote: > On Wed, Nov 23, 2016 at 07:57:52AM +0000, Julian Elischer wrote: > > Author: julian > > Date: Wed Nov 23 07:57:52 2016 > > New Revision: 309035 > > URL: https://svnweb.freebsd.org/changeset/base/309035 >=20 > > Log: > > This little BSD licensed library has been kicking around for years. > > It allows one to trivially convert an absolute path to a relative path > > and the reverse. The test programs themselves are very useful in scri= pts > > but the real use comes shortly with the -r and -a arguments to ln. > > These are sometimes known as the --relative and --absolute flags and > > can force a symlink to be relative when you only have an absolue path. > > Another place these are sometimes used is to add -a and -r args to 'r= ealpath'. > > Incredibly useful in Makefiles. >=20 > > I was going to just add the files in with 'ln' but a library makes mo= re sense. > > The test programs may come out in their own right some day for script= ing. >=20 > > released under a BSD 2-clause: > > * Copyright (c) 1997 Shigio Yamaguchi. All rights reserved. > > * Copyright (c) 1999 Tama Communications Corporation. All rights res= erved. >=20 > > The test directry does not conform to any framework. > > Not connected to build. > > doc people may want to play with the manual pages. >=20 > > Obtained from: https://www.tamacom.com/pathconvert.html Shigio Yama= guchi. > > MFC after: 1 month > > Relnotes: yes > > Sponsored by: Panzura, Tama Communications Corporation >=20 > Consider making this a static-only library or a part of an existing > library such as libc or libutil, since the overhead of a shared object > is rather big compared to the amount of code here. >=20 > Thanks for not linking this to the build right away. +1 seems like a good candidate for libutil Best regards, Bapt --yrzfvtni7wfrptil Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlg7XeEACgkQY4mL3PG3 PlqknhAAuqG1Llqsz2f4DaAviEm+/p9HzAKnQ6TeyXf5txYYK74aXFa4GbJdUsYC d6fmLbPgJEAMWBiKz8jmx+6vcVCNVtRpLXhZ+dLzzBhEUAZMJtmpFjYRpMg4A+vA 66mYd6tQHQHI27ua2X9Dgbzwtw5+gpuVDqJY1NHfg62vwfq5ToFuel/ACb57Ifk5 NjKzWxsnQE8mJ3/xUS4wKa873AIjvwz9njy4tMUNH9F3WmlQgIzr873d4jaRCQV4 9DzpgOk4XVHbuxzN62PxpN2FDa0bF/vVvGx03KlUljyAk3IiPefSbUBe6iqU/qcF 7WLJ7ya+/N6wNAMPzwtYykFTXfQDX4KhEmf0Ujti1SdtTQ4FpJBCzhS53YFKlXqm 4e0uYLCXyHxYitBeqi1wOEKCvPtWZhgNaENl7DWNui7IilZtQFsm3N+7jCVZ5mGW tcWouILfsi1mJ4YMay5qqw0E0wrG2YZ3r+g6Muk3f97vVqGNlzcACfM0O77hWlO7 p1kTV2QML0hccUV5HzlKAXrJIGYqoo+z1mg4Sh6HzAYNTAS4bz6xu6osydxvIQrG pi3F2PNOlcD/yDiL0iPUeZoA3VRa98yfcJcAdQ1ICgfkl1RGJMA6+oKDaV+H7LLV pxsAanwLE03iqCZlTJsxmbL04Uo2HMJXLlg5kPuRtaxxuZqtC2k= =NYpy -----END PGP SIGNATURE----- --yrzfvtni7wfrptil--