This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]