It's a python script. It's from rpmdevtools rpm and it has several dependencies.

On 03/14/2012 01:28 PM, Glenn Fowler wrote:

thanks
is rpmdev-vercmp an a.out or a #! script of some sort?

On Wed, 14 Mar 2012 12:22:19 +0100 Michal Hlavinka wrote:
I found regression in ksh. One my script hang and ksh started to eat
memory very quickly. This happens with ksh 2012-01-01 and newer, ksh
2011-06-30 works fine. I found it only now, because the script causing
this is the script that updates ksh package to newer version.

This is simplified reproducer:
#!/bin/ksh
latestver()
{
      rpmdev-vercmp 20120214 20120229>/dev/null
}

echo $(latestver)

but it depends on rpmdev-vercmp, so I don't know how much useful it is
for you.

When I remove /dev/null redirection or when I call latestver directly,
it works fine.

Attached are two strace outputs. kshbroken.log was obtained with
2012-02-29, kshworking.log was obtained with 2011-06-30.

Michal
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to