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 X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Cygwin Mailing List" Subject: Text vs. binary - should symlink be resolved? Date: Fri, 20 Oct 2000 19:40:13 +0400 Message-ID: <000101c03aac$097c4960$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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? cheers -andrej Have a nice DOS! B >> -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com