1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/lib/libalpm
Dan McGee 83e42dccce Remove unnecessary path check from local database
This removes a call to _alpm_local_db_pkgpath() as well as an access()
call when reading the local database. This appears to be code from 2006
that has stuck around. We don't need it because:

1) We never use this path except to check it via access(); however, we
   are already in a readdir() loop so it exists, or at least did at the
   time of the call.
2) The fopen() and other calls will fail on accessing the database files
   anyway, and we need to check those for errors.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-16 09:49:31 -05:00
..
po Translation updates from Transifex 2012-03-05 11:45:23 -06:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Update copyright years 2012-02-20 16:54:34 -06:00
add.h Update copyright years 2012-02-20 16:54:34 -06:00
alpm_list.c Update copyright years 2012-02-20 16:54:34 -06:00
alpm_list.h Update copyright years 2012-02-20 16:54:34 -06:00
alpm.c Update copyright years 2012-02-20 16:54:34 -06:00
alpm.h Add information on how an installed package was validated 2012-03-08 17:58:04 -06:00
backup.c Update copyright years 2012-02-20 16:54:34 -06:00
backup.h Update copyright years 2012-02-20 16:54:34 -06:00
base64.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
base64.h base64: don't compile base64_encode() function 2011-10-17 12:03:02 -05:00
be_local.c Remove unnecessary path check from local database 2012-03-16 09:49:31 -05:00
be_package.c Merge branch 'maint' 2012-03-08 18:08:15 -06:00
be_sync.c Simplify package validation info output for sync packages 2012-03-08 18:00:05 -06:00
conflict.c Update copyright years 2012-02-20 16:54:34 -06:00
conflict.h Update copyright years 2012-02-20 16:54:34 -06:00
db.c Update copyright years 2012-02-20 16:54:34 -06:00
db.h Update copyright years 2012-02-20 16:54:34 -06:00
delta.c Update copyright years 2012-02-20 16:54:34 -06:00
delta.h Update copyright years 2012-02-20 16:54:34 -06:00
deps.c Allow alpm_depend_t to have a description 2012-03-08 17:26:41 -06:00
deps.h Update copyright years 2012-02-20 16:54:34 -06:00
diskspace.c Merge branch 'maint' 2012-02-20 17:00:26 -06:00
diskspace.h Update copyright years 2012-02-20 16:54:34 -06:00
dload.c Merge branch 'maint' 2012-02-20 17:00:26 -06:00
dload.h Update copyright years 2012-02-20 16:54:34 -06:00
error.c Update copyright years 2012-02-20 16:54:34 -06:00
graph.c Update copyright years 2012-02-20 16:54:34 -06:00
graph.h Update copyright years 2012-02-20 16:54:34 -06:00
group.c Update copyright years 2012-02-20 16:54:34 -06:00
group.h Update copyright years 2012-02-20 16:54:34 -06:00
handle.c Update copyright years 2012-02-20 16:54:34 -06:00
handle.h Update copyright years 2012-02-20 16:54:34 -06:00
log.c Update copyright years 2012-02-20 16:54:34 -06:00
log.h Update copyright years 2012-02-20 16:54:34 -06:00
Makefile.am include config.h via Makefiles 2011-12-21 18:13:17 -06:00
md5.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
md5.h Update MD5 routines with changes from PolarSSL 2011-08-11 20:17:21 -05:00
package.c Remove _alpm_csum 2012-03-08 17:59:13 -06:00
package.h Add information on how an installed package was validated 2012-03-08 17:58:04 -06:00
pkghash.c Update copyright years 2012-02-20 16:54:34 -06:00
pkghash.h Update copyright years 2012-02-20 16:54:34 -06:00
rawstr.c include util.h in rawstr.c 2011-07-05 22:36:40 -05:00
remove.c Merge branch 'maint' 2012-01-23 12:20:52 -06:00
remove.h Update copyright years 2012-02-20 16:54:34 -06:00
sha2.c Use 32-bit wide integer type in PolarSSL code 2012-01-07 11:27:41 -06:00
sha2.h Add sha2 (sha256) routines from PolarSSL 2011-08-15 07:07:13 -05:00
signing.c Merge branch 'maint' 2012-01-23 12:20:52 -06:00
signing.h Update copyright years 2012-02-20 16:54:34 -06:00
sync.c Minor format-string related cleanups 2012-03-12 21:47:29 -05:00
sync.h Update copyright years 2012-02-20 16:54:34 -06:00
trans.c Update copyright years 2012-02-20 16:54:34 -06:00
trans.h Update copyright years 2012-02-20 16:54:34 -06:00
util.c Remove _alpm_csum 2012-03-08 17:59:13 -06:00
util.h Remove _alpm_csum 2012-03-08 17:59:13 -06:00
version.c Update copyright years 2012-02-20 16:54:34 -06:00