bug-coreutils
[Top][All Lists]
Advanced

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

Re: Fixing "can make relative symbolic links only in current directory"


From: Brendan Byrd/SineSwiper
Subject: Re: Fixing "can make relative symbolic links only in current directory" problem in "cp/mv -s"
Date: Mon, 22 Nov 2004 07:12:57 -0500
User-agent: Mozilla Thunderbird 0.7.2 (Windows/20040707)

(NOTE: continued from 'Patch for "mv -s" option' thread.)

Paul Eggert wrote:
> This seems like a serious limitation.  Can't you remove it, by using
> canonicalize_file_name say?

Paul E, looking at your suggestion of canonicalize_file_name, that would produce an absolute filename, which isn't what we want. Though, it seems like that could be used on the source, on top of a "pwd"-like function on the dest, which would be chopped off. That would give you a relative filename. Is there even a getcwd-type function that accepts a filename as an argument?

--
Brendan Byrd/SineSwiper <address@hidden>
Computer techie, Perl hacker, and all-purpose Internet guru
Resonator Software (http://www.ResonatorSoft.org/)




reply via email to

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