X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=w_pzkKWiAAAA:8 a=mDV3o1hIAAAA:8 a=xe8BsctaAAAA:8 a=mLOUPL28D48bH9XgcT0A:9 a=rRnxEbEKzdONERS3H2LTJS0zlR4A:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 Message-ID: <49099F53.9060105@byu.net> Date: Thu, 30 Oct 2008 05:49:39 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: canonicalize_file_name References: <001b01c93a65$97134460$4001a8c0 AT mycomputer> In-Reply-To: <001b01c93a65$97134460$4001a8c0@mycomputer> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to John Emmas on 10/30/2008 2:00 AM: > On my Linux boxes, /usr/include/stdlib.h declares a function called > 'canonicalize_file_name()'. AFAICT its purpose is to return the > absolute path to a file (or folder) after resolving any symbolic links > in the supplied path. Cygwin's stdlib.h doesn't contain this function. > I just wondered if it's available anywhere else or if there's an > equivalent function elsewhere. Cygwin doesn't (yet) provide it (http://cygwin.com/acronyms/#PTC). But gnulib provides a variant that is used within several cygwin packages: http://www.gnu.org/software/gnulib/MODULES.html#module=canonicalize - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkJn1IACgkQ84KuGfSFAYDEaQCgtrrniTK8D52/B3OMK8iTszkc ayoAnjSAe8c8ax3qX1dZkjsq8Yhp5eCd =1nU6 -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/