+2008-05-16 Guillem Jover <guillem@debian.org>
+
+ * lib/triglib.c (trig_file_interests_ensure): Pass the proper mask
+ to push_cleanup to make sure pop_cleanup closes the file.
+
2008-05-15 Guillem Jover <guillem@debian.org>
* scripts/dpkg-divert.pl (checkrename): Do not check the target file
* When dpkg-divert does renames do no check the target file if the source
does not exist and the rename is thus being disabled. This also allows
to remove bogus diversions. Closes: #476973, #469033
+ * Properly close triggers 'File' file, so it does not get leaked to childs.
[ Raphael Hertzog ]
* Add missing 'use File::Path' in Dpkg::Source::Package::V3::quilt.
triggersfilefile);
}
- push_cleanup(cu_closefile, 0, NULL, 0, 1, f);
+ push_cleanup(cu_closefile, ~0, NULL, 0, 1, f);
while (fgets_checked(linebuf, sizeof(linebuf), f, triggersfilefile) >= 0) {
space = strchr(linebuf, ' ');
if (!space || linebuf[0] != '/')