On Thu, Sep 18, 2008 at 10:10:48AM -0400, Glenn Fowler wrote:
> 
> the patch I just applied mirrors the other loop in sh/nvtype.c
> 
> -                       while(nodes[i+1] && (cp=nodes[i+1]->nvname) && 
> memcmp(cp,np->nvname,n)==0 && cp[n]=='.')
> +                       while((i+1) < numnodes && (cp=nodes[i+1]->nvname) && 
> memcmp(cp,np->nvname,n)==0 && cp[n]=='.')
> 
> On Thu, 18 Sep 2008 16:00:09 +0200 Dr. Werner Fink wrote:
> > It seems that my patch opens an other `accessed memory outside the ksh'.
> 
> >   test pointtype.sh begins at 2008-09-18+11:16:47
> >   shtests: line 91: 29619: Memory fault
> >   test pointtype.sh failed at 2008-09-18+11:16:48 with exit code 267 [ 26 
> > tests 267 errors ]

Hmmm .. now its becomes worse:

  test cubetype.sh begins at 2008-09-18+14:46:46
          cubetype.sh[112]: $c not correct
  cubetype.sh: line 90: z: is not an element of c
          cubetype.sh[114]: ${c.depth} != 1
  cubetype.sh: line 94: z: is not an element of c
  cubetype.sh: line 118: P]f: invalid variable name
  test cubetype.sh failed at 2008-09-18+14:46:46 with exit code 1 [ 65 tests 1 
error ]

  test pointtype.sh begins at 2008-09-18+14:46:55
  shtests: line 91: 24131: Memory fault
  test pointtype.sh failed at 2008-09-18+14:46:56 with exit code 267 [ 26 tests 
267 errors ]

  test recttype.sh begins at 2008-09-18+14:46:58
  shtests: line 91: 24153: Bus error
  test recttype.sh failed at 2008-09-18+14:46:58 with exit code 263 [ 8 tests 
263 errors ]

... it looks like something principle is wrong :(

       Werner

-- 
  "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]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to