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

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jul 14 17:12:00 GMT 2016


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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20160714/6ca5e7e9/attachment.sig>


More information about the Cygwin-patches mailing list