diff options
author | Maksim 'max_posedon' Melnikau <maxposedon@gmail.com> | 2009-03-18 02:38:55 +0000 |
---|---|---|
committer | Maksim 'max_posedon' Melnikau <maxposedon@gmail.com> | 2009-03-18 02:38:55 +0000 |
commit | cc3ef2393202a6a2cbca43f43b0eeb3bc31ad6be (patch) | |
tree | 07de529739f25be2af1972cbe499778d5ae83051 /sys-apps/openrc/files/0.4.2/0001-msg-style.patch | |
parent | Synced the wrong direction, sorry! (diff) | |
download | embedded-cross-cc3ef2393202a6a2cbca43f43b0eeb3bc31ad6be.tar.gz embedded-cross-cc3ef2393202a6a2cbca43f43b0eeb3bc31ad6be.tar.bz2 embedded-cross-cc3ef2393202a6a2cbca43f43b0eeb3bc31ad6be.zip |
big cleanup commit, if I broke smth for somebody - sorry
Diffstat (limited to 'sys-apps/openrc/files/0.4.2/0001-msg-style.patch')
-rw-r--r-- | sys-apps/openrc/files/0.4.2/0001-msg-style.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/sys-apps/openrc/files/0.4.2/0001-msg-style.patch b/sys-apps/openrc/files/0.4.2/0001-msg-style.patch deleted file mode 100644 index ab3559e..0000000 --- a/sys-apps/openrc/files/0.4.2/0001-msg-style.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 1eddb56f11b41c4bf4f878c995c5d140b1f9d44d Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <vapier@gentoo.org> -Date: Mon, 24 Mar 2008 01:48:19 -0400 -Subject: [PATCH] This reverts commit 0e2f160c95b15e95f3885e3f5a3670ec5ae0a709. 2 spaces in 80 cols has never made any sort of realistic difference and we're not going to change this behavior in Gentoo. - ---- - src/libeinfo/libeinfo.c | 9 +++------ - 1 files changed, 3 insertions(+), 6 deletions(-) - -diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c -index f8ddcb5..c46cacb 100644 ---- a/src/libeinfo/libeinfo.c -+++ b/src/libeinfo/libeinfo.c -@@ -787,7 +787,7 @@ static void _eend(FILE * __EINFO_RESTRICT fp, int col, ECOLOR color, - if (! msg) - return; - -- cols = get_term_columns(fp) - (strlen(msg) + 3); -+ cols = get_term_columns(fp) - (strlen(msg) + 5); - - /* cons25 is special - we need to remove one char, otherwise things - * do not align properly at all. */ -@@ -801,18 +801,15 @@ static void _eend(FILE * __EINFO_RESTRICT fp, int col, ECOLOR color, - if (term_is_cons25) - cols--; - -- /* If extra spacing is required around msg, then please change -- * via a runtime knob and leave this default as is as it saves 2 -- * valuable columns when running on 80 column screens. */ - if (cols > 0 && colour_terminal(fp)) { -- fprintf(fp, "%s%s %s[%s%s%s]%s\n", up, tgoto(goto_column, 0, cols), -+ fprintf(fp, "%s%s %s[%s %s %s]%s\n", up, tgoto(goto_column, 0, cols), - ecolor(ECOLOR_BRACKET), ecolor(color), msg, - ecolor(ECOLOR_BRACKET), ecolor(ECOLOR_NORMAL)); - } else { - if (col > 0) - for (i = 0; i < cols - col; i++) - fprintf(fp, " "); -- fprintf(fp, " [%s]\n", msg); -+ fprintf(fp, " [ %s ]\n", msg); - } - } - --- -1.5.4.4 - |