Hello community,

here is the log from the commit of package ksh for openSUSE:Factory checked in 
at 2012-06-06 18:02:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksh (Old)
 and      /work/SRC/openSUSE:Factory/.ksh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksh", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksh/ksh.changes  2012-05-26 13:09:20.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.ksh.new/ksh.changes     2012-06-06 
18:02:36.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Jun  6 12:16:52 UTC 2012 - [email protected]
+
+- Do not ignore backslashes/escapes for read builtin (bnc#765171) 
+
+-------------------------------------------------------------------

New:
----
  ksh93-read-dont-ignore-esc.dif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ksh.spec ++++++
--- /var/tmp/diff_new_pack.BNN1sU/_old  2012-06-06 18:02:38.000000000 +0200
+++ /var/tmp/diff_new_pack.BNN1sU/_new  2012-06-06 18:02:38.000000000 +0200
@@ -108,6 +108,7 @@
 Patch23:        ksh93-foreground-prgrp.dif
 Patch24:        ksh93-builtin.dif
 Patch25:        ksh93-vmleak.dif
+Patch26:        ksh93-read-dont-ignore-esc.dif
 Patch42:        ksh-locale.patch
 
 %description
@@ -189,6 +190,7 @@
 %patch23
 %patch24
 %patch25
+%patch26
 
 %build
   #

++++++ ksh93-read-dont-ignore-esc.dif ++++++
--- src/cmd/ksh93/bltins/read.c
+++ src/cmd/ksh93/bltins/read.c 2012-06-04 09:58:53.848644056 +0200
@@ -570,7 +570,13 @@ int sh_readline(register Shell_t *shp,ch
                    case S_QUOTE:
                        c = shp->ifstable[*cp++];
                        inquote = !inquote;
-                       goto skip;
+                       if(val)
+                       {
+                               stakputs(val);
+                               use_stak = 1;
+                               *val = 0;
+                       }
+                       continue;
                    case S_ESC:
                        /* process escape character */
                        if((c = shp->ifstable[*cp++]) == S_NL)
@@ -582,6 +588,7 @@ int sh_readline(register Shell_t *shp,ch
                        {
                                stakputs(val);
                                use_stak = 1;
+                               was_escape = 1;
                                *val = 0;
                        }
                        continue;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to