Thanks Werner.  I haven't been able to reproduce this but I think changing
that line to the following might fix it.

assignment = 1 + !strcmp(argp->argval,"alias");

Let me know.



On Tue, Apr 29, 2014 at 6:07 AM, Dr. Werner Fink <[email protected]> wrote:

> The alias problem is a side effect of
>
> --- ksh93/src/cmd/ksh93/sh/parse.c.alias
> +++ ksh93/src/cmd/ksh93/sh/parse.c
> @@ -1545,7 +1545,7 @@ static Shnode_t *simple(Lex_t *lexp,int
>                                 {
>                                         if(nv_isattr(np,BLT_DCL))
>                                         {
> -                                               assignment =
> 1+(*argp->argval=='a');
> +                                               assignment = 1;
>                                                 if(np==SYSTYPESET)
>                                                         lexp->intypeset =
> 1;
>                                                 else if(np==SYSENUM)
>
> without this change the alias error is gone.  Could be related to the
> release entry
>
>   14-04-05  A bug in which type name starting with the letter a, did not
>             allow instances to be created has been fixed.
>
>
> On Tue, Apr 29, 2014 at 11:51:54AM +0200, Werner Fink wrote:
> > On Fri, Apr 18, 2014 at 12:54:19AM -0400, Glenn Fowler wrote:
> > > try again
> >
> > Now a lot of errors are shown like
> >
> >        err_exit: alias not found
> >
> >        test alias failed at 2014-04-29+08:56:16 with exit code 10 [ 23
> tests 10 errors ]
> >        test alias(C.UTF-8) failed at 2014-04-29+09:35:06 with exit code
> 10 [ 23 tests 10 errors ]
> >        test alias(shcomp) failed at 2014-04-29+09:35:06 with exit code
> 10 [ 23 tests 10 errors ]
> >
> >        test builtins failed at 2014-04-29+08:58:42 with exit code 1 [
> 191 tests 1 error ]
> >        test builtins(C.UTF-8) failed at 2014-04-29+09:37:45 with exit
> code 1 [ 191 tests 1 error ]
> >        test builtins(shcomp) failed at 2014-04-29+09:37:58 with exit
> code 1 [ 191 tests 1 error ]
> >
> >        test glob begins at 2014-04-29+09:19:36
> >        err_exit: alias not found
> >        test_glob: alias not found
> >        test_case: alias not found
> >                glob.sh[<a>] <abc> <abd> <abe> <X*> glob -- expected 'a',
> got '<abc> <abd> <abe> <X*>'
> >        [...]
> >        test glob failed at 2014-04-29+09:19:36 with exit code 125 [ 5
> tests 125 errors ]
> >        [...]
> >        test glob(C.UTF-8) failed at 2014-04-29+09:19:36 with exit code
> 125 [ 5 tests 125 errors ]
> >        [...]
> >        test glob(shcomp) failed at 2014-04-29+09:19:36 with exit code
> 125 [ 5 tests 125 errors ]
> >
> >        test options failed at 2014-04-29+09:40:24 with exit code 1 [ 149
> tests 1 error ]
> >        test options(C.UTF-8) failed at 2014-04-29+09:40:30 with exit
> code 1 [ 149 tests 1 error ]
> >        test options(shcomp) failed at 2014-04-29+09:40:35 with exit code
> 1 [ 149 tests 1 error ]
> >
> > the io.sh can not used precompiled
> >
> >        test io(shcomp) failed at 2014-04-29+09:20:01 with exit code 269
> [ 99 tests 269 errors ]
> >
> > and still the memory management seems to be buggy (IMHO) as the builtin
> poll fails
> > with a crash:
> >
> >        test builtin_poll failed at 2014-04-29+08:58:29 with exit code
> 267 [ 27 tests 267 errors ]
> >
> > as well as
> >
> >        test comvario(shcomp) failed at 2014-04-29+09:38:04 with exit
> code 267 [ 74 tests 267 errors ]
> >
> >        test heredoc(C.UTF-8) failed at 2014-04-29+09:39:51 with exit
> code 267 [ 42 tests 267 errors ]
> >        test heredoc(shcomp) failed at 2014-04-29+09:39:51 with exit code
> 267 [ 42 tests 267 errors ]
> >
> > which is detected if glibc memory managment is enabled.
> >
> > Beside this the bugs about the doubled free()/sfclose() I reported are
> still
> > there:
> >
> >        /tmp/ksh-build.6zJUbh/bin/ksh ./eso_boot.mod.sh
> >        /var/tmp/rpm-tmp.52364: line 375:  3235 Segmentation fault
>  ${SHELL} ./eso_boot.mod.sh
> >
> > --
> >   "Having a smoking section in a restaurant is like having
> >           a peeing section in a swimming pool." -- Edward Burr
>
>
>
> > _______________________________________________
> > ast-users mailing list
> > [email protected]
> > http://lists.research.att.com/mailman/listinfo/ast-users
>
>
> --
>  Dr. Werner Fink -- Software Engineer Consultant
>  SuSE LINUX Products GmbH,  Maxfeldstrasse 5,  Nuernberg,  Germany
>  GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer,  HRB 21284 (AG
> Nuernberg)
>  phone: +49-911-740-53-0,  fax: +49-911-3206727,  www.opensuse.org
> ------------------------------------------------------------------
>   "Having a smoking section in a restaurant is like having
>           a peeing section in a swimming pool." -- Edward Burr
>
> _______________________________________________
> ast-users mailing list
> [email protected]
> http://lists.research.att.com/mailman/listinfo/ast-users
>
>
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to