From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 9956EBD2A for ; Sun, 29 Jan 2017 22:22:52 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id b65so7119885wmf.0 for ; Sun, 29 Jan 2017 13:22:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=0SRdqXJaTbgBPBR1QntjXRKhO/VM8zqg00Y9jhvQhl4=; b=OXbkuNABOcWUMt8Lljhl+9AoGct7kgXFmci771Q7vsBDf2mAX6J4eRvz5qPH/62QO7 iHosCdU6m0BwpSlSyRw0Tx/aWpswZ47OYWJ1SScqnjgtJhZlJvuGs4xiyKCOyLc1Q6sm qgV6RTo2ZiIQVg72aQUh6PG2t83JEDuWfkL5gFhEDksHbiMNW4+t+fU+PnSPx6gO+Fzg c4v5WyLG4Hmwu8LTbtQPy9n8bandHwVOUeVAJlbFJrlzr8pPAe1UH2DeJwUIIoTQUlVx +uO4nurnJ4A7GPJROJkbQoEqgKsx0/5bcQn+GAzj+e6HVrvjmUKQqjcGU+ccAebP5tun IVSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=0SRdqXJaTbgBPBR1QntjXRKhO/VM8zqg00Y9jhvQhl4=; b=BxS58uY/Q7AHAuuivmfcoOXPZeBUUs722Yw73XIx3KSfxqKeG07+ZFl76FarXRZx+J S4XW99XYPJ457gQxqNPWswRpvIqvrh6Rox8ZFHFVvKH1CRO5WPcK7JAd1rpBHo32aex1 J3s+Bm0LO3QrNyRnUZTwOHhy7PlV15t0XNMKnXdeUG83MyWpw4uV02xF8DsuT2via2ac ZkNQ+Zrkq0j+ZYGCtrlV4xsIkfm32oSq60HTD4bw4L7TUMIGnq+XR/l7mSShdtTZEeiN azfWa6n2YnJQVQEmwOHG+/NG6bWMiodQk1EWZB3rpII+TCv4YRGrvIsZrkE43z5iFxFl pyyQ== X-Gm-Message-State: AIkVDXIPhmEUJObbsBXTfHOMzHzBUYqallizs5HcuQ9IRrF2pBa1GLHKfVsFN3YCMVbZKOjQ X-Received: by 10.28.213.142 with SMTP id m136mr12526783wmg.90.1485724972115; Sun, 29 Jan 2017 13:22:52 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id d29sm15520441wmi.19.2017.01.29.13.22.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jan 2017 13:22:51 -0800 (PST) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org Date: Sun, 29 Jan 2017 22:22:51 +0100 Message-ID: <2886308.Ba0toajx0i@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1485173488-346-1-git-send-email-bruce.richardson@intel.com> References: <1485173488-346-1-git-send-email-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] buildtools: allow symlinks within a source directory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 21:22:52 -0000 2017-01-23 12:11, Bruce Richardson: > When creating the symlinks for header files to the include folder, the > relpath script dereferenced all symlinks. This made it impossible to > have file A.h renamed to B.h and then symlinked back to its original > name. This is useful to be able to do when refactoring or reworking > a library. Change this so that we just use the dirname of the path from > readlink, we can use the basename as it was originally, even if it was a > symlink. > > Signed-off-by: Bruce Richardson Applied, thanks