X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fprint.c;h=7d0c97e4c9a1620e6a12325a8a9381dc94edc433;hb=37d3828773e2f847bb1ed7522b0af4fb8e736fc8;hp=fc3f235de52a66562954b0f21a82f741ba3a5395;hpb=7572e0506af331534e6f97b027d56e8bea09410c;p=sbcl.git diff --git a/src/runtime/print.c b/src/runtime/print.c index fc3f235..7d0c97e 100644 --- a/src/runtime/print.c +++ b/src/runtime/print.c @@ -70,6 +70,7 @@ dyndebug_init() 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"); @@ -145,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; @@ -184,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