Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 36651680
en ru br
ALT Linux repos
S:1.1.1-alt2
5.0: 1.0.3-alt1
4.1: 1.0.2-alt1
4.0: 1.0.2-alt1

Group :: System/X11
RPM: luit

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: luit-1.0.1-alt-fix-ls.patch
Download


--- luit-1.0.1/iso2022.c.alt-fix-ls	2007-04-03 10:42:44 +0400
+++ luit-1.0.1/iso2022.c	2007-04-03 11:12:20 +0400
@@ -631,8 +631,10 @@ copyOut(Iso2022Ptr is, int fd, unsigned 
                 } else if(*s == CSI && CHARSET_REGULAR(GR(is))) {
                     buffer(is, *s++);
                     is->parserState = P_CSI;
-                } else if((*s == SS2 || *s == SS3 || *s == LS0 || *s == LS1) &&
-                          CHARSET_REGULAR(GR(is))) {
+                } else if(((*s == SS2 || *s == SS3) &&
+                           CHARSET_REGULAR(GR(is))) ||
+                          ((*s == LS0 || *s == LS1) &&
+                           CHARSET_REGULAR(GL(is)))) {
                     buffer(is, *s++);
                     terminate(is, fd);
                     is->parserState = P_NORMAL;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin