Hello Robert,
Friday, May 03, 2002, 1:58:28 AM, you wrote:
-Original Message-
From: Corinna Vinschen [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 1:44 AM
To: CygWin Apps; Cygwin-Xfree
Subject: Re: setup.exe and inuse files for X
On Wed, May 01, 2002 at 04:58:36PM
[snip]
PT Obviously the DELETE permission is missing. You call SetFileAttributes
PT with ~FILE_ATTRIBUTE_READONLY which shoul enable the file for reading
|
deleting ---+
PT
Does this work on FAT too?
Rob
-Original Message-
From: Pavel Tsekov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 6:33 PM
Ok here is how to fix this issues I've just tried it on my XP Home and
it worked fine.
HANDLE h = CreateFile(test.c,
Hello Robert,
Thursday, May 16, 2002, 10:59:27 AM, you wrote:
RC Does this work on FAT too?
I don't know - its not clear from the documentation. Someone has to
test it on FAT. However this combined with an an call to
SetFileAttributes () before it should be sufficient.
Btw the snippet below
Ok, I've tested it on my WinXP Home on NTFS, FAT and FAT32. The
following snippet removes the file no matter the filesystem
(the Get/SetFileAttributes is required for FAT/FAT32 only):
HANDLE hFile;
DWORD dwAttr = GetFileAttributes (test.dat);
SetFileAttributes (test.dat, dwAttr
One thing I'm not clear on - are both calls -required-?
-Original Message-
From: Pavel Tsekov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 8:52 PM
To: Robert Collins
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re[5]: setup.exe and inuse files for X
Ok, I've
Oh, and can you please provide as a patch+ changelog?
Cheers,
Rob
-Original Message-
From: Pavel Tsekov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 8:52 PM
To: Robert Collins
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re[5]: setup.exe and inuse files for X
No! Because I'm stupid... There is something else here. I got fooled.
RC Oh, and can you please provide as a patch+ changelog?
Ok, yesterday I've installed X with setup.exe and ended up with a lot
of filename.new files under /usr/X11R6/ and some other dirs. I took
a look at setup.log and saw this:
2002/05/15 11:26:13 Failed to open cygfile:///usr/X11R6/lib/X11/xman.help for wr
iting.
.. and many others like this.
-Original Message-
From: Pavel Tsekov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 10:07 PM
Sorry, for spamming the mail list :(
It wasn't spam. I think that the NTFS changes may well be needed
anyway... or are you saying that just tweaking the cygfile remove to
have
Hello Robert,
Thursday, May 16, 2002, 2:11:37 PM, you wrote:
-Original Message-
From: Pavel Tsekov [mailto:[EMAIL PROTECTED]]
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
On Wed, May 01, 2002 at 04:58:36PM +1000, Robert Collins wrote:
I think I've got a handle on this... looks like read only (-r--r--r--)
files don't delete properly, so setup fails to overwrite them.
Patches gratefully accepted, it's going in the TODO for now.
I recall having sent a patch for
-Original Message-
From: Corinna Vinschen [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 1:44 AM
To: CygWin Apps; Cygwin-Xfree
Subject: Re: setup.exe and inuse files for X
On Wed, May 01, 2002 at 04:58:36PM +1000, Robert Collins wrote:
I think I've got a handle
I think I've got a handle on this... looks like read only (-r--r--r--)
files don't delete properly, so setup fails to overwrite them.
Patches gratefully accepted, it's going in the TODO for now.
Rob
14 matches
Mail list logo