diff options
author | Dave Reisner <d@falconindy.com> | 2011-03-25 13:45:54 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-28 03:14:10 +0200 |
commit | 33c08ac91e32e1c1fe135c42030f1a2b64a63a54 (patch) | |
tree | 1b7c480c624ecb6bf9c2d95c43330e7427a77dcd /test/util/vercmptest.sh | |
parent | fd64988c8085a410a80851e2b4b6b62ea59139c2 (diff) | |
download | pacman-33c08ac91e32e1c1fe135c42030f1a2b64a63a54.tar.gz pacman-33c08ac91e32e1c1fe135c42030f1a2b64a63a54.tar.xz |
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>
Diffstat (limited to 'test/util/vercmptest.sh')
0 files changed, 0 insertions, 0 deletions