This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Text vs. binary - should symlink be resolved?
- To: Cygwin Mailing List <Cygwin at sources dot redhat dot com>
- Subject: Re: Text vs. binary - should symlink be resolved?
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Fri, 20 Oct 2000 12:39:51 -0400
- References: <000101c03aac$097c4960$21c9ca95@mow.siemens.ru>
- Reply-To: cygwin at sources dot redhat dot com
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@sourceware.cygnus.com