delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/03/07:17:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Gernot Hillier <gernot DOT hillier AT siemens DOT com>
Organization: Siemens AG
To: cygwin AT cygwin DOT com
Subject: Re: mapping root directory to SystemDrive / CurrentDrive
Date: Tue, 3 Aug 2004 13:17:19 +0200
User-Agent: KMail/1.6.2
References: <200408021452 DOT 34000 DOT gernot DOT hillier AT siemens DOT com> <20040803105143 DOT GQ31522 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20040803105143.GQ31522@cygbert.vinschen.de>
MIME-Version: 1.0
Message-Id: <200408031317.20267.gernot.hillier@siemens.com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i73BHf6q024375

Hi Corinna!

Thx for your quick reply!

Am Dienstag, 3. August 2004 12:51 schrieb Corinna Vinschen:
> > And anyway, I assume that it is a bug that both system calls behave
> > different, right?
>
> That's a result of using NtCreateFile instead of CreateFile.  Native NT
> calls behave slightly different than Win32 calls.  However, as you said,
> you're relying on undocumented behaviour.  

Ok, so there's no easy way to switch to the old behaviour. Bad for us, but 
well - our problem... :-(

But still there's one open question for me: are there plans to change the 
behaviour of stat(), too?

Because I think it's not good when in such a situation open("/a/b") refers to 
another file than stat("/a/b").

I can imagine quite some problems caused in Linux programs by such behaviour 
of the system...

> I'm sorry but we won't revert to Win32 calls just to keep an undocumented
> behaviour running. 

Hmmm, is there any other way how one can use two different Cygwin 
installations in parallel beside using no mounts?

-- 
Mit freundlichen Grüßen,

Gernot Hillier
CT SE 2
Siemens AG, Mch P

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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