Hello community,

here is the log from the commit of package ksh for openSUSE:Factory
checked in at Tue Apr 5 08:31:10 CEST 2011.



--------
--- ksh/ksh.changes     2010-10-27 14:15:30.000000000 +0200
+++ /mounts/work_src_done/STABLE/ksh/ksh.changes        2011-03-04 
16:42:44.000000000 +0100
@@ -1,0 +2,10 @@
+Fri Mar  4 16:15:16 CET 2011 - [email protected]
+
+- Avoid to export local variables from real subshells
+
+-------------------------------------------------------------------
+Tue Feb 22 13:04:48 UTC 2011 - [email protected]
+
+- Make shell functions POSIX compliant (bnc#661875) 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  ksh93-argv0.dif
  ksh93-export.dif

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

Other differences:
------------------
++++++ ksh.spec ++++++
--- /var/tmp/diff_new_pack.CSicxF/_old  2011-04-05 08:28:54.000000000 +0200
+++ /var/tmp/diff_new_pack.CSicxF/_new  2011-04-05 08:28:54.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package ksh (Version 93t)
+# spec file for package ksh
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,7 +37,7 @@
 %endif
 AutoReqProv:    on
 Version:        93t
-Release:        183
+Release:        190
 Summary:        Korn Shell
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         INIT.2010-06-21.tar.bz2
@@ -71,6 +71,8 @@
 Patch17:        ksh93-ifs.dif
 Patch18:        ksh93-fdfn.dif
 Patch19:        ksh93-fdleak.dif
+Patch20:        ksh93-argv0.dif
+Patch21:        ksh93-export.dif
 %global         use_suid_exe 0
 %global         use_locale 1
 %global         debug_memleak 0
@@ -141,6 +143,8 @@
 %patch17
 %patch18
 %patch19
+%patch20
+%patch21
 
 %build
   typeset -i IGNORED=0x$(ps --no-headers -o ignored $$)

++++++ ksh93-argv0.dif ++++++
--- src/cmd/ksh93/bltins/misc.c
+++ src/cmd/ksh93/bltins/misc.c 2011-02-22 13:03:35.783936889 +0000
@@ -273,7 +273,6 @@ int    b_dot_cmd(register int n,char *ar
        shp->st.self = &savst;
        shp->topscope = (Shscope_t*)shp->st.self;
        prevscope->save_tree = shp->var_tree;
-       shp->st.cmdname = argv[0];
        if(np)
                shp->st.filename = np->nvalue.rp->fname;
        nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE);
++++++ ksh93-export.dif ++++++
--- src/cmd/ksh93/sh/subshell.c
+++ src/cmd/ksh93/sh/subshell.c 2011-03-04 15:13:49.867926146 +0000
@@ -235,7 +235,7 @@ Namval_t *sh_assignok(register Namval_t
        if(!sp->shpwd || np==SH_LEVELNOD || np==L_ARGNOD || np==SH_SUBSCRNOD || 
np==SH_NAMENOD)
                return(np);
        /* don't bother to save if in newer scope */
-       if(sp->var!=shp->var_tree && shp->last_root==shp->var_tree)
+       if(sp->var!=shp->var_tree && sp->var!=shp->var_base && 
shp->last_root==shp->var_tree)
                return(np);
        if((ap=nv_arrayptr(np)) && (mp=nv_opensub(np)))
        {

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to