Use the filename arg as a base for the temp file. Clean up function while here.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 17 Nov 2009 01:37:34 +0000 (01:37 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 17 Nov 2009 01:37:34 +0000 (01:37 +0000)
commit6973ec4786b4cab702c460ed5db45a7c0cd5de72
treed4e66a30fa82b344f9cb436873ae8545449954a1
parentbc43fa87c22eef3c77947711a3a0b049dfabf4ea
Use the filename arg as a base for the temp file. Clean up function while here.

git-svn-id: http://opkg.googlecode.com/svn/trunk@323 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/pkg.c