Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-24 21:23:35 +0400
committerChristopher Faylor <me@cgf.cx>2000-08-24 21:23:35 +0400
commit123469a0e9a5e669d868b00e938858bb97e8bff8 (patch)
treec182f4e516d5fd948ed6a5a84e155239c78298a9 /winsup
parentd1be315740820824c3db85410d02177a2b231893 (diff)
* include/sys/cygwin.h (strace_printf_wrap): Force printing when
_STRACE_SYSTEM. (strace_printf_wrap1): Ditto.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/include/sys/strace.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 685ff425a..80578d303 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+Thu Aug 24 13:21:09 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * include/sys/cygwin.h (strace_printf_wrap): Force printing when
+ _STRACE_SYSTEM.
+ (strace_printf_wrap1): Ditto.
+
Thu Aug 24 12:30:17 2000 Christopher Faylor <cgf@cygnus.com>
* debug.h: Allow some debug defines for use in header files.
diff --git a/winsup/cygwin/include/sys/strace.h b/winsup/cygwin/include/sys/strace.h
index 8b621dfb4..82cc75d5c 100644
--- a/winsup/cygwin/include/sys/strace.h
+++ b/winsup/cygwin/include/sys/strace.h
@@ -95,13 +95,13 @@ extern "C" void small_printf (const char *, ...);
#else
#define strace_printf_wrap(what, fmt, args...) \
((void) ({\
- if (strace.active) \
+ if ((_STRACE_ ## what & _STRACE_SYSTEM) || strace.active) \
strace.prntf(_STRACE_ ## what, __PRETTY_FUNCTION__, fmt, ## args); \
0; \
}))
#define strace_printf_wrap1(what, fmt, args...) \
((void) ({\
- if (strace.active) \
+ if ((_STRACE_ ## what & _STRACE_SYSTEM) || strace.active) \
strace.prntf((_STRACE_ ## what) | _STRACE_NOTALL, __PRETTY_FUNCTION__, fmt, ## args); \
0; \
}))