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:[EMAIL PROTECTED] Red Hat, Inc.
