wok-undigest rev 378

busybox/conspy: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 16 18:07:15 2011 +0200 (2011-08-16)
parents c4bd5d67c5f1
children 37eeef244847
files busybox/stuff/busybox-1.19-conspy.u
line diff
     1.1 --- a/busybox/stuff/busybox-1.19-conspy.u	Tue Aug 16 18:01:18 2011 +0200
     1.2 +++ b/busybox/stuff/busybox-1.19-conspy.u	Tue Aug 16 18:07:15 2011 +0200
     1.3 @@ -89,7 +89,7 @@
     1.4   #define FLAG(x) (1 << FLAG_##x)
     1.5   #define BW (option_mask32 & FLAG(n))
     1.6   
     1.7 -+static void putsci(const char *s)
     1.8 ++static void putcsi(const char *s)
     1.9  +{
    1.10  +	fputs(ESC"[", stdout);
    1.11  +	fputs(s, stdout);
    1.12 @@ -99,7 +99,7 @@
    1.13   {
    1.14   	// Home, clear till end of screen
    1.15  -	fputs(ESC"[1;1H" ESC"[J", stdout);
    1.16 -+	putsci("1;1H" ESC"[J");
    1.17 ++	putcsi("1;1H" ESC"[J");
    1.18   	G.col = G.line = 0;
    1.19   }
    1.20   
    1.21 @@ -108,7 +108,7 @@
    1.22   	if (G.curoff != state) {
    1.23   		G.curoff = state;
    1.24  -		fputs(ESC"[?25", stdout);
    1.25 -+		putsci("?25");
    1.26 ++		putcsi("?25");
    1.27   		bb_putchar("h?l"[1 + state]);
    1.28   	}
    1.29   }
    1.30 @@ -128,7 +128,7 @@
    1.31   	// Reset attributes
    1.32   	if (!BW)
    1.33  -		fputs(ESC"[0m", stdout);
    1.34 -+		putsci("0m");
    1.35 ++		putcsi("0m");
    1.36   	bb_putchar('\n');
    1.37  -	if (code > 1)
    1.38  +	if (code > EXIT_FAILURE)
    1.39 @@ -185,7 +185,7 @@
    1.40   				ptr[-1] = 'm';
    1.41   				*ptr = '\0';
    1.42  -				fputs(G.attrbuf, stdout);
    1.43 -+				putsci(G.attrbuf);
    1.44 ++				putcsi(G.attrbuf);
    1.45   			}
    1.46   		}
    1.47   	}