delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/20/12:45:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 20 Oct 2000 12:39:51 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: Cygwin Mailing List <Cygwin AT sources DOT redhat DOT com>
Subject: Re: Text vs. binary - should symlink be resolved?
Message-ID: <20001020123951.C13677@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: Cygwin Mailing List <Cygwin AT sources DOT redhat DOT com>
References: <000101c03aac$097c4960$21c9ca95 AT mow DOT siemens DOT ru>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <000101c03aac$097c4960$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Fri, Oct 20, 2000 at 07:40:13PM +0400

On Fri, Oct 20, 2000 at 07:40:13PM +0400, Andrej Borsenkow wrote:
>Text vs. binary processing is based on whether file resides on binary or text
>mounted filesystem.
>
>Currently Cygwin seems to check original filename as passed to open call. This
>leads to interesting effect - symlink may point anywhere, and target may
>reside on filesystem mounted with different option.
>
>IMHO the rule to determine open mode should be applied to symlink target
>(final target) - after all, that is _the_ file itself.
>
>What do you think?

I think that code speaks louder than words.  :-)

Send in a patch that makes things work the way you think they should work
and I'll consider it.

cgf

--
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