Rsync does the signal handler solution, which seems to be the best
option. If we receive SIGINT, SIGHUP, or SIGTERM, we should remove all
temporary files we created. If we only have one temporary file at a
time, the solution is relatively easy (a global variable), if we have
multiple temporary files, we need to have a global list of items.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1045704

Title:
  should clean pkgcache.bin.* and srcpkgcache.bin.*

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1045704/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to