From 020a28c534544c0f1710f8af1e4b295fddcad66a Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 15 Aug 2002 22:15:20 +0000 Subject: Working... --- generic/Input.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'generic/Input.cpp') diff --git a/generic/Input.cpp b/generic/Input.cpp index 1cb6e2e..a51ee65 100644 --- a/generic/Input.cpp +++ b/generic/Input.cpp @@ -63,13 +63,14 @@ time_t Input::GetModif() { off_t Input::seek(off_t offset, int whence) throw (GeneralException) { if ((itell = lseek(GetHandle(), offset, whence)) < 0) { - throw IOGereral(String(_("Error seeking file ")) + no + _(": ") + strerror(errno)); + throw IOGeneral(String(_("Error seeking file ")) + n + _(": ") + strerror(errno)); } #ifdef PARANOID_SEEK if (itell != lseek(GetHandle(), 0, SEEK_CUR)) { - throw IOGereral(String(_("Error seeking file ")) + no + _(": the position does not match")); + throw IOGeneral(String(_("Error seeking file ")) + n + _(": the position does not match")); } #endif + return itell; } Stdin_t::Stdin_t() { } -- cgit v1.2.3