From owner-svn-src-all@freebsd.org Sun Nov 27 20:43:08 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 B5089C599C1; Sun, 27 Nov 2016 20:43:08 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mailout.stack.nl (mailout05.stack.nl [IPv6:2001:610:1108:5010::202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout.stack.nl", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 83BBF241; Sun, 27 Nov 2016 20:43:08 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mailout.stack.nl (Postfix) with ESMTP id ECAA737; Sun, 27 Nov 2016 21:43:05 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1677) id D965028494; Sun, 27 Nov 2016 21:43:05 +0100 (CET) Date: Sun, 27 Nov 2016 21:43:05 +0100 From: Jilles Tjoelker To: Julian Elischer Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r309035 - in head/lib/libpathconv: . tests Message-ID: <20161127204305.GA58954@stack.nl> References: <201611230757.uAN7vqmC008888@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201611230757.uAN7vqmC008888@repo.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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 20:43:08 -0000 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 > 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 scripts > 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 'realpath'. > Incredibly useful in Makefiles. > I was going to just add the files in with 'ln' but a library makes more sense. > The test programs may come out in their own right some day for scripting. > released under a BSD 2-clause: > * Copyright (c) 1997 Shigio Yamaguchi. All rights reserved. > * Copyright (c) 1999 Tama Communications Corporation. All rights reserved. > The test directry does not conform to any framework. > Not connected to build. > doc people may want to play with the manual pages. > Obtained from: https://www.tamacom.com/pathconvert.html Shigio Yamaguchi. > MFC after: 1 month > Relnotes: yes > Sponsored by: Panzura, Tama Communications Corporation 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. Thanks for not linking this to the build right away. -- Jilles Tjoelker