1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/lib/libalpm
Dan McGee 370c873be5 Calculate root length only once when checking for file conflicts
It is quite easy to hoist this potentially repeated computation out of
the loop; even if we don't end up using it, it is super cheap to do it
only once.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-12 13:05:10 -06:00
..
po Update translations from Transifex 2011-11-16 14:45:25 -06:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Add helper method for creating and opening archive object 2011-11-16 14:51:06 -06:00
add.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
alpm_list.c Remove alpm_list_getdata wrapper function 2011-10-12 14:22:49 -05:00
alpm_list.h Remove alpm_list_getdata wrapper function 2011-10-12 14:22:49 -05:00
alpm.c create a typedef for enum _alpm_errno_t 2011-11-14 08:54:03 -06:00
alpm.h add key algo to import msg 2011-11-20 21:40:19 -06: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 base64: don't compile base64_encode() function 2011-10-17 12:03:02 -05:00
base64.h base64: don't compile base64_encode() function 2011-10-17 12:03:02 -05:00
be_local.c Slight local database files reading optimization 2011-12-07 10:04:14 -06:00
be_package.c Add helper method for creating and opening archive object 2011-11-16 14:51:06 -06:00
be_sync.c Add helper method for creating and opening archive object 2011-11-16 14:51:06 -06:00
conflict.c Calculate root length only once when checking for file conflicts 2011-12-12 13:05:10 -06:00
conflict.h Convert package filelists to an array instead of linked list 2011-07-21 15:04:30 -05:00
db.c Access db->pkgcache directly in db_free_pkgcache() 2011-09-20 10:23:10 -05:00
db.h Introduce alpm_time_t type 2011-10-12 14:01:25 -05:00
delta.c account for partial delta files in download size 2011-09-11 19:10:48 -05:00
delta.h Rename pmdelta_t to alpm_delta_t 2011-06-28 23:28:23 +10:00
deps.c code syntax cleanup 2011-12-12 12:51:59 -06:00
deps.h Be more robust when copying package data 2011-08-19 11:09:57 -05:00
diskspace.c diskspace: create static function mount_point_list_free 2011-10-17 08:39:09 -05:00
diskspace.h diskspace: add _alpm_check_downloadspace() 2011-10-17 08:39:04 -05:00
dload.c Merge branch 'maint' 2011-12-07 10:00:20 -06:00
dload.h sync: extract build_payload() method from find_dl_candidates 2011-10-21 19:29:31 -05:00
error.c create a typedef for enum _alpm_errno_t 2011-11-14 08:54:03 -06: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 create a typedef for enum _alpm_errno_t 2011-11-14 08:54:03 -06:00
handle.h Move items around in the alpm handle struct 2011-12-07 10:05:02 -06: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 Add helper function for duplicating depends lists 2011-11-30 22:26:52 -06:00
package.h Introduce alpm_time_t type 2011-10-12 14:01:25 -05:00
pkghash.c alpm_list: use malloc instead of calloc 2011-09-27 17:49:27 -05: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 add support for back end fnmatch'd options 2011-11-13 14:19:00 -05:00
remove.h Be smarter about running ldconfig during removal transactions 2011-09-19 13:18:42 -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 add key algo to import msg 2011-11-20 21:40:19 -06:00
signing.h signing: add a process and retry loop for database signatures 2011-09-20 10:23:11 -05:00
sync.c Update alpm_errno_t type to non-enum version 2011-11-16 14:53:34 -06:00
sync.h Rename pmhandle_t to alpm_handle_t 2011-06-28 14:04:00 +10:00
trans.c Refactor _alpm_runscriptlet() 2011-09-30 10:55:58 -05:00
trans.h Refactor _alpm_runscriptlet() 2011-09-30 10:55:58 -05:00
util.c code syntax cleanup 2011-12-12 12:51:59 -06:00
util.h added doxygen documentation 2011-11-22 00:31:10 -06:00
version.c vercmp: ensure 2.0a and 2.0.a do not compare equal 2011-08-23 01:49:29 -05:00