Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 6445 invoked from network); 1 Feb 2011 00:03:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 00:03:24 -0000 Received: (qmail 64213 invoked by uid 500); 1 Feb 2011 00:03:24 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 64135 invoked by uid 500); 1 Feb 2011 00:03:23 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 64127 invoked by uid 99); 1 Feb 2011 00:03:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 00:03:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tt-list@simplenet.com designates 209.132.4.204 as permitted sender) Received: from [209.132.4.204] (HELO mta4.scaledsystems.com) (209.132.4.204) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 00:03:15 +0000 Received: (qmail 14054 invoked from network); 1 Feb 2011 00:02:55 -0000 Received: from unknown (HELO ?192.168.1.132?) (tt@simplenet.com@76.176.128.26) by 0 with ESMTPA; 1 Feb 2011 00:02:55 -0000 Message-ID: <4D474D91.7040207@simplenet.com> Date: Mon, 31 Jan 2011 16:02:25 -0800 From: Tim Traver Reply-To: tt-list@simplenet.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Jonathan Leffler CC: dev@apr.apache.org Subject: Re: apr symbolic link resolving References: <4D4746C6.5080201@simplenet.com> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 1/31/2011 3:43 PM, Jonathan Leffler wrote: > At the Unix level, you use the readlink() function - very carefully > since it does not null-terminate the string it returns. > In the APR interface, ... it is not clear that there are APR wrapper > functions to cover this. > > Jonathan, Thanks for replying...yeah, I'm familiar with the readlink() function, and had previously used it, but I was trying to not have to include more than I needed to if the APR functions had something that would work... That seems like an omission from the apr_stat command... Tim