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   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to