in the event of a failure in OpenLog() (which will happen if called with
Debug::NoLocking as user)
/* */
pkgDPkgPM::pkgDPkgPM(pkgDepCache *Cache)
: pkgPackageManager(Cache), dpkgbuf_pos(0),
/* */
pkgDPkgPM::pkgDPkgPM(pkgDepCache *Cache)
: pkgPackageManager(Cache), dpkgbuf_pos(0),
- term_out(NULL), PackagesDone(0), PackagesTotal(0)
+ term_out(NULL), history_out(NULL), PackagesDone(0), PackagesTotal(0)
fprintf(history_out, "End-Date: %s\n", timestr);
fclose(history_out);
}
fprintf(history_out, "End-Date: %s\n", timestr);
fclose(history_out);
}