summaryrefslogtreecommitdiff
path: root/scripts/repo-add.sh.in
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-25 08:45:54 -0400
committerDan McGee <dan@archlinux.org>2011-03-27 20:14:10 -0500
commit33c08ac91e32e1c1fe135c42030f1a2b64a63a54 (patch)
tree1b7c480c624ecb6bf9c2d95c43330e7427a77dcd /scripts/repo-add.sh.in
parentfd64988c8085a410a80851e2b4b6b62ea59139c2 (diff)
downloadpacman-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 'scripts/repo-add.sh.in')
0 files changed, 0 insertions, 0 deletions