Red Hat Bugzilla – Bug 4015
Incorrect return value given by eval
Last modified: 2008-05-01 11:37:51 EDT
Create the following program:
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
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.
pdksh-5.2.14 is in Raw Hide.