Installation of X with setup.exe was Re[8]: setup.exe and inuse files for X

Pavel Tsekov ptsekov@syntrex.com
Thu May 16 05:31:00 GMT 2002


Hello Robert,

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

>> -----Original Message-----
>> From: Pavel Tsekov [mailto:ptsekov@syntrex.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. 



More information about the Cygwin-apps mailing list