This is the mail archive of the cygwin-patches@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: [Patch]: Create Global Privilege


On Wed, Dec 03, 2003 at 12:10:35AM -0500, Pierre A. Humblet wrote:
> Hmm, the patch below might be a useful preliminary.

Urgh!  Thanks for catching this.

> Also, on WinME specifying a length of 0 (changed to 0xFFFFFFFF) doesn't 
> seem to work when the starting offset is greater than 1.
> No time to fully investigate. 
> Perhaps start + length must be <= 0x100000000 ???

Perhaps yes, to stay in the 32 bit arena or, well...

*dig, dig , dig*

You're right.  I've tested that on 98 and it fails if start+len
is > 0x100000000 and it works if start+len is == 0x100000000.
Weird.  I've checked in a fix to fhandler_disk_file::lock().
I think I'm playing sufficiently safe by using the value
0xffffffff - offset.

Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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