[Pkg-electronics-commits] [gnucap] 45/49: print conditional messages to stderr
felix salfelder
felix-guest at moszumanska.debian.org
Tue Feb 2 21:40:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch wip
in repository gnucap.
commit 40bc0371954f2b3bf205f039dcdfda7fd5dcedd1
Author: Felix Salfelder <felix at salfelder.org>
Date: Sun Jan 31 07:38:50 2016 +0100
print conditional messages to stderr
... instead of changing the behaviour of the program
---
include/io_trace.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/io_trace.h b/include/io_trace.h
index 014d0fc..08ab91b 100644
--- a/include/io_trace.h
+++ b/include/io_trace.h
@@ -60,21 +60,21 @@
#define trace5(s,v,w,x,y,z)
#endif
-#define unreachable() (printf("@@#\n@@@unreachable:%s:%u:%s\n", \
+#define unreachable() (fprintf(stderr,"@@#\n@@@unreachable:%s:%u:%s\n", \
__FILE__, __LINE__, __func__))
-#define incomplete() (printf("@@#\n@@@incomplete:%s:%u:%s\n", \
+#define incomplete() (fprintf(stderr,"@@#\n@@@incomplete:%s:%u:%s\n", \
__FILE__, __LINE__, __func__))
#ifdef TRACE_UNTESTED
-#define untested() (printf("@@#\n@@@:%s:%u:%s\n", \
+#define untested() (fprintf(stderr,"@@#\n@@@:%s:%u:%s\n", \
__FILE__, __LINE__, __func__))
#else
#define untested()
#endif
#ifdef TRACE_ITESTED
-#define itested() (printf("@@#\n@@@:%s:%u:%s\n", \
+#define itested() (fprintf(stderr,"@@#\n@@@:%s:%u:%s\n", \
__FILE__, __LINE__, __func__))
#else
#define itested()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git
More information about the Pkg-electronics-commits
mailing list