delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/23/15:35:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <392ADC53.8CC580B6@dothill.com>
Date: Tue, 23 May 2000 15:30:27 -0400
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
Organization: Dot Hill Systems Corporation
X-Mailer: Mozilla 4.72 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: CygUtils Version of zip (and Symlinks)
References: <392ACD0A DOT D946A741 AT dothill DOT com> <200005231838 DOT OAA23850 AT envy DOT delorie DOT com>

DJ,

DJ Delorie wrote:
> > 1. What is the best way to read the contents of a symlink file?  Can I
> > use open or do I have to resort to CreateFile?
> 
> Use readlink() and symlink() to read and create symbolic links.  These
> also work under unix.

I had already considered the above but if I build zip/unzip as
recommended then there is nothing in the archive to indicate that a
file is a symlink except for the system attribute which is ambiguous.
Hence, unzip will not be able to determine when to call symlink.

I will looking into building zip/unzip as a UNIX version and then
see what else breaks...

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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