Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/fish/files: fish-1.23.1-fish_indent.patch
Date: Sat, 27 Nov 2010 23:28:12
Message-Id: 20101127232806.8FCB420054@flycatcher.gentoo.org
1 xmw 10/11/27 23:28:06
2
3 Added: fish-1.23.1-fish_indent.patch
4 Log:
5 Revbump to optionally include identation patch
6
7 (Portage version: 2.1.9.24/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-shells/fish/files/fish-1.23.1-fish_indent.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/files/fish-1.23.1-fish_indent.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/fish/files/fish-1.23.1-fish_indent.patch?rev=1.1&content-type=text/plain
14
15 Index: fish-1.23.1-fish_indent.patch
16 ===================================================================
17 --- orig/fish_indent.c 2010-11-23 02:34:55.000000000 -0700
18 +++ fish-1.23.1/fish_indent.c 2010-11-23 02:35:29.000000000 -0700
19
20
21 @@ -171,23 +171,23 @@
22 case TOK_REDIRECT_IN:
23 case TOK_REDIRECT_FD:
24 {
25 - sb_append( out, last );
26 + /* sb_append( out, last ); */
27 switch( type )
28 {
29 case TOK_REDIRECT_OUT:
30 - sb_append( out, L"> " );
31 + sb_append( out, L" > " );
32 break;
33
34 case TOK_REDIRECT_APPEND:
35 - sb_append( out, L">> " );
36 + sb_append( out, L" >> " );
37 break;
38
39 case TOK_REDIRECT_IN:
40 - sb_append( out, L"< " );
41 + sb_append( out, L" < " );
42 break;
43
44 case TOK_REDIRECT_FD:
45 - sb_append( out, L">& " );
46 + sb_append( out, L" >& " );
47 break;
48
49 }