Merge lp:~mvo/apt/lp1045704 into lp:~mvo/apt/mvo
Proposed by
Michael Vogt
Status: | Rejected |
---|---|
Rejected by: | Michael Vogt |
Proposed branch: | lp:~mvo/apt/lp1045704 |
Merge into: | lp:~mvo/apt/mvo |
Diff against target: |
138 lines (+91/-0) 5 files modified
apt-pkg/contrib/fileutl.cc (+31/-0) apt-pkg/contrib/fileutl.h (+3/-0) apt-pkg/pkgcachegen.cc (+9/-0) test/libapt/fileutl_test.cc (+42/-0) test/libapt/makefile (+6/-0) |
To merge this branch: | bzr merge lp:~mvo/apt/lp1045704 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt | Pending | ||
Review via email: mp+122651@code.launchpad.net |
Description of the change
Fix bug #1045704 by removing old leftovers from the atomic writes.
To post a comment you must log in.
Unmerged revisions
- 1846. By Michael Vogt
-
apt-pkg/
pkgcachegen. cc: use the new Glob() function to clean the old atomic write leftovers - 1845. By Michael Vogt
-
add "Glob()" to fileutl
This will fix the problem at hand. We could make it more generic by: write.XXXXX) apt-atomic. *
- make the extension for Atomic writes more uniq (e.g. appending .apt-atomic-
- do the Glob()/unlink() on all previous instances of any $filename.
This sounds a little bit dangerous this is why I did not do it this way currently, but
its probably a good idea.