From 2a1525eb8cef13000fc10126f770541b2115ff89 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 13 Jul 2003 01:32:43 +0000 Subject: Misc fixes --- lib/Input.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/Input.cc') diff --git a/lib/Input.cc b/lib/Input.cc index ed549ec..d846acd 100644 --- a/lib/Input.cc +++ b/lib/Input.cc @@ -5,6 +5,8 @@ #include #include +#define DEBUG + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -70,10 +72,11 @@ Input::Input(const String & no) throw (GeneralException) : n(no) { #ifdef DEBUG - fprintf(stderr, _("Opening file %s, Input at %p\n"), no.to_charp(), this); + printm(M_BARE, String(_("Opening file")) + no + _("Input at %p\n"), this); #endif if (GetHandle() < 0) { + printm(M_BARE, "Got handle: %i\n", GetHandle()); throw IOGeneral(String(_("Error opening file ")) + no + _(" for reading: ") + strerror(errno)); } -- cgit v1.2.3