Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/log.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-09 13:40:55 -0600
committerDan McGee <dan@archlinux.org>2012-03-16 09:49:31 -0500
commit83e42dcccef08233134a0a5da7e3da70638e6c97 (patch)
treebea29489e03c7f93d927bc6aef13a806665971cb /lib/libalpm/log.h
parent5bda38196fbd6ad389fd829924736b007732e2f1 (diff)
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>
Diffstat (limited to 'lib/libalpm/log.h')
0 files changed, 0 insertions, 0 deletions