1 --- aptitude-0.3.5.1/src/generic/apt/apt.cc.orig 2015-02-15 11:14:01.579889294 +0100
2 +++ aptitude-0.3.5.1/src/generic/apt/apt.cc 2015-02-15 12:07:14.543088626 +0100
7 - _error->Errno(_("Unable to open %s for writing"), cfgloc.c_str());
8 + _error->Errno("ofstream::ofstream", _("Unable to open %s for writing"), cfgloc.c_str());
14 if(rename((cfgloc+".new").c_str(), cfgloc.c_str())!=0)
16 - _error->Errno(_("Unable to replace %s with new configuration file"), cfgloc.c_str());
17 + _error->Errno("rename", _("Unable to replace %s with new configuration file"), cfgloc.c_str());
21 --- aptitude-0.3.5.1/src/generic/apt/log.cc.orig 2015-02-15 12:10:52.026412833 +0100
22 +++ aptitude-0.3.5.1/src/generic/apt/log.cc 2015-02-15 12:11:36.609744295 +0100
27 - _error->Errno(_("Unable to open %s to log actions"), log.c_str());
28 + _error->Errno("open", _("Unable to open %s to log actions"), log.c_str());
32 --- aptitude-0.3.5.1/src/edit_pkg_hier.cc.orig 2005-10-05 08:55:21.000000000 +0200
33 +++ aptitude-0.3.5.1/src/edit_pkg_hier.cc 2015-02-15 13:32:00.019541875 +0100
38 - _error->Errno(_("Couldn't open for writing"), file.c_str());
39 + _error->Errno("fopen", _("Couldn't open for writing"), file.c_str());