X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fprint.c;h=7d0c97e4c9a1620e6a12325a8a9381dc94edc433;hb=729ce57914183b7443e97544734cebe8198ae4cb;hp=67a7c207dae45e244b4e6a084523ef4514bad2eb;hpb=7aef55b130d95c384b63422807f1848faa9aba5a;p=sbcl.git diff --git a/src/runtime/print.c b/src/runtime/print.c index 67a7c20..7d0c97e 100644 --- a/src/runtime/print.c +++ b/src/runtime/print.c @@ -69,6 +69,8 @@ dyndebug_init() dyndebug_init1(seh, "SEH"); dyndebug_init1(misc, "MISC"); dyndebug_init1(pagefaults, "PAGEFAULTS"); + dyndebug_init1(io, "IO"); + dyndebug_init1(runtime_link, "RUNTIME_LINK"); int n_output_flags = n; dyndebug_init1(backtrace_when_lost, "BACKTRACE_WHEN_LOST"); @@ -144,9 +146,8 @@ vodxprint_fun(const char *fmt, va_list args) { #ifdef LISP_FEATURE_WIN32 DWORD lastError = GetLastError(); -#else - int original_errno = errno; #endif + int original_errno = errno; QSHOW_BLOCK; @@ -183,9 +184,8 @@ vodxprint_fun(const char *fmt, va_list args) #ifdef LISP_FEATURE_WIN32 SetLastError(lastError); -#else - errno = original_errno; #endif + errno = original_errno; } /* Translate the rather awkward syntax