delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/16/08:35:20

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Thu, 16 May 2002 14:31:11 +0200
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
Reply-To: Pavel Tsekov <ptsekov AT syntrex DOT com>
Organization: Syntrex, Inc.
X-Priority: 3 (Normal)
Message-ID: <16618499781.20020516143111@syntrex.com>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
CC: cygwin-apps AT cygwin DOT com
Subject: Re[2]: Installation of X with setup.exe was Re[8]: setup.exe and inuse files for X
In-Reply-To: <FC169E059D1A0442A04C40F86D9BA7600C60E2@itdomain003.itdomain.net.au>
References: <FC169E059D1A0442A04C40F86D9BA7600C60E2 AT itdomain003 DOT itdomain DOT net DOT au>
MIME-Version: 1.0

Hello Robert,

Thursday, May 16, 2002, 2:11:37 PM, you wrote:

>> -----Original Message-----
>> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] 
>> Sent: Thursday, May 16, 2002 10:07 PM

>> Sorry, for spamming the mail list :(

RC> It wasn't spam. I think that the NTFS changes may well be needed
RC> anyway... or are you saying that just tweaking the cygfile remove to
RC> have the SetFileAttributes thing is enough?

Well.. I was acting encumbered with a wrong assumption and a result
from and "incorrect testcase" :(. When you asked me if it is required to use
both calls I've run some more tests while replying and saw that DeleteFile
works just ok with mode 0400 files when FILE_ATTRIBUTE_READONLY is unset.
On the other hand the method I've suggested doesn't work with
FILE_ATTRIBUTE_READONLY set i.e. no difference between DeleteFile and
CreateFile/FILE_FLAG_DELETE_ON_CLOSE. These mails should be ignored!

RC> As for the X problem, yes that would explain it, as setup doesn't know
RC> to uninstall. 

- Raw text -


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