1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/lib/libalpm
Dan McGee 8ffa2b24a5 Use more correct integer types in diskspace checks
This adjusts type usage to match POSIX provided types from
<sys/types.h> rather than assuming everything will fit in a long or
unsigned long. Use fsblkcnt_t (unsigned) and blkcnt_t (signed) as
appropriate. These are affected the same way off_t is on 32 bit
platforms, where the types are extende to 64 bits if large file support
is enabled.

Because most numbers here are block counts, this isn't
near as pressing as using a 32-bit variable for file sizes where
anything over 2GiB can burn you; we likely can support files at least
512 but mainly 4096 times larger.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-09-07 21:05:04 -05:00
..
po Add new 'lt' and 'zh_TW' translations from transifex 2011-08-25 16:04:41 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Former transaction callback rename refactor 2011-09-02 21:45:08 -05:00
add.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
alpm_list.c Improved alpm_list_mmerge() performance (fixed coding style) 2011-08-24 11:27:11 -05:00
alpm_list.h Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
alpm.c Prefix _alpm_errno_t members with ALPM 2011-07-02 02:01:39 +10:00
alpm.h Former transaction callback rename refactor 2011-09-02 21:45:08 -05:00
backup.c Allow fileconflict if unowned file moving into backup array 2011-07-14 15:34:04 -05:00
backup.h Allow fileconflict if unowned file moving into backup array 2011-07-14 15:34:04 -05:00
base64.c Update base64 PolarSSL code 2011-08-15 06:24:49 -05:00
base64.h Update base64 PolarSSL code 2011-08-15 06:24:49 -05:00
be_local.c More package operations cleanup 2011-09-02 22:07:06 -05:00
be_package.c Ensure PackageRequired works as expected 2011-09-07 20:51:35 -05:00
be_sync.c Clean up handling of size fields 2011-09-02 19:26:07 -05:00
conflict.c Former transaction callback rename refactor 2011-09-02 21:45:08 -05:00
conflict.h Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
db.c Remove alpm_option_get_* usage from backend 2011-08-19 19:12:21 -05:00
db.h Enhance and utilize database status flags 2011-08-18 10:47:41 -05:00
delta.c More package operations cleanup 2011-09-02 22:07:06 -05:00
delta.h Rename pmdelta_t to alpm_delta_t 2011-06-28 23:28:23 +10:00
deps.c Former transaction callback rename refactor 2011-09-02 21:45:08 -05:00
deps.h Be more robust when copying package data 2011-08-19 11:09:57 -05:00
diskspace.c Use more correct integer types in diskspace checks 2011-09-07 21:05:04 -05:00
diskspace.h Use more correct integer types in diskspace checks 2011-09-07 21:05:04 -05:00
dload.c dload: use intmax_t when printing off_t 2011-09-06 11:44:29 -05:00
dload.h Use off_t rather than double where possible 2011-08-25 16:09:52 -05:00
error.c Attempt to fix up some of the brokenness around failed package loads 2011-08-08 19:42:52 -05:00
graph.c Rename pmgraph_t to alpm_graph_t 2011-06-28 23:28:24 +10:00
graph.h Rename pmgraph_t to alpm_graph_t 2011-06-28 23:28:24 +10:00
group.c Rename internal functions with grp in their name 2011-06-29 15:52:33 +10:00
group.h Rename internal functions with grp in their name 2011-06-29 15:52:33 +10:00
handle.c Former transaction callback rename refactor 2011-09-02 21:45:08 -05:00
handle.h Former transaction callback rename refactor 2011-09-02 21:45:08 -05:00
log.c Prefix _alpm_errno_t members with ALPM 2011-07-02 02:01:39 +10:00
log.h Rename pmloglevel_t to alpm_loglevel_t 2011-06-28 23:28:24 +10:00
Makefile.am Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
md5.c Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
md5.h Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
package.c More package operations cleanup 2011-09-02 22:07:06 -05:00
package.h More package operations cleanup 2011-09-02 22:07:06 -05:00
pkghash.c Rename pmpkghash_t to alpm_pkghash_t 2011-06-28 23:28:24 +10:00
pkghash.h Rename pmpkghash_t to alpm_pkghash_t 2011-06-28 23:28:24 +10:00
rawstr.c include util.h in rawstr.c 2011-07-05 22:36:40 -05:00
remove.c Former transaction callback rename refactor 2011-09-02 21:45:08 -05:00
remove.h Unify package removal code 2011-07-06 09:26:09 -05:00
sha2.c Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
sha2.h Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
signing.c More package operations cleanup 2011-09-02 22:07:06 -05:00
signing.h Refactor signature result return format 2011-08-28 19:51:54 -05:00
sync.c More package operations cleanup 2011-09-02 22:07:06 -05:00
sync.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
trans.c Move all callbacks up to the handle level 2011-09-02 21:45:03 -05:00
trans.h Move all callbacks up to the handle level 2011-09-02 21:45:03 -05:00
util.c avoid blowing out the filecache list when using tmpdir 2011-09-06 08:42:02 -05:00
util.h _alpm_parsedate(): return time_t and not long 2011-09-01 12:36:11 -05:00
version.c vercmp: ensure 2.0a and 2.0.a do not compare equal 2011-08-23 01:49:29 -05:00