This is the mail archive of the
mailing list for the Cygwin project.
Re: bug: hard links to soft links do not work
- From: "Gary R Van Sickle" <tiberius at braemarinc dot com>
- To: "Cygwin Mailing List \(E-mail\)" <cygwin at sources dot redhat dot com>
- Date: Thu, 1 Aug 2002 18:17:33 -0500
- Subject: Re: bug: hard links to soft links do not work
> > 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
11481 Rupp Dr.
Burnsville, MN 55337
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html