delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Gary R Van Sickle" <tiberius AT braemarinc DOT com> |
To: | "Cygwin Mailing List \(E-mail\)" <cygwin AT sources DOT redhat DOT com> |
Subject: | Re: bug: hard links to soft links do not work |
Date: | Thu, 1 Aug 2002 18:17:33 -0500 |
Message-ID: | <001201c239b1$9dddf940$2101a8c0@BRAEMARINC.COM> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
> > On Thu, Aug 01, 2002 at 04:21:43PM -0400, Sam Steingold wrote: > > > > > >actually, this is very easy: > > > > > >(defmethod hard-link :around (from to) > > > (if (symbolic-link-p to) > > > (symbolic-link from (resolve-symbolic-link to)) > > > (call-next-method))) > > > > > >i.e., when the target is a symlink, you symlink to its target. > > > > Is that *lisp* code? This makes it easy because...? I don't quite > > follow. Obviously anyone can conceive of some logic to make this fail > > but without looking at the actual code in question it isn't going to > > be too useful. > > the above is indeed CLOS code of how link() should actually be > implemented in the cygwin libc. Whoah, now hang on guys, nobody told me we were switching to all-Lisp all-the-time. You can just count me *out*. I don't go for all that overparenthetical jive. ;-) -- Gary R. Van Sickle Braemar Inc. 11481 Rupp Dr. Burnsville, MN 55337 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |