Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sat, 28 Apr 2001 13:36:17 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: tar and symlinks Message-ID: <20010428133617.A20972@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3AEAF51B DOT F82E3C04 AT ece DOT gatech DOT edu> <20010428131012 DOT A20786 AT redhat DOT com> <3AEAFB36 DOT 2ACF1046 AT ece DOT gatech DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <3AEAFB36.2ACF1046@ece.gatech.edu>; from cwilson@ece.gatech.edu on Sat, Apr 28, 2001 at 01:17:42PM -0400 On Sat, Apr 28, 2001 at 01:17:42PM -0400, Charles S. Wilson wrote: >Christopher Faylor wrote: >> >> On Sat, Apr 28, 2001 at 12:51:39PM -0400, Charles S. Wilson wrote: >> >I just noticed something with my recent ncurses-5.2-5 update. When I >> >did the "make install prefix=/tmp/usr" step, /tmp/usr/man/man3/* >> >contained a lot of symbolic links. Since I did this under cygwin-1.3.1 >> >without the "useoldsymlinks" switch (whatever it is), these symbolic >> >links were the "new" kind; Windows understood them. >> > >> >However, after I created the tarball & ran setup on it to actually >> >install the new ncurses on my system prior to uploading it, I discoved >> >that the symlinks in /usr/man/man3 thus created were OLD style. >> >> setup.exe only understands how to create old-style symlinks currently. >> I think that this is a good thing until cygwin 1.3.1 is more widely >> accepted. >> >> So, maybe in three months or so we'll upgrade setup.exe to use the new >> style but, for now, I think it is doing the right thing. > >Sounds ok to me. BUT, tar.exe all by itself behaves the same way. Is >that *also* the "right thing"? I'm not sure. Hmm. I should have checked out what you were saying a little more to avoid another round of email. My version of tar creates the new style symlinks. I just extracted the cygwin-1.3.1.-1.tar.gz file into a dummy directory. The symlink files in the lib directory were 'libm.a.lnk', 'libc.a.lnk', etc. I verified this with the 'dir' command. Setting CYGWIN=nowinsymlinks caused tar to create old-style symlinks. I don't know why you are seeing different behavior. AFAIK, tar uses the symlink call to create symbolic links so I don't see why it would behave any differently from 'ln -s'. cgf -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple