pacman/lib/libalpm
Dave Reisner 33c08ac91e lib/dload: code simplification
Based on the fact that localf always points to the same file, there's no
need to code in multiple fopen calls with varying results. Instead,
track the desired file open mode and make a single call to fopen.

Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-27 20:14:10 -05:00
..
po Updated 3.5.1 translations from Transifex 2011-03-23 02:12:36 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
add.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
alpm.c Merge branch 'maint' 2011-03-24 21:18:09 -05:00
alpm.h Add functions for verifying database signature 2011-03-23 22:22:33 -05:00
alpm_list.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
alpm_list.h Add new alpm_list_remove_item() function 2011-02-04 09:55:46 +10:00
backup.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
backup.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
base64.c Add base64 algorithms from PolarSSL to libalpm 2011-03-23 02:22:00 -05:00
base64.h Add base64 algorithms from PolarSSL to libalpm 2011-03-23 02:22:00 -05:00
be_local.c Merge branch 'maint' 2011-03-21 07:53:13 -05:00
be_package.c Refactor signature loading code into common function 2011-03-23 22:56:54 -05:00
be_sync.c Do not reuse old signature 2011-03-23 22:58:32 -05:00
conflict.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
conflict.h Conflict checking code cleanup 2011-02-16 20:57:07 -06:00
db.c Merge branch 'maint' 2011-03-24 21:18:09 -05:00
db.h Add functions for verifying database signature 2011-03-23 22:22:33 -05:00
delta.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
delta.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
deps.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
deps.h alpm/depcmp: new NODEPVERSION flag 2011-01-31 10:49:39 -06:00
diskspace.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
diskspace.h diskspace: allow used flag to be toggled for both remove and install 2011-02-11 10:51:59 -06:00
dload.c lib/dload: code simplification 2011-03-27 20:14:10 -05:00
dload.h lib/dload: pass a struct with filename and size to curl_progress 2011-03-27 20:12:17 -05:00
error.c Integrate GPGME into libalpm 2011-03-23 03:16:29 -05:00
graph.h Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
group.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
group.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
handle.c Add signature directory as option on libalpm handle 2011-03-23 03:16:29 -05:00
handle.h Add signature directory as option on libalpm handle 2011-03-23 03:16:29 -05:00
log.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
log.h Mark log callback format string const 2011-02-24 09:38:59 -06:00
Makefile.am buildsys: use libcurl's m4 macro for buildtime detection 2011-03-23 03:43:17 -05:00
md5.c libalpm md5: use larger and dynamic buffer 2010-09-02 10:33:21 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c Allow PGP signature to be read from sync database 2011-03-23 02:22:00 -05:00
package.h Add functions for verifying database signature 2011-03-23 22:22:33 -05:00
pkghash.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
pkghash.h alpm: remove public visibility of pmpkghash_t 2011-02-25 09:45:13 -06:00
remove.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
remove.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
signing.c Do not reuse old signature 2011-03-23 22:58:32 -05:00
signing.h Refactor signature loading code into common function 2011-03-23 22:56:54 -05:00
sync.c Added gpg verification options per repo to the config file. 2011-03-23 03:35:50 -05:00
sync.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
trans.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
trans.h Remove trans->skip_add 2011-02-22 16:48:51 -06:00
util.c Merge branch 'maint' 2011-03-23 02:16:13 -05:00
util.h lib/dload.c: fix compiler warnings generated by -Wfloat-equal 2011-03-23 03:43:53 -05:00
version.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00