bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dependency creep: canonicalize_file_name


From: Eric Blake
Subject: Re: dependency creep: canonicalize_file_name
Date: Wed, 04 May 2011 10:03:36 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 05/04/2011 09:51 AM, Sam Steingold wrote:
> And yet again it is time for me to bitch about dependency creep.
> 
> I thought about pulling realpath from gnulib (because clisp includes its
> own implementation - BTW, are there still unixes which lack it?) and

Read doc/posix-functions/realpath.texi:

mingw and BeOs lack it.  mingw is a far cry from unix-like, but a
widely-used porting platform.  BeOs is Unix-like, but these days, you
are more likely to see people porting to Haiku instead, and Haiku has
added realpath().

More telling is the fact that Solaris realpath() is buggy (it fails to
allocate on a NULL argument, and fails to give an absolute answer for a
relative query).

> discovered that it offered canonicalize_file_name instead.

Try canonicalize-lgpl instead; much lighter-weight, and is the only
module that gives you a working realpath().

> People, this is ridiculous.

canonicalize no longer even provides realpath().  But again,
realpath.texi tells you to use canonicalize-lgpl rather than canonicalize.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]