diff options
author | Pixel <Pixel> | 2002-08-15 22:15:20 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-08-15 22:15:20 +0000 |
commit | 020a28c534544c0f1710f8af1e4b295fddcad66a (patch) | |
tree | 9f9d25920c9ad6e023f5cb6d87f00cd78db86d60 /generic/Input.cpp | |
parent | d962e8d2d650c7b297dcd041b55060bc29996a93 (diff) |
Working...
Diffstat (limited to 'generic/Input.cpp')
-rw-r--r-- | generic/Input.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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() { } |