Hello community,

here is the log from the commit of package ksh for openSUSE:Factory checked in 
at 2013-03-01 07:23:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2013-02-17 17:04:18.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.ksh.new/ksh.changes     2013-03-01 
07:23:47.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 28 13:10:09 UTC 2013 - [email protected]
+
+- Add patch ksh93-heredoclex.dif: substitution in here-document
+  results in syntax error (bnc#804998)
+
+-------------------------------------------------------------------

New:
----
  ksh93-heredoclex.dif

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

Other differences:
------------------
++++++ ksh.spec ++++++
--- /var/tmp/diff_new_pack.nE4vvC/_old  2013-03-01 07:23:48.000000000 +0100
+++ /var/tmp/diff_new_pack.nE4vvC/_new  2013-03-01 07:23:48.000000000 +0100
@@ -122,6 +122,8 @@
 Patch30:        ksh93-pathtemp.dif
 # PATCH-FIX-UPSTREAM ksh93-dttree-crash.dif [bnc#795324]
 Patch31:        ksh93-dttree-crash.dif
+# PATCH-FIX-UPSTREAM ksh93-heredoclex.dif [bnc#804998]
+Patch32:        ksh93-heredoclex.dif
 Patch42:        ksh-locale.patch
 
 %description
@@ -207,6 +209,7 @@
 %patch29
 %patch30
 %patch31
+%patch32
 
 %build
   #

++++++ ksh93-heredoclex.dif ++++++
--- src/cmd/ksh93/sh/lex.c
+++ src/cmd/ksh93/sh/lex.c      2013-02-26 12:21:11.618820739 +0100
@@ -1559,6 +1559,7 @@ static int comsub(register Lex_t *lp, in
        register int    line=lp->sh->inlineno;
        char *first,*cp=fcseek(0),word[5];
        int off, messages=0, assignok=lp->assignok, csub;
+       struct ionod *inheredoc = lp->heredoc;
        struct lexstate save;
        save = lp->lex;
        csub = lp->comsub;
@@ -1683,7 +1684,7 @@ done:
        lp->lexd.dolparen--;
        lp->lex = save;
        lp->assignok = (endchar(lp)==RBRACT?assignok:0);
-       if(lp->heredoc)
+       if(lp->heredoc && !inheredoc)
                
errormsg(SH_DICT,ERROR_exit(SYNBAD),e_lexsyntax5,lp->sh->inlineno,lp->heredoc->ioname);
        return(messages);
 }
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to