delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/12/10:16:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,TW_RW,TW_WX,TW_YG,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Paul Bibbings <paul DOT bibbings AT gmail DOT com>
Subject: link (corutils) 8.4-2: doesn't link
Date: Mon, 12 Apr 2010 15:15:23 +0100
Lines: 56
Message-ID: <87mxx8zric.fsf@gmail.com>
Mime-Version: 1.0
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (windows-nt)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

In the past I have used corutils' link without any problem.  I can't
recall when I last did use it successfully, but certainly prior to
Cygwin 1.7.  At the moment, however, link is not actually linking, but
appears rather to be creating a simple copy of the file linked to, as
the following illustrates (on Windows Vista):

   14:57:11 Paul Bibbings AT JIJOU
   /cygdrive/d/Downloads/link_test $cp /usr/bin/zoo.exe zoo.exe

   14:57:37 Paul Bibbings AT JIJOU
   /cygdrive/d/Downloads/link_test $link zoo.exe zoo_link

   14:57:54 Paul Bibbings AT JIJOU
   /cygdrive/d/Downloads/link_test $ls -l
   total 128
   -rwxr-xr-x+ 2 Paul Bibbings None 65024 Apr 12 14:57 zoo.exe
   -rwxr-xr-x+ 2 Paul Bibbings None 65024 Apr 12 14:57 zoo_link.exe

   14:58:04 Paul Bibbings AT JIJOU
   /cygdrive/d/Downloads/link_test $rm zoo.exe

   14:58:50 Paul Bibbings AT JIJOU
   /cygdrive/d/Downloads/link_test $./zoo_link
   zoo 2.1 $Date: 91/07/09 02:10:34 $

   Usage: zoo {acDeglLPTuUvx}[aAcCdEfInmMNoOpPqu1:/.@n] archive file
   ("zoo h" for help, "zoo H" for extended help)

   Novice usage:  zoo -cmd archive[.zoo] file...  where -cmd is one of
   these: 
   -add -extract -move -test -print -delete -list -update -freshen
   -comment 

with:

   15:02:15 Paul Bibbings AT JIJOU
   /cygdrive/d/Downloads/link_test $cygcheck -c coreutils
   Cygwin Package Information
   Package              Version        Status
   coreutils            8.4-2          OK

   15:09:26 Paul Bibbings AT JIJOU
   /cygdrive/d/Downloads/link_test $cygcheck -c cygwin
   Cygwin Package Information
   Package              Version        Status
   cygwin               1.7.4-1        OK

Can I ask first of all: does link itself use ln and should I be testing
this?

Regards

Paul Bibbings

[Note: cygcheck not added pending confirmation/otherwise as a problem
with link itself]


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019