Description of problem: ksh $? not set correctly Version-Release number of selected component (if applicable): $ /bin/ksh --version version sh (AT&T Research) 93t 2008-11-04 How reproducible: Always Steps to Reproduce: $ cat ksh-test #!/bin/ksh findprocesspid() { pid="`cat /dev/null`" if [ "${pid}" = "" ]; then false else echo "${pid}" true fi } findprocesspid echo $? pid=`findprocesspid ` echo $? $pid Actual results: $ /bin/ksh ksh-test 1 0 Expected results: $ /mnt/ubuntu/bin/ksh93 --version version sh (AT&T Research) 93s+ 2008-01-31 $ /mnt/ubuntu/bin/ksh93 ksh-test 1 1 Additional info: Official build of ksh version 93t works as expected.
thanks, confirmed. Version 2008-11-04 is broken, 2008-12-12 works.
ksh-20081212-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/ksh-20081212-1.fc11
ksh-20081212-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ksh'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8094
ksh-20081212-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.