This is the mail archive of the cygwin-patches 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] Fix crash of ffs (0x80000000) on 64 bit


On Sep 23 18:01, Christian Franke wrote:
> This fixes the issue reported here:
> https://cygwin.com/ml/cygwin/2014-09/msg00341.html
> 
> On 64 bit, i = 0x80000000 results in x = 0xffffffff80000000 due to sign
> extension.
> 
> Christian
> 

> 2014-09-23  Christian Franke  <...>
> 
> 	* syscall.cc (ffs): Fix crash of ffs (0x80000000) on 64 bit.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpHYIFkhpr0Z.pgp
Description: PGP signature


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