summaryrefslogtreecommitdiff
path: root/lib/Input.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-12-02 18:55:35 +0000
committerPixel <Pixel>2001-12-02 18:55:35 +0000
commite4075153def021c3405accb19ffcdc3247d98807 (patch)
treedc7085d969af2dd121f22619d6c453c4bd7a41a9 /lib/Input.cc
parent37989e882eaa805662dd0e260eb293c939e082b7 (diff)
Comments and so...
Diffstat (limited to 'lib/Input.cc')
-rw-r--r--lib/Input.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Input.cc b/lib/Input.cc
index a466468..99c4bae 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -14,10 +14,9 @@ Input::Input(String no) throw (GeneralException) :
Handle(no.strlen() ? open(no.to_charp(), O_RDONLY) : 0),
n(no) {
if (GetHandle() < 0) {
- throw IOGeneral(String("Error opening file") + no + " for reading: " + strerror(errno));
+ throw IOGeneral(String(_("Error opening file")) + no + _(" for reading: ") + strerror(errno));
}
- cerr << "File " << no << " is opened with handle " << GetHandle() << endl;
size = lseek(GetHandle(), 0, SEEK_END);
lseek(GetHandle(), 0, SEEK_SET);