Hi,
after updating our ksh packages, we've found a regression. Last working
version is 2010-06-21. 2010-07-01 and newer versions reproduce this
regression. ksh just stops execution without any error, crash or
anything. Exit code is zero.
Reproducer:
#!/bin/ksh
function fun1
{
/bin/true
cd - >/dev/null 2>&1
print -u2 -- "$(/bin/date) SUCCESS"
}
echo $(fun1 )
2010-06-21 (and older) prints SUCCESS, 2010-07-21 prints nothing. Adding
set -x shows that /bin/date is last command executed.
Michal
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers