Create the following program: #!/bin/ksh exit 1 Entering eval `prog` should return 1, but it returns 0. Version of ksh: PD KSH v5.2.12 96/10/29
Try upgrading to the latest version of pdksh (5.2.13) and see if that affects the outcome. Reopen this bug if you are still having problems.
I tried installing an updated RPM (version 5.2.13) which also gave the same results. After trawling the news groups, I found the answer. on the PD KSH web site, they have noted the problem and issued a revised version (5.2.14). This is obviously not in a RPM, but it compiles and installs easily. It has also solved my problem. ( Go to http://www.cs.mun.ca/~michael/pdksh/ for further information )
This issue has been forwarded to a developer for further action. Thanks.
pdksh-5.2.14 is in Raw Hide.