diff options
author | Zac Medico <zmedico@gentoo.org> | 2005-07-22 08:13:25 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-07-22 08:13:25 +0000 |
commit | 6a368e459c676c5f810cf4f8c8c4bc0b3a893053 (patch) | |
tree | 63e10fcf2be1c71b6db35f71c3de4748a34fbd71 | |
parent | Release sandbox-1.2.11. (diff) | |
download | sandbox-6a368e459c676c5f810cf4f8c8c4bc0b3a893053.tar.gz sandbox-6a368e459c676c5f810cf4f8c8c4bc0b3a893053.tar.bz2 sandbox-6a368e459c676c5f810cf4f8c8c4bc0b3a893053.zip |
Print all logging to stderr, bug #90343, comment #15
URL: http://bugs.gentoo.org/90343
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sandbox.h | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -2,6 +2,10 @@ # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 # $Header$ + 22 July 2005; Martin Schlemmer <azarah@gentoo.org> sandbox.h: + + Print all logging to stderr, bug #90343, comment #15, by Zac Medico. + * sandbox-1.2.11 (2005/07/14) 14 July 2005; Martin Schlemmer <azarah@gentoo.org> getcwd.c: @@ -59,9 +59,9 @@ do { \ int old_errno = errno; \ if (_color) \ - printf("\033[32;01m" _hilight "\033[0m" _args); \ + fprintf(stderr, "\033[32;01m" _hilight "\033[0m" _args); \ else \ - printf(_hilight _args); \ + fprintf(stderr, _hilight _args); \ errno = old_errno; \ } while (0) @@ -69,9 +69,9 @@ do { \ int old_errno = errno; \ if (_color) \ - printf("\033[33;01m" _hilight "\033[0m" _args); \ + fprintf(stderr, "\033[33;01m" _hilight "\033[0m" _args); \ else \ - printf(_hilight _args); \ + fprintf(stderr, _hilight _args); \ errno = old_errno; \ } while (0) |