diff options
author | pixel <pixel> | 2003-01-22 17:49:13 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-01-22 17:49:13 +0000 |
commit | 7bc2475e3b7e051278072821766160234a33b96e (patch) | |
tree | 3160ccd3b3f8f9a3252fd460d7fc22b3fff0ef51 /lib | |
parent | 4c8f2ee73fc063871bdac980a135417882e1eb73 (diff) |
homygod (bis)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Input.cc | 4 | ||||
-rw-r--r-- | lib/Output.cc | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/Input.cc b/lib/Input.cc index 4c9ad2e..7427c38 100644 --- a/lib/Input.cc +++ b/lib/Input.cc @@ -123,9 +123,7 @@ void Input::SetZ(int l) throw(GeneralException) { Handle::SetZ(l); } -#ifdef HOOK_STDS Stdin_t::Stdin_t() { } -#endif bool Stdin_t::CanSeek() const { return 0; @@ -135,7 +133,9 @@ String Stdin_t::GetName() const { return "Stdin"; } +#ifdef HOOK_STDS Stdin_t Stdin; +#endif Archive * Archive::header = 0; diff --git a/lib/Output.cc b/lib/Output.cc index e9016f9..811918c 100644 --- a/lib/Output.cc +++ b/lib/Output.cc @@ -76,9 +76,7 @@ String Output::GetName() const { return n; } -#ifdef HOOK_STDS Stdout_t::Stdout_t() {} -#endif bool Stdout_t::CanSeek() const { return 0; @@ -88,9 +86,7 @@ String Stdout_t::GetName() const { return "Stdout"; } -#ifdef HOOK_STDS Stderr_t::Stderr_t() : Handle(dup(2)) {} -#endif bool Stderr_t::CanWrite() const { return 1; @@ -108,5 +104,7 @@ String Stderr_t::GetName() const { return "Stderr"; } +#ifdef HOOK_STDS Stdout_t Stdout; Stderr_t Stderr; +#endif |