machine/_types.h: __blkcnt_t should be signed
[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
This commit is contained in:
parent
53a831f063
commit
82e06490de
|
@ -14,7 +14,7 @@ typedef __uint32_t __ino32_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __machine_blkcnt_t_defined
|
#define __machine_blkcnt_t_defined
|
||||||
typedef __uint64_t __blkcnt_t;
|
typedef __int64_t __blkcnt_t;
|
||||||
|
|
||||||
#define __machine_blksize_t_defined
|
#define __machine_blksize_t_defined
|
||||||
typedef __int32_t __blksize_t;
|
typedef __int32_t __blksize_t;
|
||||||
|
|
Loading…
Reference in New Issue