]>
Commit | Line | Data |
---|---|---|
74404cd2 JB |
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 | |
3 | @@ -196,7 +196,7 @@ | |
4 | ||
5 | if(!f) | |
6 | { | |
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()); | |
9 | return; | |
10 | } | |
11 | ||
12 | @@ -206,7 +206,7 @@ | |
13 | ||
14 | if(rename((cfgloc+".new").c_str(), cfgloc.c_str())!=0) | |
15 | { | |
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()); | |
18 | return; | |
19 | } | |
20 | } | |
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 | |
23 | @@ -50,7 +50,7 @@ | |
24 | ||
25 | if(!f) | |
26 | { | |
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()); | |
29 | ||
30 | return false; | |
31 | } | |
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 | |
34 | @@ -283,7 +283,7 @@ | |
35 | ||
36 | if(!f) | |
37 | { | |
38 | - _error->Errno(_("Couldn't open for writing"), file.c_str()); | |
39 | + _error->Errno("fopen", _("Couldn't open for writing"), file.c_str()); | |
40 | return; | |
41 | } | |
42 |