diff options
author | Guillem Jover <guillem@debian.org> | 2008-10-15 09:22:36 +0300 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2008-10-17 21:09:33 +0300 |
commit | dd803497487ec4454541214570ad16a236b7363b (patch) | |
tree | 772df2fe36bbed7fdbed33b8274978c079b67e02 /lib | |
parent | f40b311b75aa17eea35eb50570b8c4976d2c7c78 (diff) | |
download | dpkg-dd803497487ec4454541214570ad16a236b7363b.tar.gz |
libdpkg: Do not recompute importanttmpfile on unlink
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dbmodify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dbmodify.c b/lib/dbmodify.c index 947dcf777..e7f62d8cb 100644 --- a/lib/dbmodify.c +++ b/lib/dbmodify.c @@ -226,7 +226,7 @@ void modstatdb_shutdown(void) { writedb(availablefile,1,0); /* tidy up a bit, but don't worry too much about failure */ fclose(importanttmp); - strcpy(updatefnrest, IMPORTANTTMP); unlink(updatefnbuf); + unlink(importanttmpfile); varbuffree(&uvb); /* fall through */ case msdbrw_needsuperuserlockonly: |