From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sandbox:master commit in: libsbutil/
Date: Mon, 24 Dec 2012 05:19:26 +0000 (UTC) [thread overview]
Message-ID: <1356326364.5aee0f89c31cbf64a605bdb8783fa7a74b900989.vapier@gentoo> (raw)
commit: 5aee0f89c31cbf64a605bdb8783fa7a74b900989
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 23 06:53:38 2012 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Dec 24 05:19:24 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commit;h=5aee0f89
sb_efunc: delete
Completely unused. GOOD BYE.
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
---
libsbutil/sb_efuncs.c | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/libsbutil/sb_efuncs.c b/libsbutil/sb_efuncs.c
index 5a86d25..6a7a09b 100644
--- a/libsbutil/sb_efuncs.c
+++ b/libsbutil/sb_efuncs.c
@@ -10,31 +10,6 @@
#include "headers.h"
#include "sbutil.h"
-static bool nocolor, init_color = false;
-void sb_efunc(const char *color, const char *hilight, const char *format, ...)
-{
- save_errno();
-
- int fd = STDERR_FILENO;
-
- if (!init_color) {
- nocolor = is_env_on(ENV_NOCOLOR);
- init_color = true;
- }
-
- if (!nocolor)
- sb_fdprintf(fd, "%s%s%s", color, hilight, COLOR_NORMAL);
- else
- sb_fdprintf(fd, "%s", hilight);
-
- va_list args;
- va_start(args, format);
- sb_vfdprintf(fd, format, args);
- va_end(args);
-
- restore_errno();
-}
-
const char *colors[] = {
"\033[0m",
"\033[32;01m",
next reply other threads:[~2012-12-24 5:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-24 5:19 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-09 5:03 [gentoo-commits] proj/sandbox:master commit in: libsbutil/ Sam James
2025-03-09 18:09 Mike Gilbert
2023-07-17 13:54 Mike Gilbert
2021-11-05 10:25 Mike Frysinger
2021-11-03 21:10 Andreas K. Hüttel
2021-11-03 4:59 Mike Frysinger
2021-10-18 8:48 Mike Frysinger
2016-11-27 18:31 Mike Frysinger
2016-01-18 6:18 Mike Frysinger
2015-12-20 8:41 Mike Frysinger
2015-09-20 8:15 Mike Frysinger
2015-09-11 7:53 Mike Frysinger
2015-09-11 7:53 Mike Frysinger
2015-09-11 7:53 Mike Frysinger
2013-02-25 4:08 Mike Frysinger
2012-12-24 5:23 Mike Frysinger
2012-11-26 10:10 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356326364.5aee0f89c31cbf64a605bdb8783fa7a74b900989.vapier@gentoo \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox