[PATCH 01/01] machine/_types.h: __blkcnt_t should be signed

Ray Donnelly mingw.android@gmail.com
Fri Jul 15 20:05:00 GMT 2016


On Thu, Jul 14, 2016 at 6:12 PM, Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
> On Jul 14 16:37, Ray Donnelly wrote:
>> Hi,
>>
>> Please review and consider applying the attached patch. The commit message is:
>>
>> [1] states: "blkcnt_t and off_t shall be signed integer types."
>> This causes pacman to fail when the size requirement
>> of the net update operation is negative, instead it
>> calculated a huge positive number.
>>
>> [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html
>
> Patch applied.
>
>
> Thanks,
> Corinna
>

Many thanks Corinna.

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



More information about the Cygwin-patches mailing list